i'm bored

Discuss the Wing Commander Series and find the latest information on the Wing Commander Universe privateer mod as well as the standalone mod Wasteland Incident project.
mkruer
Site Administrator
Site Administrator
Posts: 1089
Joined: Thu Jan 02, 2003 10:07 am
Contact:

Post by mkruer »

spiritplumber wrote:I'd generally like the asteroids to be WC3 style (big, sparse, not moving) and possibly blowuppable.... and hardware fog sounds like a great idea ^_^; also for nebulas...
want something to do?

Try this.

First compile all the Asteroids in
http://cvs.sourceforge.net/viewcvs.py/w ... Asteroids/
in single files with all the LOD’s

Second write a script to generate multiple sizes for the asteroids (scale the model) and apply simple physics to each asteroid created, a few will be big and lumbering, and require massive damage to destroy, and then there are more smaller asteroids, that can be destroyed.
I know you believe you understand what you think I said.
But I am not sure you realize that what you heard is not what I meant.

Wing Commander Universe Forum | Wiki
Wing Commander: The Wasteland Incident
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Good suggestion.
And I'd also suggest, rather than mixing them, to use spheroid asteroid for the big mf ones, ellipsoid for medium size, and oblates and complex for smallish ones.
The big, spheroid ones need a texture showing a lot of detail, many craters.
The medium and small can have textures that look like granite rock.
Also, that floating crap in space I otherwise hate so much, would be quite fitting to multiply in numbers within an asteroid field, to represent little pebbles to football size rocks your ship doesn't even feel. But the velocity of them has to be right, that is, it should help you judge the size and distance of the real asteroids, not conflict with the perception...
And hardware fog...
How do we access hardware fog, anyone?
Last edited by chuck_starchaser on Thu Aug 18, 2005 8:43 pm, edited 1 time in total.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

In the engine, I'm not sure.
In OGL, it's a stupidishly thing like glEnable(GL_FOG) (more or less).
But it gets complex since fog isn't present throughout the entire system, so when you get out of the fogish zone... what? in-between? that's tricky.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

But you can vary the fog in real time, so no sweat.
So, we gl_enable(GL_FOG) when we enter systems in which there's either nebulas or asteroids, but initially we max out visibility.
As you look at the asteroid field from the distance, we can put an alpha billboard through it so it looks foggy, and as you get closer we increase the amount of hardware fog dynamically.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

You just gave me a neat idea.
If I had the time to play with it...
Perhaps I'll just write the basics, and let someone else implement a proof of concept. But I'll do so when the concept has fully developed in my mind - it just popped when I read your post, so I can't really explain now.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply