Planetside Software Forums

Support => Terragen Support => Topic started by: JDex on January 05, 2007, 10:32:32 AM

Title: Heightfield Flattens
Post by: JDex on January 05, 2007, 10:32:32 AM
Heightfield Generators appear to not be persistant.  If I generate a heightfield, save and then close the file... when I open it again, it needs to be regenerated and is different than the original.  Also if I export the heightfield as a .lws/.lwo, it immediately flattens.

Free version and Deep+ Animation on WindowsXP SP2.
Title: Re: Heightfield Flattens
Post by: MooseDog on January 05, 2007, 04:09:17 PM
QuoteIf I generate a heightfield, save and then close the file... when I open it again, it needs to be regenerated

expected behavior a.t.m.

Quoteand is different than the original

odd.  can't confirm here.

QuoteAlso if I export the heightfield as a .lws/.lwo, it immediately flattens.

confirmed. 

default scene:

generate terrain,
add .lwo exporter node in-between HFgenerator and HFshader,
generate export files (a pretty cool system with the grid of objects and the scene set-up imho),
heightfield bounding box disappears,
hf flattens leaving .lwo b-box, also flat. 
click generate terrain, and it is generated w-in the .lwo box.

keep squashing those bugs!  congrats.
Title: Re: Heightfield Flattens
Post by: smvwhite on January 20, 2007, 04:52:00 AM
I am experiencing the flattened terrains and can't tell from this thread if it is still a bug or if it is me.

Can anyone confirm how to export an lwo?  Thank you.
Title: Re: Heightfield Flattens
Post by: Oshyan on January 21, 2007, 09:47:13 PM
Internally generated terrains must be re-generated every time you reload a .tgd. If you want to save the generated result right-click the heightfield generate node and Save As, specify a location and file name (be sure to add .ter as it doesn't do so on its own currently), then add a Heightfield Loader and load your outputted heightifeld. Re-save the .tgd and when you load it again in the future it should reference the saved heightfield.

To export a heightfield (not procedural) to LWO use a Heightfield Export LWO node which you can add from the Add Operator button in the Terrain layout, below the node list.

- Oshyan
Title: Re: Heightfield Flattens
Post by: smvwhite on January 21, 2007, 10:06:45 PM
Hi Oshyan,

Thanks for your help.  Visually the LWO node setup looked no different to what I was doing earlier, yet I ended up with a successful LWO which wasn't flat - anyway, I have it working now thanks to you.

Very much appreciated,

Steve.