It is possible to replace EntityVisible ?

Blitz3D Forums/Blitz3D Programming/It is possible to replace EntityVisible ?

Hi :)

I'm trying a shadow mapper for terraed and i have try to
scan my map and use entityvisible but it's very very slow !

is there a math replacement ?

What about using a linepick, instead?

Filax,

In response to your post on the code archives.....

The basic shadow mapper that I posted only really works with heightmaps. If you need to map objects you're gonna have to go the raytrace method or something similar.

I've a newer version of the code I posted which also lights the terrain according to the terrain normals and their direction with regard to the direction of the sun.

They now look like this :-


This image was rendered in under 500ms

Whoaouuu ! very impressive !

Do you want to see the code?

If anyone wants the code... Go Here: http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=1004

Thanks ! i go see it :)