Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: FreeTerran on June 09, 2003, 07:12:37 am

Title: DOTA planets
Post by: FreeTerran on June 09, 2003, 07:12:37 am
In the DOTA mod exist many planes as an 3D model here are some screenshots:

(http://swooh.com/peon/FreeTerran/Screenshots/planet_1.jpg)
From left the NEPTUN, EARTH and MARS

(http://swooh.com/peon/FreeTerran/Screenshots/planet_2.jpg)
From left JUPITER, NEPTUN and EARTH

(http://swooh.com/peon/FreeTerran/Screenshots/planet_3.jpg)
The mars moon PHOBOS

(http://swooh.com/peon/FreeTerran/Screenshots/planet_4.jpg)
The PLUTO

(http://swooh.com/peon/FreeTerran/Screenshots/planet_5.jpg)
The pluto moon CHARON
Title: DOTA planets
Post by: RandomTiger on June 09, 2003, 07:17:19 am
How are you implementing that?
Are they reachable?
What is the advantage of using 3D models?
Title: DOTA planets
Post by: Sigma on June 09, 2003, 07:18:29 am
Wow Nice :) :yes:

Could I perhaps have the earth-model? ;7
Title: DOTA planets
Post by: Tiara on June 09, 2003, 07:19:41 am
Phobos isn't round :p
Title: DOTA planets
Post by: FreeTerran on June 09, 2003, 07:20:00 am
sorry guys its not public
Title: DOTA planets
Post by: FreeTerran on June 09, 2003, 07:20:39 am
Quote
Originally posted by Tiara
Phobos isn't round :p


Ohh i don't know that how look they then ?
Title: DOTA planets
Post by: Tiara on June 09, 2003, 07:23:50 am
(http://www.shatters.net/celestia/images/phobos-mars.jpg)
Title: DOTA planets
Post by: mikhael on June 09, 2003, 07:25:36 am
Phobos is roughly potato shaped.

Also, remember that Charon is only slightly smaller than Pluto itself.
Title: DOTA planets
Post by: FreeTerran on June 09, 2003, 07:26:11 am
Ohhh yaeh that make the thing a bit complicated....
Title: DOTA planets
Post by: silverwolf on June 09, 2003, 07:59:30 am
personally i think the 3d planets would just slow peoples computers down while playing the mod
Title: DOTA planets
Post by: Nico on June 09, 2003, 08:51:55 am
yeah, like a single mapped sphere would slow anything down.

Random Tiger:
well, they're pof, you can reach them if they're close enough, and the advantage is that it looks better than a flat pcx, you can use the same model from different angles, light sources affect them, etc etc. I do that too, and it's cool.
Title: planets? we need some stinkin' planets!
Post by: NecroBob on June 09, 2003, 10:08:15 am
advantages of 3D models for planets?? explosions man!!  special big ass beam cannon or something, fire it at the planet and BOOM!  instant cataclysm.   maybe have "cities" mapped on it somewhere if you like, little bit of quick math, BOOM! XYZ coords for subsystems.  maybe have "live" subsystems that you can blow off, like shoot new york and have a HUGE chunk float off into space.  planet based orbital defense systems, massive turrets based on the planet (nothing much really, since you likely wouldn't get close enough to see them) with long ranges so they can Reach Out And Touch You if you get too close :)
whatever you want, or something :D

also, massive planets, like 12756000m wide (earth size) don't slow down the game too terribly, even when they're exploding, I've done this already :)
just as long as you keep the poly count down, I was around 1280, I believe.

(sorry, operating on a LOT of caffeine right now, pardon the glaring punctuation mistakes)

Bob
Idealist
Title: DOTA planets
Post by: Nico on June 09, 2003, 10:26:34 am
the size of a model doesn't change anyting speed wise. you could make a 10 trillion kms long ship, it would run as smoothly as a 3 cm long version of that same ship.
Title: DOTA planets
Post by: KARMA on June 09, 2003, 12:06:49 pm
is it possible to have a planet rotating on his axis?
Title: DOTA planets
Post by: Nico on June 09, 2003, 12:24:17 pm
Quote
Originally posted by KARMA
is it possible to have a planet rotating on his axis?


yeah, of course. make the planet itself a subobject of a main, invisible object, and make it rotate. voila.
Title: DOTA planets
Post by: NecroBob on June 09, 2003, 12:27:14 pm
sure, have the main submodel rotate on an axis.  just did it with a deimos.
only prob I can see with that is that unless you can modify the speed at which it rotates, you'll have a hella fast rotating planet...unless the size would cause the visible surface to appear slow.................my brain is mush right now, I'm sorry, you think?

[EDIT] feh, you answered the question already, I read too fast. :nervous:

Bob
Title: DOTA planets
Post by: Woolie Wool on June 09, 2003, 02:05:04 pm
Quote
Originally posted by RandomTiger

What is the advantage of using 3D models?


They can be destroyed.
Title: DOTA planets
Post by: Stunaep on June 09, 2003, 03:57:59 pm
Just in case... You have scaled them up enough, and placed outside the 60km box right? I'd hate to have the bumpingintoplanets effects.
Title: DOTA planets
Post by: Knight Templar on June 09, 2003, 07:02:02 pm
Quote
Originally posted by RandomTiger
What is the advantage of using 3D models?


Looks more real. Targetable.
Title: DOTA planets
Post by: KARMA on June 09, 2003, 07:07:07 pm
and iirc you explode if you get too close if it is setted as planet in tables
Title: DOTA planets
Post by: Black Wolf on June 09, 2003, 08:52:38 pm
You need to make the Earth map more realistic - currently it looks like it was grabbed from some cartoon. At the very least, give it some clouds.
Title: DOTA planets
Post by: Solatar on June 09, 2003, 10:22:41 pm
Quote
Originally posted by Black Wolf
You need to make the Earth map more realistic - currently it looks like it was grabbed from some cartoon. At the very least, give it some clouds.


agreed.

I though Charon was roughly half the size of pluto.
Title: DOTA planets
Post by: karajorma on June 10, 2003, 02:42:16 am
Quote
Originally posted by Solatar
I though Charon was roughly half the size of pluto.


Not quite (http://www.solstation.com/stars/kuiper.htm#pluto) but it is fairly big in comparison.
Title: DOTA planets
Post by: TrashMan on June 10, 2003, 05:12:59 am
NecroBob -  you can adjust the rotating speed in the TBL file - the two numbers next to a turret/subsystem are hp percentage (compared to that of the hull) and rotation time (time in seconds to make a 360 deg. turn).
And we intend to improve as much as we can on the planets...
Title: DOTA planets
Post by: Raptor on June 10, 2003, 07:08:36 am
Funny, last time I can here, I could see the pictures.  Now all I get is the dreaded red X.

From what I can remember, they were very good.  What resolution maps did you use?

Want to compare with Darks planets, which used a single 512x512 on a 32km wide body.  Great at a distance, but not so good close up...
Title: DOTA planets
Post by: FreeTerran on June 10, 2003, 10:54:05 am
Thats varios 1024x512 are the most
Title: DOTA planets
Post by: Raptor on June 10, 2003, 11:05:17 am
Quote
Originally posted by Free Terran
Thats varios 1024x512 are the most


Good.  Incidently, I found a site where a chap has created great big maps of the solar planets for use in renderings.  Very high details.  Also includes model files for Phobos and Demios.  Not sure if they can be used though.

If you want a 1024 x 512 map of earth, complete with clouds, just yell (just finshed it!)
Title: DOTA planets
Post by: FreeTerran on June 10, 2003, 12:03:55 pm
Yeah....please
Title: DOTA planets
Post by: Raptor on June 10, 2003, 01:13:36 pm
I'll send it to Trashman (got his email somewhere)
Title: DOTA planets
Post by: FreeTerran on June 10, 2003, 01:31:12 pm
You can send it to me [email protected] without NOSPAM

.....and thanks ;)
Title: DOTA planets
Post by: Raptor on June 11, 2003, 10:04:29 am
Hey, It's the least I can do ;) (in fact it's almost the only thing I can do right now.....)

Just in case though, I may upload the file to my webshell.
I had great, fun, tring to get a reskin of Trashmans old Phoniex fight back to him, took like 6-10 attempts!
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 11:17:32 am
Ok i have get the mail thx man
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 12:18:29 pm
What do you think guys shall i make the real size of the planets ?
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 12:25:27 pm
It exist only one problem the planet is to big for the area i need an unlimeted area can an guy from SCP that code ?

.......i need it realy ;)

EDIT: I can bump it up but i need the filename.cpp of it and the name of the tag........i hope any guy from the SCP know what i mean and can help me.
Title: DOTA planets
Post by: Raptor on June 11, 2003, 01:04:10 pm
Quote
Originally posted by Free Terran
What do you think guys shall i make the real size of the planets ?


Er, Free Terran, you do know just how big the planets are?

The Moon is 3476 KM WIDE!

Darks models were 32km, apart from Saturn, which included it's rings....

I have a 100th scale version of the moon in my game, and it is HUGE!!

Mars is about twice as big, and Earth is about 4 times the size of the moon.....

If you want to do, by all means do so, just be aware of the size these models would be......
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 01:07:55 pm
Hmm......
i think that means no

what do you think what scale shall i use don't forgot saturn and jupiter ?
Title: DOTA planets
Post by: kasperl on June 11, 2003, 01:10:11 pm
uhm, i'd say, go for it, but keep it low poly, or only take a part of the planet to show. and even if you put such a gigantic thing in, but leaver some room for theplayer, it shouldn't be a problem from what i heard, but note my siggy.

also, IIRC this was already discused in the SCP forum, there's a singil line of code which determines the bounding box. do a search of the SCP forum.
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 01:15:14 pm
I have find it but i think that are over my c++ knowledge i hope a SCP coder bump it up.
Title: DOTA planets
Post by: Raptor on June 11, 2003, 01:25:01 pm
Quote
Originally posted by Free Terran
Hmm......
i think that means no

what do you think what scale shall i use don't forgot saturn and jupiter ?


Hey, don't be discrouaged.  I'm thinking for redoing my model of the moon to be true scale. But it will need that 4096x2048 map...

If you plan to scale, well, I'd say you should keep all the planets to the same scale IMHO.

Darks planet models were 32km, almost 100th scale for the moon.

I'd suggest a 100th scale then:

Moon:   34.76km
Mars:    67.94km
Earth:   127.563km
Venus:  121.036km
Jupiter: 1429.84km
(all the ones I've got sizes for ATM)
Note that Jupiter is not quite spherical.  That figure is for the Equator.  The planets height is about 90% of that.

If you like, I could dig out dia's for the other planets, plus any moons you need......
Maybe in exchange for getting some of my designs into the game... ;7
Title: DOTA planets
Post by: Nico on June 11, 2003, 03:33:42 pm
I have the eartn in real size. didn't give me any pb.
Title: DOTA planets
Post by: karajorma on June 11, 2003, 04:08:56 pm
Quote
Originally posted by Free Terran
It exist only one problem the planet is to big for the area i need an unlimeted area can an guy from SCP that code ?


That's your answer to everything isn't it?  :lol:

You don't need to change the code at all. Put the player ship at 0,0,0 center the mission around it and the planet where ever you like.
Title: DOTA planets
Post by: FreeTerran on June 11, 2003, 11:11:21 pm
Quote
Originally posted by Raptor
If you like, I could dig out dia's for the other planets, plus any moons you need......
Maybe in exchange for getting some of my designs into the game... ;7


Yeah do that plz
Title: DOTA planets
Post by: Stunaep on June 12, 2003, 12:39:44 am
Quote
Originally posted by karajorma


That's your answer to everything isn't it?  :lol:

You don't need to change the code at all. Put the player ship at 0,0,0 center the mission around it and the planet where ever you like.


Not really. Put the planet OUTSIDE the 60 km bounding box. Just in case.
Title: DOTA planets
Post by: karajorma on June 12, 2003, 03:07:19 am
Quote
Originally posted by Stunaep
Not really. Put the planet OUTSIDE the 60 km bounding box. Just in case.


Nah. Put it anywhere. If he wants to let players bump into it he can! :D
Title: DOTA planets
Post by: Raptor on June 12, 2003, 07:24:28 am
Quote
Originally posted by Free Terran


Yeah do that plz


Sure, which ones you want?

Or should I just grab the dia for EVERYTHING! 'Gulp!'
Title: DOTA planets
Post by: FreeTerran on June 12, 2003, 07:32:55 am
Hmm it dosen't work if i make a planet outside the 60 km at mission start stand player coliside with ????
Title: DOTA planets
Post by: TrashMan on June 12, 2003, 11:18:23 am
If anyone wants to make a real-sized Earth, I have a 4800x4200 (or so, can't quite remember) texture of it...:D
Title: DOTA planets
Post by: FreeTerran on June 12, 2003, 11:28:31 am
And?
FS2 support only 1024x1024 max.....or?
Title: DOTA planets
Post by: Solatar on June 12, 2003, 11:58:44 am
Quote
Originally posted by TrashMan
If anyone wants to make a real-sized Earth, I have a 4800x4200 (or so, can't quite remember) texture of it...:D


Actually, the TVWP could really use a nice map for an earth, as well as most of the other planets.

Raptor, could I get those textures also? Pretty please? :D [email protected]
Title: DOTA planets
Post by: kasperl on June 12, 2003, 12:18:57 pm
Quote
Originally posted by Free Terran
And?
FS2 support only 1024x1024 max.....or?


i thought SCP upped those?

otherwise you can split up the map, and only show a portion of the planet, or split it up and use mulitple maps.
Title: DOTA planets
Post by: phreak on June 12, 2003, 01:01:02 pm
texture size is all dependant upon video cards

http://www.delphi3d.net/hardware/listreports.php
Title: DOTA planets
Post by: NecroBob on June 13, 2003, 07:29:57 am
good morning all!

Quote
the two numbers next to a turret/subsystem are hp percentage (compared to that of the hull) and rotation time (time in seconds to make a 360 deg. turn).


ah, the turret rotation, didn't know it applied to other things as well, though I suppose it's fairly obvious in hindsight. :)

question about the size of texture maps, can anyone see an advantage by using a 1:pi ratio???  I figure it would work on a cylinder, as simple geometry would apply, but do you think it would work correctly on a sphere too?  or would it be slightly distorted?
since the circumfrence anywhere on a sphere\circle is pi, would anything besides a 1:1 ratio distort it?
dunno, gonna make my morning coffee run.

Bob
Title: DOTA planets
Post by: phreak on June 13, 2003, 12:20:49 pm
texture dimensions have to be a power of 2 to run the fastest