News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Shadow Volume

Started by Farabi, February 26, 2012, 06:17:37 AM

Previous topic - Next topic

Farabi

Im trying to create a shadow volume from extended line from each vertex. But I dont know how to draw the shadow form it. Nehe OpenGL example is very fast, but unfortunately I cant understand it. Anyone know how to draw the shadow from the extended line? The extended light is the white line you see here.



PS: I tried to use Physic engine for this, but it much too slow since my model contain too much vertex, but that kind of vertex count should be a standard for current realtime technology.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Sorry for my lack of english. I mean, how to determine which vertex I need to draw to. I guess for creating the shadow I need to modify the texture on it. Unfortunately I cannot see the Stencil buffer so I dont know wheter is it right or wrong, Im only able to see the depth texture, but retrieving depth texture for the shadow is slow.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"