[ODE] Using rays to generate a light/shadow map

Shamyl Zakariya shamyl at zakariya.net
Wed Nov 3 15:09:40 MST 2004


Outside of this particular use, I've had excellent luck colliding 
arbitrary rays against trimeshes. Also, when the shadowing does work ( 
e.g., on the second load ) it looks correct.

So I'm not too worried about the collision accuracy, just the fact that 
it doesn't work until the game has run once.

On Nov 3, 2004, at 2:00 PM, John Miles wrote:

> Even after you've solved your present difficulties, you still won't be 
> able
> to use ODE / OPCODE's rays for anything lighting-related.  They don't
> collide reliably with triangle edges.
>
> -- jm
>
>> A peculiar turn of events:
>>
>> I did some deeper investigation and was able to determine that my code
>> was at fault, in one way at least. It was generating incorrect x,y
>> positions on the map for use in casting the rays. So, fine, I fixed 
>> it.
>> Now, things get weird.
>>
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list