Planetside Software Forums

News => Announcements => Topic started by: Matt on June 10, 2022, 05:46:25 PM

Title: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on June 10, 2022, 05:46:25 PM
The first Frontier Build of Terragen 4.6 is out now for Windows and Linux render node.

If you have an active license of Terragen 4 Professional or Creative, use the Check for Updates feature in the Windows application to get links to the latest 4.6 builds.

Here's the change log:

QuoteBuild 4.6.11 (Frontier Build)

OpenVDB export is available on Windows (previously it was only on Linux). A VDB file can be exported from the command line and from the context menu of a cloud node in the Node Network. https://planetside.co.uk/wiki/index.php?title=VDB_Export

Changed the 3D Preview's level-of-detail calculations for voxel buffers in clouds. It uses a view-dependent minimum voxel size so that clouds nearer the camera are more likely to be rendered with the highest voxel resolution provided by the cloud, while clouds further away are more likely to be approximated. There are two modes to this. The first pass of the RTP, and all passes of non-RTP previews, use a low-detail mode which is designed to be fast (fewer voxels need to be cached before you see results). Subsequent RTP passes use a higher detail mode which is closer to final renders but may take longer to cache voxels before you see the results.

Removed the "Acceleration cache" feature from cloud layers because it caused problems with consistency between image tiles.

Fixed a bug in planet atmosphere "Reset Tweaks" which set one of the colours to the wrong colour space. This only mattered if colour management was enabled, and only during the session (saved files were not affected).

Fractal Warp Shader has a seed parameter.

The Tonemap tab on Render Settings has 3 radio buttons to change the gamma correction mode: "sRGB", "sRGB with custom gamma" and "Pure gamma".
 - "sRGB": The sRGB standard OETF is applied. Compared to a pure gamma of 2.2, sRGB mode produces slightly darker values near black and slightly more contrast in the low-to-mid-range.
 - "sRGB with custom gamma": The behaviour is exactly the same as "sRGB" if the gamma correction parameter is 2.2, otherwise deviations from 2.2 are applied as a gamma correction before the sRGB standard OETF is applied.
 - "Pure gamma": Gamma correction is applied exactly as it was in previous versions.

Work-in-progress: "Replace with another object" is available in the Node Network's context menu for object readers and object generators. Undo is not working yet.

XML population caches: Population caches can be saved to (and loaded from) an XML-based format by choosing a filename with ".popxml" extension.

Prevented a crash that could occur in the Populator if it fails to read a population cache file.

Mac only: Performance should be greatly improved when dealing with any views containing a lot of controls, for example parameter views whether in standalone windows or the main window. It's much quicker to change between layout views or different nodes in the main window.

Fixed a crash that sometimes occurred when loading heightfields, especially when loading multiple heightfields at the same time.

Fixed a bug in "Build HSV Colour" function: If the input colour had a saturation other than 1, its hue would be calculated incorrectly. If this hue was passed through to the output (while modifying saturation or value), the output would have the wrong hue.

Some changes to the how the Progress Dialog works to allow multi-threaded progress reports.

Low level optimisations in the renderer.

Optimisations in some noise functions.

Optimisations in Power Fractal Shader (which also affects Easy Cloud).

Made a change to low-level memory management of scenes and renderers to fix a possible instability.

Fixed a bug in in the Free Non-Commercial Edition that showed a warning about missing some data when a render is finishing.

Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Kevin Kipper on June 10, 2022, 08:49:02 PM
Hi everyone,

The images below illustrate OpenVDB export from the Windows version of Terragen 4, to third party applications. 

In order for some third party applications to match the layout of a Terragen project, you may need to adjust the third party software's camera or imported volumetric asset.  Where possible, I've outlined those modifications below.

In the original Terrgen project, the cloud layer was centered at the origin of the project at an altitude of 4000 metres.

