Planetside Software Forums

Support => Terragen Support => Topic started by: iaminonsiner on January 19, 2019, 04:42:24 AM

Title: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 04:42:24 AM
Hello again !

Right now I'm asking a lot of questions, sorry if it's too much lol

I just imported a sphere on terragen, I put a power fractal shader and I modified the sphere, I have this:

[attach=1]

Can I export this object in OBJ. file or soemthing like that and import it into another project to use it as a population for example?

I don't think I can do it but if you have a way to do something like that, I'm interested.


Thank you.
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 04:43:31 AM
And have a nice day, obviously !  8)
Title: Re: Export objet created in Terragen
Post by: Dune on January 19, 2019, 05:20:36 AM
You can't.
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 05:21:10 AM
Quote from: Dune on January 19, 2019, 05:20:36 AM
You can't.

And I guess I can't duplicate my object? Unless I create another one, with the same settings....
Title: Re: Export objet created in Terragen
Post by: Dune on January 19, 2019, 05:24:13 AM
Well, you can make a population of the objects...
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 07:03:11 AM
Quote from: Dune on January 19, 2019, 05:24:13 AM
Well, you can make a population of the objects...

How ? I know how to use population but for the example, I added a sphere but I can't transform this sphere in " sphere population "... or I'm wrong ?
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 07:03:46 AM
Or I import an obj in the form of a sphere and there I could modify it and use it as a population!
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 07:23:15 AM
I tried to import obj and apply a power fractal shader ( Like I do on my first test, the first post in this thread ) and nothing is happen, I think I do something wrong.

Edit : Doesn't work either when I import rock, I  don't know why.
Title: Re: Export objet created in Terragen
Post by: archonforest on January 19, 2019, 08:09:35 AM
You can duplicate the sphere in TG. Just highlight the node and push ctrl c and then ctrl v. Then u will have 2 spheres.
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 09:07:42 AM
Quote from: archonforest on January 19, 2019, 08:09:35 AM
You can duplicate the sphere in TG. Just highlight the node and push ctrl c and then ctrl v. Then u will have 2 spheres.

Nice ! Thank you and do you know why I can apply power fractal shader only on sphere ? When I try to add power fractal on cube or other objects, I have no results.
Title: Re: Export objet created in Terragen
Post by: archonforest on January 19, 2019, 09:19:18 AM
You can apply PF on a cube also. Make sure you create the PF from the Displacement shader menu.

Also when you choose the cube take the Displaceable cube from the menu. I think that works better.
Title: Re: Export objet created in Terragen
Post by: iaminonsiner on January 19, 2019, 09:49:58 AM
Quote from: archonforest on January 19, 2019, 09:19:18 AM
You can apply PF on a cube also. Make sure you create the PF from the Displacement shader menu.

Also when you choose the cube take the Displaceable cube from the menu. I think that works better.

It works on the cube! Thank you! Thank you! But not on an object that I imported myself
Title: Re: Export objet created in Terragen
Post by: archonforest on January 19, 2019, 10:19:31 AM
Technically it should but it depend the set up of the objects. Perhaps you can upload the object here so we can take a look.
Title: Re: Export objet created in Terragen
Post by: Dune on January 19, 2019, 10:32:28 AM
The sphere and cube are displacable objects, like the planet of TG. So they can handle displacement by PF very well. Imported objects are not, and it depends on the number of polygons whether you can displace well enough. Also, imported objects (with a lot of polys) that need to be displaced need to have 'force displacement' checked, or it'll be just bump.
Displacable objects can not (yet) be populated.
If you want to make a population of an imported object, you have to add a new population and choose your object as principal object. But as said, that can't be really displaced unless it's very high-poly.
Title: Re: Export objet created in Terragen
Post by: archonforest on January 19, 2019, 10:34:42 AM
Quote from: Dune on January 19, 2019, 10:32:28 AM
The sphere and cube are displacable objects, like the planet of TG. So they can handle displacement by PF very well. Imported objects are not, and it depends on the number of polygons whether you can displace well enough. Also, imported objects (with a lot of polys) that need to be displaced need to have 'force displacement' checked, or it'll be just bump.
Displacable objects can not (yet) be populated.
If you want to make a population of an imported object, you have to add a new population and choose your object as principal object. But as said, that can't be really displaced unless it's very high-poly.
Thanks for this data. Good to know this for sure!
Title: Re: Export objet created in Terragen
Post by: Dune on January 19, 2019, 11:34:38 AM
You didn't? I thought you'd know.
Title: Re: Export objet created in Terragen
Post by: archonforest on January 19, 2019, 11:50:45 AM
Quote from: Dune on January 19, 2019, 11:34:38 AM
You didn't? I thought you'd know.
Well I knew some part of it but was not fully sure how an imported object would react.
Title: Re: Export objet created in Terragen
Post by: jaf on January 19, 2019, 12:04:54 PM
Not really saving the object, but you can use Ctrl-C and then in a 2nd instance of TG, do the Ctrl-V.  I just tried the displaceable cube but suspect it would work on the other non-savable objects.

An idea, if you want to save several of these type of objects, make a TG and add each one.  Then you will at least have one source to grab them later.
Title: Re: Export objet created in Terragen
Post by: Oshyan on January 19, 2019, 04:18:05 PM
If you apply Displacement to a non-displaceable object, like an imported (external) object, it will not show up in the 3D view, and in order for it to render properly you need to change its rendering method in the object's Rendering tab to "Force Displacement". Results can be difficult to adjust and depend very much on object geometry density. Be sure to use very small values for displacement at first, and increase in small increments, or you will likely "explode" your object's geometry.

- Oshyan
Title: Re: Export objet created in Terragen
Post by: sboerner on January 19, 2019, 04:28:23 PM
Popping into this thread a little late, I know . . .

QuoteCan I export this object in OBJ. file or soemthing like that and import it into another project to use it as a population for example?

If you are starting with the native sphere object, you can always save the modified object as a clip file that can then be imported into other scenes. But I don't think you can use this to create a population.

If you start with an imported sphere mesh, then you have a couple of options:


As mentioned earlier here, a high-poly smooth mesh works best.

Here's a good discussion of using displacements on imported objects. It includes links to more threads:

https://planetside.co.uk/forums/index.php/topic,19431.15.html