shadow system : GOM

Community Forums/Showcase/shadow system : GOM

Pedro(Posted 2006) [#1]
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




Red Ocktober(Posted 2006) [#2]
looks really nice Phillipe... thx...

--Mike


Stevie G(Posted 2006) [#3]
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


jfk EO-11110(Posted 2006) [#4]
good job!


Boiled Sweets(Posted 2006) [#5]
Can I use this for static object?


Braincell(Posted 2006) [#6]
Looks a little bit like sswifts system but not quite.


Pedro(Posted 2006) [#7]
Boiled Sweets : yes you can use for static object => see demos


Diablo(Posted 2006) [#8]
@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.