Blender (Z up)
Blender camera's Location X = Terragen camera's Position Z * -1
Blender camera's Location Y = Terragen camera's Position X
Blender camera's Location Z = Terragen camera's Position Y
Blender camera's Rotation X = Terragen camera's Rotation X + 90 degrees
Blender camera's Rotation Y = Terragen camera's Rotation Z
Blender camera's Rotation Z = Terragen camera's Rotation Y + 90 degrees
OpenVDB object rotation X = 90 degrees
OpenVDB object rotation X = 90 degrees

Unreal Engine 5 (Z up)
Requires Sparse Volumetrics, using OpenVDB and NanoVDB plugin and uses a VdbResearchActor as holder for VDB
VdbResearchActor's Rotation X = -90 degrees
VdbResearchActor's Rotation Z = 90 degrees
VdbResearchActor's Scale X = -1
Cinematic Camera Actor Location X = Terragen camera's Position Z *-1
Cinematic Camera Actor Location Y = Terragen camera's Position X
Cinematic Camera Actor Locatrion Z = Terragen camera's Position Y
Cinematic Camera Actor Rotoation Y = Terragen camera's Rotation X
Cinematic Camera Actor Rotation Z = (Terragen camera's Rotation Y * -1) + 180 degrees

Daz Studio
Daz camera's Translate Z = Terragen camera's Position Z * -1
Daz camera's Rotate Y = Terragen camera's Rotate Y * -1

Lightwave 3D (Y up)
LW camera's Heading = Terragen camera rotation Y value
LW camera's Pitch = Terrgen camera rotation X value * -1
null VDB object's Scale X = -1
null VDB object's Heading = 180 degrees
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Kevin Kipper on June 10, 2022, 08:50:26 PM
Here are rendered images from each of the above mentioned third party software packages.

Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: a_petrukovich on June 11, 2022, 08:17:35 AM
Amazing update, been waiting for this feature for a long time. Now it remains to make the same cool shader as in Terragen for Blender :)
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: itsdavidblaker on June 11, 2022, 11:24:23 AM
Well done!
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: WAS on June 11, 2022, 01:18:50 PM
Seed for the fractal warp shader sounds awesome, not sure what optimizations were done to PFs but it sounds beneficial. I like some updates here. Starts giving incentive to get a maintenance renewal some day.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: RogueNZ on June 12, 2022, 06:40:16 AM
Big update, thanks team! Good to see Terragen still producing the most pleasing cloud renders for a given input!
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: zaxxon on June 12, 2022, 01:40:35 PM
This is a really big deal, thanks!  VDB export has been on the top of my list for a couple of years. Hopefully this is a start on a series of upgrades!  :)
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: WAS on June 12, 2022, 01:45:29 PM
Could you do a huge solid @Matt ? Could we get the default shader back as it was, and have all these new features moved to a PBR shader?

Opening old projects  /objects + working in SR is really frustrating with the new default shader. I shouldn't have to fix all my old TGOs and projects cause of this change. And a lot of the time I'm not doing PT unless it's really needed, so the benefits aren't there.

Additionally there is only one roughness, for both Reflectivity and Metalness, but they have their own masking abilities to separate them in the same object. But can't have unique roughness looks for them.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: zaxxon on June 12, 2022, 05:51:19 PM
I would like to see an option to retain the legacy default shader as well.  Not having used TG in a while, but working to submit an NWDA Contest image, I've had issues getting texture maps to show correctly (or at least like they looked before). If someone wants to start a separate thread to show how to best transition to the newer default that would be much appreciated. Still, thanks again for the VDB export!
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Dune on June 13, 2022, 01:36:25 AM
I wouldn't mind a new shader for PBR, but I do not have problems with this new default shader. If I open old files and import 'old' objects the settings remain as they were, being roughness, reflectivity and metalness. So I don't understand the need to change any tgo's. At least haven't come across it yet.
What I would like (for speed) is a reflectivity mode in PT that's non-ray or path-traced, but I guess that's impossible.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: WAS on June 13, 2022, 03:53:44 PM
Old TGOs I have always get errors about missing parameters. For example, they will default to the second option for specular model, not the legacy. So the material does end up looking different. Also, the old way the default looked in PT is changed, to handle PT better, but may not be the desired result, even when using PT>
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on June 13, 2022, 06:09:40 PM
@WAS or @zaxxon can you start a new topic and show some examples of these differences between versions?
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: WAS on June 13, 2022, 06:26:14 PM
I'd think it'd be self-explanatory, the default shader now handles mentality/reflection better in PT, to be physically correct, but may not be the desired result without comping in SR or something, but wanting PT elements in the rest of the scene.

