game_maker
Knave
Saudi Arabia
83 Posts |
Posted - Apr 24 2004 : 2:56:10 PM
|
Hi
today I started something verrry intersting ,,, I think its called thunders (not sure really !) any way you can see it here :
http://axdteam.com/temp/thunder.jpg
About : a thunder class for ex13 its randomized around the terrain (it tooks me 5 minutes to capture the screen shot !) + you can control the time of (appearing & disapearing with rnd values also) & shape & size & every thing else I could think of ,,, soooo this is not the problem
hmmmm ,,,, at the beginning I made it by LineStrip then I change it to TraingleStrip (to improve it alittle ) ,,, I Also disabled lighting and fogging then I added a simple billboard rotation then appling alpha-blending thats all ...
But it Not realistic ,,, any ideas ?!! |
Edited by - game_maker on Apr 24 2004 2:58:43 PM
|
|
game_maker
Knave
Saudi Arabia
83 Posts |
Posted - Apr 24 2004 : 5:08:29 PM
|
again Hi
about the other thing (not the thunder) ie the light & sound between clouds ,,, thender is between cloud and earth ,,, anyway that (other thing) how can I design it ?! Is it by color(of the sky) or by light or by texture or by some volume complex things !!!
|
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Apr 24 2004 : 7:03:25 PM
|
"lightning" is the electricity, and "thunder" is the sound it makes.
Lightning isn't just a single line, its like a large tree structure. There should be many smaller branches off the large center line. If you want it to be realistic, then the lightning should be animated so that you see it "grow." |
|
|
cjb0087
Knave
Australia
76 Posts |
Posted - Apr 25 2004 : 8:01:04 PM
|
when lightning flashes,set the ambient light up for around .2 seconds, and make a REALLY loud BOOM sound |
www.bugsplat.tk |
|
|
game_maker
Knave
Saudi Arabia
83 Posts |
Posted - Apr 27 2004 : 3:50:52 PM
|
very nice ^^
branches is a good idea ,, and I am totally forgot about them ... therefore animation too ... the good thing about animation it's that all I need to do is simply increases the primatives acount from 0 to n (in the redering part),, so it won't be a problem at all
also setting the ambient light as long as the lighting exist with a random boolean value to randomize from current color to pure white would be a clever effect
thanks folks |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Apr 27 2004 : 4:07:54 PM
|
Hey Eric I see absolutely no point in making the lightning "grow". Just remember two physycs lessons: a) light speed is 300.000 metres per second b) the lighning actually doesn't come "from the clouds to the ground" but the opposite. Mainly about the first... I don't think the PC could draw something like 1,000 FPS so we can see the animation right? (assuming a 300 metres height) |
Whatever. Who knows... |
|
|
EACam
Warrior
154 Posts |
Posted - Apr 27 2004 : 4:10:32 PM
|
animating the lightning? I dunno, light isn't very slow. if you do animate it tho, it's gotta be animated between like 2 frames, or else it'll look cheap.
|
|
|
EACam
Warrior
154 Posts |
Posted - Apr 27 2004 : 4:14:37 PM
|
yup, that's 180,000 miles per second (in a vacuum)...what am i saying? everyone knows that ! Unless your world is made up of solid glass (light travels slowER in solids), you might want to forget animating it.
VBBR, Physics lessons? I learned that stuff in General Science |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Apr 27 2004 : 4:21:22 PM
|
Oh, wherever it is learned, anyway it IS physics isn't it...? Some topic called "electricity" (duh) Also light speed in the Earth atmosphere is something like 178k miles (or 297k meters) per second so it isn't much difference. |
Whatever. Who knows... |
|
|
game_maker
Knave
Saudi Arabia
83 Posts |
Posted - Apr 27 2004 : 5:15:30 PM
|
Intersting information ,,, actually I am a student of electrical engineering ,,,, we call clouds capacitors becouse they save electric energy (charges) and the reason for this is becouse of the "dielectric breakdown" .... from electrostatic subject but unfortunately I am very fresh engineer (second year )
I don't know actually the lighting shape exactly .... I rarly see it (( mostly it comes from cartoon ))
mayby 3 to 4 frames would be right ,,, its agood idea & I must to use it anyway
|
Edited by - game_maker on Apr 27 2004 5:40:19 PM |
|
|
Spodi
Warrior
USA
142 Posts |
Posted - Apr 27 2004 : 6:30:56 PM
|
Just have a few different lightning textures, then plop it onto the screen and increase the ambient light of everything. Just hold it like that for a second or two. That should be fine. |
vbGORE |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Apr 28 2004 : 09:39:37 AM
|
Lightning does not travel at the speed of light. The emitted light will travel at the speed of light in the current medium, which would be air, but the lightning does NOT propogate at the speed of light, because it is NOT light, it only gives off light. |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Apr 28 2004 : 10:57:20 AM
|
Humm... interesting. Lightning is really electricity, right? So what's the speed of the electricity in air?
(wait isn't it the same as light's? ...is there any physicist here?) |
Whatever. Who knows... |
|
|
EACam
Warrior
154 Posts |
Posted - Apr 28 2004 : 11:13:10 AM
|
Electricity is NOT the same as light. Electricity is essentially the movement of electrons, light is an electromagnetic wave. |
Edited by - EACam on Apr 28 2004 11:14:17 AM |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Apr 28 2004 : 11:33:58 AM
|
I know light <> electricity. I was just talking about the speed of electricity... I said "the same as light's" and not "the same as light" which means "the speed of electricity is the same speed that light has". Also I was asking if someone knows what is the speed of electricity... because I am not sure, I THINK it is the same as lightspeed.
Oh and one more thing, the lightning really travels very fast, because the big thunder sound we hear is due to the speed of the lightning that kinda "breaks" the air. |
Whatever. Who knows... |
Edited by - VBBR on Apr 28 2004 11:41:02 AM |
|
|
EACam
Warrior
154 Posts |
Posted - Apr 28 2004 : 11:57:49 AM
|
oh
Thunder is due to the lightning heating up the air around it rapidly (in about a millisecond) to extreme temperatures (1,000 degrees F or higher). This causes the air to rise extremely fast creating a vacuum beneath it...blah blah...which causes a gargantuan sound wave. Really awesome actually. God certainly knows how to show off...He got my attention. |
|
|