REQ:make volumetric material outside camera renderable

Feature requests, bug reports and related discussion
Post Reply
15 posts • Page 1 of 1
ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

REQ:make volumetric material outside camera renderable

Post by ior » Tue Sep 11, 2012 9:42 am

The problem relies on the fact that when camera and light are outside a sss material with ior different that the one that is surrounding light and camera, the ray paths do not know were to hit the light and camera, so sss volumetrics can be very slow to converge, especially when the light source is small.

But there is no reason for the paths not knowing were to go if the object has the ior of 1 and the rest of the scene the ior of 1 as well.

So it cannot be difficult to enable this in indigo.

User avatar
Zom-B
1st Place 100
Posts: 4655
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: REQ:make volumetric material outside camera renderable

Post by Zom-B » Tue Sep 11, 2012 6:11 pm

That shouldn't actually be a problem I always thought...

But take care to set the precedence of the material right!
Indigos "Air" has a precedence of 1, others should have more.
The Volume with the higher P value cuts in the one with lower value.
Same values for intersecting volumes do mess with the system ;)
polygonmanufaktur.de

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: REQ:make volumetric material outside camera renderable

Post by CTZn » Tue Sep 11, 2012 11:36 pm

Also, using sss defeats the reasoning according to wich "the ior is 1 therefore the ray knows were to go". Scattering is changing the rays direction at any time and some are even dying within the volume. This makes sss a slow process.

Besides, I'm not sure that Indigo would make assumptions when the medium IOR would be 1.0.
obsolete asset

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Wed Sep 12, 2012 10:57 am

CTZn wrote:Also, using sss defeats the reasoning according to wich "the ior is 1 therefore the ray knows were to go".
I do not agree. Rays do know were to go ->in a straight line ->if the ior is the same on the start and on end of the ray.
CTZn wrote:Scattering is changing the rays direction at any time and some are even dying within the volume. This makes sss a slow process.
Scattering does not change the ray direction, it just split the ray, if the object do not change ior.



It is an ancient issue that I spoked before.
But I have thought about it more and look a paper about unbiased rendering and I reached the conclusion that there is no reason for the fog to work grate inside camera and outside very slow. Am I wrong? If so give me a reason.

On the first post you can see the difference between inside and outside:
http://www.indigorenderer.com/forum/vie ... 11&t=10286

User avatar
OnoSendai
Developer
Posts: 6180
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: REQ:make volumetric material outside camera renderable

Post by OnoSendai » Thu Sep 13, 2012 5:08 am

Hi, ior is right,
currently in Indigo in bidir mode, connections are not made through IOR1: IOR 1 interfaces. This can result in noisy renderings in some cases.
I'll try to fix this somewhat soon!

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Thu Sep 13, 2012 8:42 am

:D

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: REQ:make volumetric material outside camera renderable

Post by CTZn » Thu Sep 13, 2012 2:43 pm

Good point ior, I could have sworn that you were bluffing with me :) I don't know that much.
obsolete asset

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Sat Nov 03, 2012 1:43 pm

OnoSendai wrote:Hi, ior is right,
currently in Indigo in bidir mode, connections are not made through IOR1: IOR 1 interfaces. This can result in noisy renderings in some cases.
Hey Ono.
The noisy renders exist always with this current mode.
If you have large illumination areas the render will not be so noisy.
But if your scene has only a small illumination point, noise will appear depending in how small is the illumination.
Small=noisy.

It is like having some caustics or fog behind a glass, or reflected in a mirror.

In this post it seems that you have implemented what I am talking about:
http://www.indigorenderer.com/forum/vie ... &start=164

When can we see that improvement?

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Sat Jan 19, 2013 9:03 pm

I realized now that since, don't know when, single CPU PT renders fog correctly outside and inside camera! :)
Here an example:
fog slit 02.jpg
Now we only need that in GPU and BIDIR.

When?

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Tue Oct 22, 2013 5:42 am

Maybe only in indigo 4 we are getting this feature.

Volumetric fog on bidir and MLT, When?

User avatar
OnoSendai
Developer
Posts: 6180
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: REQ:make volumetric material outside camera renderable

Post by OnoSendai » Tue Oct 22, 2013 5:42 am

Soon after 3.6.

ior
Posts: 166
Joined: Tue Aug 24, 2010 11:47 am

Re: REQ:make volumetric material outside camera renderable

Post by ior » Tue Oct 22, 2013 5:44 am

Cool :)

User avatar
OnoSendai
Developer
Posts: 6180
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: REQ:make volumetric material outside camera renderable

Post by OnoSendai » Thu Dec 05, 2013 9:18 am

This is in trunk (bidir works properly with same IOR interfaces now), will be available next beta.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: REQ:make volumetric material outside camera renderable

Post by CTZn » Fri Dec 06, 2013 2:15 am

Is it to say that bidir will become an option for clouds and atmosphere rendering ? I've got troubles realising what this means, sounds like a must though.
obsolete asset

User avatar
OnoSendai
Developer
Posts: 6180
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: REQ:make volumetric material outside camera renderable

Post by OnoSendai » Fri Dec 06, 2013 2:36 am

CTZn wrote:Is it to say that bidir will become an option for clouds and atmosphere rendering ? I've got troubles realising what this means, sounds like a must though.
yes, should be.

Post Reply
15 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest