[REQ] Tracing priority

Feature requests, bug reports and related discussion
User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

[REQ] Tracing priority

Post by CoolColJ » Sat Sep 01, 2007 11:13 am

Would it possible to implement something like Aeronoise in Fry, but more like Exit portals in execution in Indigo?

say you do a render, and find after a few hours, most of the scene is clean except this SSS object. So wouldn't it be nice to then modify the scene and put a bounding box around the SSS object, and then give it a value of how many traces per every 10 traces are shot towards this object, and give preference for mutations that shoot towards this bounding box?
So if you gave it a 9 trace out of 10 value, Then every 9 traces out of 10 are shot towards this bounding box, and the remaining 1 is used for the rest of the scene and so on

then you just resume the render with this modified scene with the priority box in place.

The priority box can be used for say an object or just a noisey area etc

Something like this will reduce the disadvantage of unbiased rendering, where some areas like directly lit diffuse material clean up really quickly, and waste trace/samples. And will also allow quicker preview of the main scene focus

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Sep 01, 2007 8:15 pm

interesting Idea :D

If auto and manual selective rendering is too hard to add, that would be a great thing :D

Exporter writers could even make it, building such a thingy, automatically, where the bounding box is :)

I'd prefer a non-turn-off-and-resume solution, though :)

what about that Δ-sampling, btw? Any chance to find out how it works and to add it? :)

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

Post by CTZn » Sun Sep 02, 2007 2:27 am

If the bounding box you're talking about is drawn upon the image, I'd prefer a solution where geometries (or materials, or possibly both) are marked as slower to converge before rendering, like precedence for sss.

I dont like the idea of a box, I'd prefer a freehand drawn region (lasso tool) with weighted boundaries so you don't have a geometric stamp on your image.

If the bounding box you're talking about is an invisible geometry (like a "per object" exit portal) wrapping the object, then I still prefer that solution to region rendering, wich is finally a very old request and not that useless, agreed :)
obsolete asset

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Sep 02, 2007 2:42 am

OR a global setting for this :D

sort of forumlas, that "know" how much more rays on highly scattering media (in example) must be made than for diffuse, to clear up, and add that info to the kd-tree to make the render update more uniformly :D - everything would clear up the same time (diffuse stuff would need for ever, though, if there was milk, anywhere^^)

the hard thing is, that you also roughly need to know, where there are reflections of such materials... - if you don't see the milk, directly, but in mirrors or even through (the) glass :)

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

Post by CTZn » Sun Sep 02, 2007 3:00 am

Yes but that would be the hardest technique to code, having a prepass to approximately define sample densities and set priority level accordingly. Maybe an importance sampling algorithm could help, but that's out of my reach to say.

But indeed automatized sample eveness would be some luxe :D
obsolete asset

User avatar
Stur
Posts: 594
Joined: Fri Nov 10, 2006 11:52 pm
Location: Nancy, France

Post by Stur » Sun Sep 02, 2007 5:45 am

I'm glad to see that some other people also want kind of a region rendering for materials that are hard to clean.
I suggested something similar in the past, except that instead of a bounding box I suggested to name objects that should have a higher priority.

http://www.indigorenderer.com/joomla/fo ... php?t=1746

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

Post by CTZn » Sun Sep 02, 2007 5:48 am

obsolete asset

User avatar
Stur
Posts: 594
Joined: Fri Nov 10, 2006 11:52 pm
Location: Nancy, France

Post by Stur » Sun Sep 02, 2007 6:08 am

Bravo, you think of it first :P


My intention was just to add some weight to this topic by reminding that this is an awaited feature by many people. We still do not know if's it technically possible, though.

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

Post by CTZn » Sun Sep 02, 2007 6:27 am

My intention was by no mean to offend you, that's my monkey's pride again, sorry ;)
obsolete asset

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Sun Sep 02, 2007 11:06 am

I would instead prefer a simple 1-bit image mask that I could specify a tracing priority through.

Black = 10% of the tracing time
White = 90% of the tracing time

The mask would have to be created by hand, AFTER your first render (for a few moments, at least).

Then load indigo again, resume, and effort is focused onto those areas.

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

Post by Zom-B » Sun Sep 02, 2007 11:24 am

The state-of-the-art method would be a possibility to freehand draw on the output window in runtime and set priority for the drawn region.

The Main Point is, to control the Priority setting in runtime!

Perhaps its also possible to set priority to some indigo specific calculations like caustics, shadows, sky or based on material settings like diffuse, phong etc.

I think in the (far) future adding functonality to the GUI output Window will be a big thing!
polygonmanufaktur.de

User avatar
Stur
Posts: 594
Joined: Fri Nov 10, 2006 11:52 pm
Location: Nancy, France

Post by Stur » Sun Sep 02, 2007 12:25 pm

No offense Ctz ;)

But, we still don't know if region rendering would really speed up things with a physic renderer like Indigo.

Master Ono ? A thought about that ?

oogsnoepje
Posts: 35
Joined: Sat Aug 18, 2007 10:20 am

Post by oogsnoepje » Sun Sep 02, 2007 9:30 pm

ZomB wrote:The state-of-the-art method would be a possibility to freehand draw on the output window in runtime and set priority for the drawn region.

The Main Point is, to control the Priority setting in runtime!

Perhaps its also possible to set priority to some indigo specific calculations like caustics, shadows, sky or based on material settings like diffuse, phong etc.

I think in the (far) future adding functonality to the GUI output Window will be a big thing!
More functionality would be nice, but is it useful? Why not just say: "object X should receive more rays"?

(probably the same as mentioned above but I didn't read the linked topic)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Sep 02, 2007 9:34 pm

I guess, my idea, with the quite complicated formulas would actually slower things down, but therefore, the image would have a more uniform noise-level. - that's also better for Anims, I guess :)

I guess further, that any of the methods, mentioned, would simply bring a more uniformly sampled picture.

I'm not sure, about that, but, what would you think about a focus map? - that wouldn't really bring SSS render faster, but the things in focus, would look cleaner, sooner - and the things out of focus, are blurred anyway :)
The more out of focus, the less samples to that region...

(blurred anyway, is meant by me, that you in theory could denoise the pic without getting too much blur, as the noisiest regions are the blurriest, anyway)

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Post by CoolColJ » Sun Sep 02, 2007 10:59 pm

I don't think a 2d draw a square around the scene thing works too well , as the scene is 3D and Indigo works in 3D!

Post Reply
33 posts

Who is online

Users browsing this forum: No registered users and 27 guests