Rendering light trail

Started by
1 comment, last by megatron244 16 years, 11 months ago
Hi All, I hope that I'm posting this question in the right place. I'm trying to add a light trail effect to moving objects. I know that the usuall trick, is to render blur/transparent textures. The problem is - how to easyly set the quad to be on the same plane as the "camera". Is there a simple method, or should I manually calculate the vertices of the quad (I do several transformations to the projection and the model/view matrices). Thanks in advance, Vince
Advertisement
I'd render the scene with no trail first, remember where each light was in SCREEN COORDINATES, change the projection matrix to an orthogonal one, then draw your trails.
This sounds like a nice idea, although the drawback is (i think) that it would be harder to handle the case where some of the light trail is obscured by other objects.

- Vince

This topic is closed to new replies.

Advertisement