shadow system : GOM
Community Forums/Showcase/shadow system : GOM
| ||
Hauvent & Philippe C. You find enclosed a link to a free source code for a shadow system library for less than 20 3Dobjects in the same time and small terrain. This library is done in blitZ3d. It is not perfect , but it is a good starting point. If you want improve it , do it. For more information download the demos and source code : http://perso.wanadoo.fr/philippe.c/#GOM This project is based on the code developped by this 2 people : - jfk EO-11110 http://www.blitzbasic.com/codearcs/codearcs.php?code=434 - Mikkel Fredborg http://www.blitzbasic.com/codearcs/codearcs.php?code=1010 Without the code published by this 2 people this library will never exist. Thanks to them. To do this libray we have mixed the 2 approachs : JFK => create a quad to project the shadow. Fredbord => compute the texture uv in order to display the shadow texture. The documentation is provided in the zip file with the source code ![]() |
| ||
looks really nice Phillipe... thx... --Mike |
| ||
Looks good .... I noticed that sometimes the shadows disappeared and jump to their new location a few frames later. Not sure if this was meant as an optimisation? Stevie |
| ||
good job! |
| ||
Can I use this for static object? |
| ||
Looks a little bit like sswifts system but not quite. |
| ||
Boiled Sweets : yes you can use for static object => see demos |
| ||
@Stevie G i noticed this too it happens maily on demo04 and demo99. Also the shadows look out of place sometimes. Apart from that good job. |