Planetside Software Forums

General => Terragen Discussion => Topic started by: Mr_Lamppost on July 02, 2016, 08:59:55 PM

Title: Beta 4 - Preview unlike render.
Post by: Mr_Lamppost on July 02, 2016, 08:59:55 PM
I know the preview is just that, a preview, and we expect there to be differences in the final render but while I am waiting for a final render I installed the beta on a second machine so I could try something else. 

This is just the default scene with an Easy Cloud (Not sure how useful they will be I usually spend some time tuning the cloud fractal(, layer added, I upped the coverage and density then lowered the sun, I was hoping the new cloud lighting would do a better job with this type of scene.  The preview looked promising although not quite what I was after.  The RTP looked similar to the regular preview so I did a default render and the result is totally different?

Comments...
Title: Re: Beta 4 - Preview unlike render.
Post by: bobbystahr on July 02, 2016, 11:39:38 PM
Quote from: Mr_Lamppost on July 02, 2016, 08:59:55 PM
I know the preview is just that, a preview, and we expect there to be differences in the final render but while I am waiting for a final render I installed the beta on a second machine so I could try something else. 

This is just the default scene with an Easy Cloud (Not sure how useful they will be I usually spend some time tuning the cloud fractal(, layer added, I upped the coverage and density then lowered the sun, I was hoping the new cloud lighting would do a better job with this type of scene.  The preview looked promising although not quite what I was after.  The RTP looked similar to the regular preview so I did a default render and the result is totally different?

Comments...

Well only 1 iteration is showing as done out of 20 in the preview so that may make a difference. I wind up waiting quite a while for all 20 sometimes but allwys get an at least 90% accurate preview.
Title: Re: Beta 4 - Preview unlike render.
Post by: Matt on July 03, 2016, 07:46:21 AM
The RTP uses an approximation in the clouds that is less accurate than the final render. Sometimes it happens to look closer to what you want than the final render. That's accidental, but I suppose that will happen quite often when we do most tweaks while using the RTP. It's not ideal so I'm going to try to improve this in future.

Without this approximation the RTP becomes too slow to use (unless the number of voxels is much less than 1 million), because it spends so much time calculating the voxel cache before it even completes the first low-res pass, let alone refining to a reasonable resolution. For future versions I have an idea to make the RTP more closely match the final renders, it will just take longer to refine the RTP image. It would still use the approximation for the first few passes/iterations so that quick feedback is possible, and then render the higher iterations with the slow-but-accurate method. (In fact it won't just be one system or the other, it will progressively refine from the approximation to the accurate solution).

Matt
Title: Re: Beta 4 - Preview unlike render.
Post by: Mr_Lamppost on July 03, 2016, 09:49:24 AM
Thanks Matt, that's more or less what I expected, I am used to seeing the lighting become more accurate as the preview refines.  It may just be this scene but both the regular and RTP previews had converged very quickly to their final state with very little change  from the first iteration.   I had let both processes complete, the RTP had restarted because I'd resized the window just before taking the screen grab. Doh.



Title: Re: Beta 4 - Preview unlike render.
Post by: ASK51 on July 20, 2016, 04:50:42 AM
Hey,

I am also having issues with this, depending on the lighting of the scene its more or less obvious. I can totally understand what Matt means with the approximation of the clouds, but I dont really understand why this influences colors in the atmosphere as well.
Also, I am in general not sure why an approximation for accuracy on rendered clouds would introduce color shifts like that. From what I can see on your images Mr_Lamppost, its the same color shifts you have as I do. So everything thats blue-ish in the final render just looks a lot more orange in the preview.

We did some comparisons and corrections in Nuke with both images and there is definitely something going on with the colors. Also, I colorpicked the clouds at the same spot in preview and render (after applying an average blur to the same areas)

Preview value: 232, 230, 225 - Final Render value: 213, 215, 219. This is only a small difference at that point where I measured, but it spreads over the whole image and makes quite a significant difference in the whole images impression.

Here are some comparison shots:
From Terragen
[attach=1]

Comparison comped in Nuke, left is final render, right is preview
[attach=2]

So yeah, I really only care about color consistency and not image quality for preview vs. render. We want to make skies for HDR realtime rendering and would anticipate accurate results to have less guess work and trial and error involved.

Hope this gives some more insights :)

Thanks a lot!
Title: Re: Beta 4 - Preview unlike render.
Post by: Matt on July 20, 2016, 05:11:54 AM
Thanks for posting those examples. I think it's probably due to the different GI engines used for atmosphere by the RTP and final renders. I could address this by having an option to render final atmospheres with the same GI engine as the RTP, or making the RTP converge towards the same GI as the final renders. I'll try to do one or both of these things for 4.0 or 4.1.

Matt
Title: Re: Beta 4 - Preview unlike render.
Post by: ASK51 on July 20, 2016, 06:02:56 AM
Hey Matt,

that makes sense! Thanks a lot for the update and looking forward to try the changes :)
Title: Re: Beta 4 - Preview unlike render.
Post by: ASK51 on July 21, 2016, 04:28:46 AM
Hey Matt,

I did some more testing, and I just wanted to suggest to always use the GI solution that is used for the final render ;)

The one in the preview always adds some yellowness to the image even if there is nothing in the light and atmosphere settings telling it to be yellow. So if you want to have a neutral sky and would render the final output with the GI solution from the preview, I would expect to get the yellow in the final image as well. Since all settings are set to either white or blue, its really hard to counter that behavior even if both images are consistent with each other.

But yeah...thats really just my suggestion :)
Title: Re: Beta 4 - Preview unlike render.
Post by: ASK51 on October 06, 2016, 10:34:03 AM
Hey again,

I was just curious, since I saw there was a small update to the TG4 release version, how things are going on the side of the GI engines used on RTP vs. Render. Didnt see any changes here in the patch notes so I wanted to ask if this is still planned for like the next patch or something like that.

I am working on some Sunset stuff now and the color inaccuracy is so strong in that particular case that its basically impossible to predict the outcome of the render :(

Any estimate on this would be highly appreciated :)
Title: Re: Beta 4 - Preview unlike render.
Post by: Matt on October 06, 2016, 01:46:13 PM
I plan to have a solution to this (although maybe not a perfect solution) in 4.1, which is targeted for a December release.

Matt
Title: Re: Beta 4 - Preview unlike render.
Post by: EwanD on May 05, 2017, 05:14:59 AM
Hi Matt! i'm having similar issues  with differences in the preview and final renders. I'm just wondering if the option to render final atmospheres with the same GI as the RTP is available somewhere?
I generally prefer the results of the RTP in terms of the tonal balancing and GI and it would be great to be able to match this if needed sometimes,

http://www.planetside.co.uk/forums/index.php/topic,21728.msg218519.html#msg218519 i've posted here as well but KlausK pointed me over to this thread.

thanks for your help!

Quote from: Matt on July 20, 2016, 05:11:54 AM
Thanks for posting those examples. I think it's probably due to the different GI engines used for atmosphere by the RTP and final renders. I could address this by having an option to render final atmospheres with the same GI engine as the RTP, or making the RTP converge towards the same GI as the final renders. I'll try to do one or both of these things for 4.0 or 4.1.

Matt
Title: Re: Beta 4 - Preview unlike render.
Post by: Oshyan on August 09, 2017, 07:08:43 PM
Update: we're still working on a solution to the differences that sometimes occur with clouds in the preview render (RTP) vs. final render. It comes down to the need to reduce the number of voxels in the RTP in order to maintain responsive performance. We hope to find another way to handle this in the near future which should provide more accurate results while still maintaining responsiveness.

- Oshyan
Title: Re: Beta 4 - Preview unlike render.
Post by: D.A. Bentley (SuddenPlanet) on August 29, 2018, 10:30:11 AM
Any new news on this issue?  I was starting to experiment with Easy Clouds, and had some exciting results show up in the RTP, but when I rendered the shading on the clouds, and the cloud shapes were completely different from what I was expecting.  It would be nice to know what the RTP is doing to dumb down the rendering, because it actually looked better than the full render.

Derek
Title: Re: Beta 4 - Preview unlike render.
Post by: WAS on August 29, 2018, 02:20:05 PM
From my own experience I just don't rely on the RTP. It seems broken. No offense Matt. While you say it has to do with Voxels, the actual cloud shapes are different. This seems irrelevant to voxels and more how the preview is reading the cloud settings. As seen in comparisons here, and with some I can make, the shapes, directions, all seem to vary. Sometimes not so bad, and othertimes the results in the render are very different.
Title: Re: Beta 4 - Preview unlike render.
Post by: Matt on August 29, 2018, 02:26:26 PM
I wasn't aware of that. If you encounter the shapes being different, please send us a TGD and we'll see what's going on.
Title: Re: Beta 4 - Preview unlike render.
Post by: WAS on August 29, 2018, 02:30:25 PM
Quote from: Matt on August 29, 2018, 02:26:26 PM
I wasn't aware of that. If you encounter the shapes being different, please send us a TGD and we'll see what's going on.

Will do though I haven't really used the RTP in months due to issues with working on clouds in IT and than rendering to have a somewhat different result. Just wasn't a good work flow, a lot of guessing when I did better guessing based on the basic preview and 2D previews. xD

One thing it seemed very noticeable in is the nebulae stuff. Twists and twirls weren't matching up and lighting interaction was misleading me as to how it was glowing in clouds compared to "star" position.
Title: Re: Beta 4 - Preview unlike render.
Post by: D.A. Bentley (SuddenPlanet) on August 29, 2018, 03:13:08 PM
Quote from: Matt on August 29, 2018, 02:26:26 PM
I wasn't aware of that. If you encounter the shapes being different, please send us a TGD and we'll see what's going on.

Thanks Matt.  I'll send my example file tonight when I get home.

Derek
Title: Re: Beta 4 - Preview unlike render.
Post by: D.A. Bentley (SuddenPlanet) on September 12, 2018, 04:13:46 PM
I forgot to send an example Matt, but I was doing some rendering and discovered something interesting.  Look at how the shadowed areas in the render show up like fog in the RTP.  Interesting eh?  Not sure if it related to why we were seeing different shapes in the RTP as compared to the final render of certain clouds.

[attach=1]
[attach=2]

Derek