I'll see if I can make some examples soon. I'm currently tied up for around ~9 hours with my CPU right now to AI.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: RogueNZ on June 14, 2022, 03:14:17 AM
Just FYI, the Version Check feature in Creative is giving me an error message "For some reason the Software Update version check was unsuccessful. Please try later.". Coming from 4.5.6
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: pokoy on June 14, 2022, 07:41:04 AM
RTP cloud preview:
I have to say that the new cloud voxel behavior in RTP is not helping *at all*. It's been a hit and miss before but still somewhat similar to the render most of the time, now it's always way off. I'm not getting anything close to what the render result is and most of the time it's just a white/grey patch without any details or shadows. Waiting doesn't improve it much, and doesn't make sense considering we had a much closer RTP preview in previous version right from the start after a few seconds already.

Also, this build renders slower than most previous builds going back 3 years. The render times for the attached file are:
I did some tests, please have a look at the attached screenshots, it should be self-explanatory. Tgd file is attached, too (originally created in 4.4.18 frontier, I believe).

TG 4.2.10 - 9:40 mins
TG 4.3.23 - 8:39 mins
TG 4.4.18 - 8:45 mins
TG 4.4.45 - 8:46 mins
TG 4.4.67 - 8:45 mins
TG 4.5.60 - 8:51 mins
TG 4.6.11 - 9:07 mins

...it looks like TG got faster with 4.3 but slightly slower with each new version after that.

VDB export:
Thank you for finally adding this in the window build - much appreciated. I would like to request a few things:
- a way to swap Y/Z axis for the exported vdb file (some apps use Z up)
- a way to override coordinates. Some apps will have problems with large distances from origin. Not much of a problem for TG but can cause all kinds of headaches in other apps and renderers. Having a way to override all coordinates to 0/0/0 would be good to have in those cases
- export multiple cloud layers into one file, if possible
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on June 14, 2022, 10:16:10 AM
Quote from: RogueNZ on June 14, 2022, 03:14:17 AMJust FYI, the Version Check feature in Creative is giving me an error message "For some reason the Software Update version check was unsuccessful. Please try later.". Coming from 4.5.6

Do you think it might be getting blocked by a firewall?
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on June 14, 2022, 10:18:50 AM
Quote from: pokoy on June 14, 2022, 07:41:04 AMRTP cloud preview:
I have to say that the new cloud voxel behavior in RTP is not helping *at all*. It's been a hit and miss before but still somewhat similar to the render most of the time, now it's always way off. I'm not getting anything close to what the render result is and most of the time it's just a white/grey patch without any details or shadows. Waiting doesn't improve it much, and doesn't make sense considering we had a much closer RTP preview in previous version right from the start after a few seconds already.

Thanks for reporting this, and especially for providing a TGD file. The issue seems to be the very long lens with 2 degrees FOV, and this is something the new mode doesn't handle well. I'll think about what I can do to improve this.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: pokoy on June 15, 2022, 09:18:47 AM
Hi Matt, thanks for the pointer - however, almost all of my tests with more common lenses show the same behavior, in most cases it's worse than what we had before. Attaching three more test scenes and screenshots.
Out of the four tests I did only one scene seems to show a slight improvement (test_3), but even the old behavior was good enough. To be honest I'd rather see this change rolled back, there's no point in keeping it when what we had before did a much better job. With the new behavior we will *always* have to render a final, it's just not reliable.

