Planetside Software Forums

General => Terragen Discussion => Topic started by: kepler on December 22, 2006, 06:34:11 AM

Title: Asteroids
Post by: kepler on December 22, 2006, 06:34:11 AM
Can someone explain me how to create an asteroid, with no atmosphere, an irregular shape and a lot of craters :)
For example like that seen in the "Mars Animation" preview on the TG2 home-page.
Should I start from a planet object? ???
Title: Re: Asteroids
Post by: 3DGuy on December 22, 2006, 01:13:34 PM
You mean something like this?
(http://temp.theglasseye.nl/asteroid.jpg)

If so I've put up the tgd file here (http://temp.theglasseye.nl/asteroid.tgd)
Title: Re: Asteroids
Post by: fmtoffolo on December 22, 2006, 01:28:32 PM
reading this post make me wanna try it out

i just used a sphere with displacement, keeping everything simple, made a quick render just to see how it looks like

(http://cablemodem.fibertel.com.ar/fertoff/tgd_meteorito.jpg)

Just add a sphere via the object tab and and displace it via the surface shader

Title: Re: Asteroids
Post by: kepler on December 23, 2006, 05:42:52 AM
fmtoffolo, can you send me you .tgd file, or make a little step-by-step? I can't understand what exactly do ???
Thank you for your help
Title: Re: Asteroids
Post by: kepler on December 23, 2006, 05:50:14 AM
I'm sorry, only now I have seen the file linked by 3DGuy; it's really simple, the only thing to do it's crete a Power Fractal Shader v3. Thank you for your help! :D
Title: Re: Asteroids
Post by: BPauba on December 23, 2006, 06:52:45 PM
I know a couple of celestial artists that would love some high resolution textured asteroids ;)
Title: Re: Asteroids
Post by: mt_sabao on December 26, 2006, 02:52:12 PM
Quote from: 3DGuy on December 22, 2006, 01:13:34 PM
You mean something like this?


If so I've put up the tgd file here (http://temp.theglasseye.nl/asteroid.tgd)

3DGuy i've been looking into your file and it seems very clear what's going on. Specifically, the Power Fractal into the compute terrain. The feature scale in the scale tab and the Displacement Amplitude in the Displacement Tab seem to drive the distortion in the overall spherical structure of the "planet".
Nevertheless, i can't seem to do this in a file from scratch. Here's what i do:
-Creat new scene.
-Delete atmosphere node
-Delete the heightfield nodes
-Creat a Powerfractal node  3, connect the output to the Compute Terrain
-Set scale in the scale tab to around 6000 (the planet radius)
-Set the Displacement Amplitude in the Displacement Tab to around the planet radius

But then, i still get a pretty spherical planet! Is there anything that i need to change?

Thank you in advance for any help!
Cheers
Luis
Title: Re: Asteroids
Post by: 3DGuy on December 26, 2006, 03:06:59 PM
Take a look at the radius setting of the planet object. I've made the planet alot smaller  ;) In that particular case I set the radius to 6000 instead of the default 6378000 (i.e. 6.378e+006)
Title: Re: Asteroids
Post by: mt_sabao on December 26, 2006, 03:49:43 PM
Quote from: 3DGuy on December 26, 2006, 03:06:59 PM
Take a look at the radius setting of the planet object. I've made the planet alot smaller  ;) In that particular case I set the radius to 6000 instead of the default 6378000 (i.e. 6.378e+006)

you...you...sneaky bastard!
8)
Thanks man, forgot to check that, makes sense!
Cheers
Luis
Title: Re: Asteroids
Post by: FrankThomas on December 26, 2006, 03:55:11 PM
Works like a charm apart from having to recenter the thing and zoom in a bit :)
Title: Re: Asteroids
Post by: moodflow on December 26, 2006, 03:57:02 PM
Ok, I made an asteroid using a sphere and then adding power fractal as a surface shader.  Now, how would one color the asteroid, or better yet, add an image file.  I know how to add image files to terrains, but b/c its an object, I cannot seem to get the proper options I need to do this.  And the node network seems to be blank, only showing the objects.

Title: Re: Asteroids
Post by: FrankThomas on December 26, 2006, 04:07:08 PM
Here's my first asteroid attempt - quite a high res render this one
Title: Re: Asteroids
Post by: moodflow on December 26, 2006, 04:11:14 PM
OK, I was able to add an image as the surface of the asteroid.  I had to manually add it via the node network, as there were no options to do so.  I'm glad I have experience with World Machine, as its quite similar.  Though the node based networks are 'ugly', they are powerful!
Title: Re: Asteroids
Post by: edlo on January 13, 2007, 08:48:06 AM
Quote from: BPauba on December 23, 2006, 06:52:45 PM
I know a couple of celestial artists that would love some high resolution textured asteroids ;)
Nahhh really?  :P
Title: Re: Asteroids
Post by: rcallicotte on January 13, 2007, 09:47:53 AM
Good job.  I want to try this, too.

Quote from: FrankThomas on December 26, 2006, 04:07:08 PM
Here's my first asteroid attempt - quite a high res render this one
Title: Re: Asteroids
Post by: RealUser on January 17, 2007, 12:24:30 PM
Does somebody experienced the following behaviour of TG2?:

Make a sphere in "Objects" and add a "power fractal shader" to it. Save the scene. Start TG2 again and load in the scene. You can see the object in the objects list, but you can't see it in the preview window and it don't renders in the scene.
Title: Re: Asteroids
Post by: Will on January 17, 2007, 12:29:23 PM
check to amek sure its enabled.

Regards,

Will
Title: Re: Asteroids
Post by: StickerSticker on January 20, 2007, 11:30:44 AM
made a cool asteroid here:


i added in the glass-like sphere in photoshop plus some texturing. But it's cool to have the things sticking out the back like that. It's supposed to be like an ice asteroid.

(http://fc01.deviantart.com/fs13/f/2007/020/5/6/Wait_Here_by_stickersticker.jpg)
Title: Re: Asteroids
Post by: Dark Fire on January 20, 2007, 03:57:03 PM
Wow...That's a wierd but cool ice look...
Title: Re: Asteroids
Post by: RealUser on January 21, 2007, 05:28:47 AM
Quote from: Will on January 17, 2007, 12:29:23 PM
check to amek sure its enabled.

Regards,

Will

Amek? What is amek?
I am still not able to see the sphere. I made it bigger (100 ... 10000), no chance to see it. If i slightly change the cam position, the sphere vanishes. It is enabled and i can see it in the list. Am I doing something wrong?
...
Arrrggghhh! Found out myself. The initial sphere is too small to be visible and placed at the camera coords. It is just one meter. Compared to the earth it is dust! So, i resized it to radius 50000 and moved it towards the planet. That's it!
Title: Re: Asteroids
Post by: RedSquare on January 21, 2007, 02:31:17 PM
 ;D
Quoteamek?
lol he has fat fingers, it should read - make.  ;D
Title: Re: Asteroids
Post by: RealUser on January 21, 2007, 02:46:03 PM
 ;D Slap forehead.
Thanks for the hint!