rendering lightnings

Started by
3 comments, last by gjaegy 16 years, 6 months ago
Hi, I am looking for a technique to achieve fast rendering of lightnings. I haven't found a lot of resource of the internet. I am targeting DX9 hardware. I have seen some nice implementation in the VIP2 demo (demo scene), although the lightnings don't have any branch. There is also a paper from Nishita, but it is more about cloud lighting. Does anyone knows some good technique to efficiently render lightnings ? Thanks for any help, Gregory
Gregory Jaegy[Homepage]
Advertisement
You could try to use a line-mesh built dynamically with a L-system.
Then use a glow effect for the L-system lighting bolt tree.

Doesnt look that bad http://www.selleri.org/Blender/tuts/Lightnings.pdf
and could be easily done realtime.
There's a pretty nice DX10 Lightning example in the latest NVIDIA SDK. You don't necessarily need a DX10 card to implement something similar.
You might want to have a look at this thread:
How to create a path for a lightning effect?
thank you guys for the answers. I will have a look at them.

Concerning the nvidia sample, I guess I can port it back to DX9 by moving the GS work to the CPU. I am going to see if that is possible or not (performance-wise).
Gregory Jaegy[Homepage]

This topic is closed to new replies.

Advertisement