What about my VDB requests? Do you think you could get the coordinates=0/0/0 and axis swap implemented somehow?
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: RogueNZ on June 16, 2022, 05:16:00 AM
Quote from: Matt on June 14, 2022, 10:16:10 AM
Quote from: RogueNZ on June 14, 2022, 03:14:17 AMJust FYI, the Version Check feature in Creative is giving me an error message "For some reason the Software Update version check was unsuccessful. Please try later.". Coming from 4.5.6

Do you think it might be getting blocked by a firewall?
No, it shouldn't be, I'm running standard Windows 10 with no additional software... this is also the first time I have been unable to access a version update through the app.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on June 19, 2022, 09:10:36 AM
@RogueNZ , thanks for providing more detail in the private message.

There was a bug in the update checker for the Creative edition. That is fixed now.

Also, if any of you previously saw the dialog that says: "Your Maintenance Has Expired. The latest update is 4.6.11. You can renew your maintenance to get this update. Click below to see what's new." Clicking on the button had been sending you to a page that showed 4.5.71, not 4.6.11. We've fixed that now, so you can click "View Latest Update..." to see the change log for 4.6.11 before deciding whether to renew your maintenance.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: WAS on June 19, 2022, 04:48:44 PM
I am definitely tempted to save for a renal. Love the VDB export. May wait for UV texture export update. Been wanting to do so much with VDB stuffs.

Great update! Hope this is a productive year .
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Jeremy on June 23, 2022, 10:45:59 AM
Please tell me how to export VDB sequence ?
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Kevin Kipper on June 23, 2022, 02:17:44 PM
Hi Jeremy,

We're working on this feature to export a sequence of vdb files.

I've not tested this but I imagine for now you would manually have to do this by advancing the frame and exporting the vdb file.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Jeremy on June 23, 2022, 06:02:11 PM
Ok i understand. Thank you for this update. I liked that the rendering speed increased for atmo\clouds. One of my scene rendered 6:51 per frame, now 6:15
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: raymoh on August 15, 2022, 07:13:42 AM
A shy request:
Meanwhile, a few months have passed since the announcement of the Frontier build 4.6.11. When can we expect the final version and especially what about the Mac version?
Here of course always the same fears from us Mac users:
How long will there be Mac versions of Terragen? Apple won't wait for you, at some point the "older" Terragen versions might not run on the new machines anymore... and if they do, they will probably be quite slow, because not adapted to the new (M1 M2 MPro etc.) chips.
Title: Re: Terragen 4.6.11.frontier (Windows and Linux)
Post by: Matt on August 15, 2022, 06:37:00 PM
Quote from: raymoh on August 15, 2022, 07:13:42 AMA shy request:
Meanwhile, a few months have passed since the announcement of the Frontier build 4.6.11. When can we expect the final version and especially what about the Mac version?

A new Frontier build is coming out this week for Windows, which improves upon cloud rendering in the 3D previews. That's currently in alpha testing.

The Mac build is almost ready, but we still need to implement OpenVDB on the Mac (it should be straightforward). Expect it in the next 2-3 weeks.

Final Release builds of 4.6 for both Mac and Windows are expected in the next 3-4 weeks.

QuoteHere of course always the same fears from us Mac users:
How long will there be Mac versions of Terragen? Apple won't wait for you, at some point the "older" Terragen versions might not run on the new machines anymore... and if they do, they will probably be quite slow, because not adapted to the new (M1 M2 MPro etc.) chips.

Apple's approach to backward and forward compatibility is unfortunate (I'm mostly talking about OS and dev toolchains, which put extra pressure on developers).

We're committed to releasing Mac versions for the foreseeable future, even though there is sometimes a delay between Windows and Mac, especially with Frontier builds. I don't have a timeline for when we will specifically target M chips, but that will happen. In the mean time, performance under Rosetta seems pretty good compared with Windows and Linux builds, but I'm looking forward to seeing how much faster a dedicated build will be.