|
Re: Realistic Storm Cloud With Lightning Strikes!
[Re: Grafton]
#117522
03/23/07 06:40
03/23/07 06:40
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
Let me call you "rainman"! It's very good! Congrats!
mercuryus
|
|
|
Re: Realistic Storm Cloud With Lightning Strikes!
[Re: ]
#117523
03/23/07 08:18
03/23/07 08:18
|
Joined: Jun 2005
Posts: 656
Grafton
OP
User
|
OP
User
Joined: Jun 2005
Posts: 656
|
Thanks for the nice comments and the crits, maybe its almost "there"?
About the textures turning at certain angles with the camera: I was hoping this wasnt a noticable problem. There is a solution for it , but it is very code intensive and in this case would hurt the frame rate, so I left it out. In this demo, there are about 50 clouds of random proportions at any given time, but the effect on fps seems to be very minimal on my two machines. I still search for an easier solution to overcome gimbal lock. The lightning is the biggest frame killer. Each bolt has an average of 2200 particles that live over two frames. Last night I made a new bolt with which the branches sometimes have sub branches, but I am not sure it is really visually noticable during a flash, or worth the extra ~500 particles.
Any critique on the rain effect?
Also, I am very curious about what anyone else is getting as far as frame rate with this second demo. Is it really slow for anyone? (BTW, It auto adjusts itself to the current desktop resolution).
Thanks!
Not two, not one.
|
|
|
Re: Realistic Storm Cloud With Lightning Strikes!
[Re: Grafton]
#117524
03/25/07 14:39
03/25/07 14:39
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink

Expert
|

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
I would love to see this in contributions, I can really use that as is as an attack for an rpg i will be working on. how about adding a code to strike enemies onscreen,lol?
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: Realistic Storm Cloud With Lightning Strikes!
[Re: Blink]
#117525
03/25/07 15:49
03/25/07 15:49
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
The lightning is quite realistic aswell for the rain but offcourse it can still be improved but this is an know issue with each and every thing in a new game  I thing you make the rain look abit to "straight", what I mean with this is that you should give it a more random look. The lighting is perfect as it is, I wouldn't change anything more on that matter. One small detail is that you should make the camera movement stop at a sertain angle, I could tilt right under need the player  Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: Realistic Storm Cloud With Lightning Strikes!
[Re: checkbutton]
#117526
03/27/07 15:31
03/27/07 15:31
|
Joined: Aug 2003
Posts: 180 Reactor Core
NeutronBlue
Member
|
Member
Joined: Aug 2003
Posts: 180
Reactor Core
|
Quote:
Well as a lightning discharges from bottom to top, it isn't that wrong.
For a "Ground Strike" actually, "Step Leaders" (Charged Particles) travel from the ground towards the cloud, and from the cloud towards the ground where the potential difference is the highest. (A lot of one charge in the clouds, usually positive - and a lot of the opposite charge on the ground, usually negative...Charge polarities are not *always* of one type for the ground or cloud.)
As the Step Leaders travel, they leave a charged/ionized trail as their 'wake'.
When the two Step Leaders meet (being of opposite charge they are attracted to each other) they complete the "circuit" and a lightning strike is discharged through the charged trail.
P.S. In my lightning routine (posted May 2001 - boy is *that* old!) I used particles. Don't forget to set max_particles to like 10000 before the level_load statement, or on multiple strikes you'll get incomplete bolts/forks - as once you exceed max_particles the older particles will be removed before you want them removed, so that newer particles can be created...
- Neut.
|
|
|
NEW IMPROVED Realistic Storm!
[Re: NeutronBlue]
#117527
03/27/07 20:54
03/27/07 20:54
|
Joined: Jun 2005
Posts: 656
Grafton
OP
User
|
OP
User
Joined: Jun 2005
Posts: 656
|
Thanks NeutronBlue. The average particles per bolt is about 2200, but may be more if the clouds where higher or the number of branches greater. In this example, I have more strikes going on than you would probably use in a game. Still working on making it better... I havent heard anyone mention frame rate, I suppose thats a good thing?
Not two, not one.
|
|
|
|