Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 How can I improve this graphically (thunders)
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

game_maker
Knave

Saudi Arabia
83 Posts

Posted - Apr 24 2004 :  2:56:10 PM  Show Profile  Visit game_maker's Homepage  Reply with Quote
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  Show Profile  Visit game_maker's Homepage  Reply with Quote
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 !!!

Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Apr 24 2004 :  7:03:25 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
"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."
Go to Top of Page

cjb0087
Knave

Australia
76 Posts

Posted - Apr 25 2004 :  8:01:04 PM  Show Profile  Visit cjb0087's Homepage  Reply with Quote
when lightning flashes,set the ambient light up for around .2 seconds, and make a REALLY loud BOOM sound

www.bugsplat.tk
Go to Top of Page

game_maker
Knave

Saudi Arabia
83 Posts

Posted - Apr 27 2004 :  3:50:52 PM  Show Profile  Visit game_maker's Homepage  Reply with Quote
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
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Apr 27 2004 :  4:07:54 PM  Show Profile  Reply with Quote
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...
Go to Top of Page

EACam
Warrior

154 Posts

Posted - Apr 27 2004 :  4:10:32 PM  Show Profile  Reply with Quote
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.

Go to Top of Page

EACam
Warrior

154 Posts

Posted - Apr 27 2004 :  4:14:37 PM  Show Profile  Reply with Quote
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
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Apr 27 2004 :  4:21:22 PM  Show Profile  Reply with Quote
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...
Go to Top of Page

game_maker
Knave

Saudi Arabia
83 Posts

Posted - Apr 27 2004 :  5:15:30 PM  Show Profile  Visit game_maker's Homepage  Reply with Quote
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
Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 27 2004 :  6:30:56 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
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
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Apr 28 2004 :  09:39:37 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
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.
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Apr 28 2004 :  10:57:20 AM  Show Profile  Reply with Quote
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...
Go to Top of Page

EACam
Warrior

154 Posts

Posted - Apr 28 2004 :  11:13:10 AM  Show Profile  Reply with Quote
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
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Apr 28 2004 :  11:33:58 AM  Show Profile  Reply with Quote
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
Go to Top of Page

EACam
Warrior

154 Posts

Posted - Apr 28 2004 :  11:57:49 AM  Show Profile  Reply with Quote
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.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.14 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.