Old 12th July 2005, 18:45   #1
Burningwing
Junior Member
 
Join Date: Jul 2003
Location: Sweden
Posts: 17
how does it work?

how does the overlay mode work in avs? im trying to do the same in vb but i can just make it draw over the icons not under??
Burningwing is offline   Reply With Quote
Old 13th July 2005, 16:20   #2
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
duh? are you asking the internal working of the overlay mode or what?


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 14th July 2005, 14:15   #3
Burningwing
Junior Member
 
Join Date: Jul 2003
Location: Sweden
Posts: 17
im just asking how does it work is it a api is it direct x or is it some thing else just a short description of what AVS does to paint under the icons
Burningwing is offline   Reply With Quote
Old 14th July 2005, 15:47   #4
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,095
Overlay mode sets your wallpaper to a certain color (if you select that), then 'pastes' the information in the AVS window over that color.

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 15th July 2005, 12:55   #5
Burningwing
Junior Member
 
Join Date: Jul 2003
Location: Sweden
Posts: 17
aha tnx got some understading now of how it works
Burningwing is offline   Reply With Quote
Old 15th July 2005, 14:10   #6
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,173
Yeah, you basicly select a color of your choice and overlay mode "paints" the current AVS window to every color of that particular choice (even in the avs window itself, but that doesn't create any "infinite loop" effect). The current windowed mode resolution is used for the overlay and then streched for your current resolution.

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 18th July 2005, 11:26   #7
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,150
Send a message via ICQ to jheriko
You want to look on msdn it has all the answers.

The easy answer is you want to use OpenGL or DirectX as both have functionality for rendering on top of their existing functionality. I also assume there is a lower level API available which may be tidier to use... but without function names I cant really help with that.

Since I hate DirectX for various reasons I dont know much about the DX implementation. Under OpenGL however, rendering to the overlay is pretty simple tho, you just have to specify it in the PIXELFORMATDESCRIPTOR struct you assign to your drawing surface and use a different wgl function (wglCreateLayerContext) to get your render context.

There are plenty of details on places like msdn and in the OpenGL specification for instance.

Good luck doing it in VB, the lack of pointers makes a lot of API work quite frustrating. I'd recommend getting the c++ opengl headers and writing a small VB program or SQL statement to convert the function defininitions to VB Declare statements and the #defines to Public Const... etc.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump