The new ray-traced preview (RTP) in the Terragen 4 beta is a much faster way to preview many elements of your scene. But in the current stage of development you need to work with it in a particular way to get best results (we will be working on improvements over time). Here is some advice on how to get the most out of how it currently works and avoid its limitations and bugs.Basics
The RTP is a ray-traced, realtime view of the scene. It renders approximations of lighting, atmosphere, and terrain shading over static geometry of the scene. You can see more-or-less realtime updates in the RTP for changes to camera/POV, lighting, atmosphere, and surface shaders (with certain limitations), but changes to displacement won't show. This is because the RTP does not currently generate any terrain geometry on its own. It relies on the regular preview to generate terrain and can only operate on whatever terrain geometry was generated before you switched to the RTP, at whatever detail level that was (non-terrain geometry such as imported objects will work fine in the RTP, it does not need to be "generated"). As a result you need to use them in clever combination at the moment, and you may need to switch back and forth frequently.
The eventual goal is to have terrain geometry generated dynamically for both the regular and RTP and to have it cached so it doesn't have to re-generate terrain data it has already calculated for a previous view (within limits; the cache will have to be flushed with some sort of intelligent strategy). This should make using both the RTP and the regular preview much more enjoyable and interactive. But even as-is the RTP is already a big improvement over the regular preview for many things.Workflow Example
Here's my basic workflow with the RTP in its current state.
- Start Terragen
- Turn off shaders, atmo, and lighting for regular preview to speed it up
- Let it generate to whatever terrain detail level you want; often I enable the HD option
- Pause regular preview before turning on RTP; this is currently helpful with stability, but more generally is also useful to control when the regular preview generates data and how (e.g. with or without shaders, atmo, etc.)
- Enable the preview elements I want: Shaders, Atmosphere, Lighting
- Use the RTP, move around the scene, adjust clouds, lighting, etc.
- If I move the camera to an area or perspective where geometry has not yet been generated:
- Turn off RTP
- Turn off Shaders, Atmosphere, Lighting
- Unpause Preview and let it generate geometry to my desired level of detail
- Pause preview
- Switch back to RTP
- Re-enable Shaders, Atmo, Lighting
You can Set your camera position then pull your camera up above the area and look down, then generate the terrain from this view. That way you can return to your camera position (just switch back to the "set" view) and you'll have more terrain geometry all around your camera, instead of just in front.
The RTP works with the "crop region" feature and you can get detailed results much quicker if you crop to a smaller area of interest. This can work well when tuning clouds, surface shading, and more. Just enable the crop render and shrink/move it to the area of interest, then turn on the RTP and it will render detail only in that area, saving a lot of "rays" (and render time).Limitations
There are a number of limitations in the current RTP. These will be improved over time. The regular preview will remain which will mitigate some of these problems, like the lack of preview "info" (e.g. distance, height, etc.).
- Terrain geometry and displacement are only generated by the regular preview, RTP can only render geometry that has already been created.
- The "Open preview in new window" functions are currently disabled.
- Object selection and manipulation doesn't work consistently.
- Reflective surfaces aren't currently rendered, including Water.
- Disabling/hiding objects doesn't work.
- No preview info read-out.
- The RTP can sometimes cause crashes. We're working to improve stability.
In certain ways it is best to think of the RTP right now as a "very quick render" with realtime camera movement, and the ability to adjust certain focused aspects of the scene. It is useful for tuning cloud settings, for example, along with lighting and camera view. It is not necessarily ideal to adjust objects, create and edit populations, etc. while using RTP. You may want to switch back to the regular preview for that, then turn RTP back on once population/object editing is done. As time goes on you will be able to do more and more in the RTP, but even in its current state it is a very useful, productivity-enhancing feature.
We look forward to your thoughts and feedback! (keeping in mind the above known limitations, bugs, etc.)