Author Topic: Precise Embree option  (Read 5011 times)

2015-01-18, 18:44:52

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
Any reason why you would check these (on by default), I see no difference on multiple tests, including animation.
Why not have free 70k ray/s / faster render?

I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2015-01-18, 18:47:42
Reply #1

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Any reason you would mess with debug settings?

2015-01-18, 18:48:38
Reply #2

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
Any reason you would mess with debug settings?
Free powa :D
No, just curious to know, when the precision is needed.
« Last Edit: 2015-01-18, 18:53:21 by SairesArt »
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2015-01-18, 18:56:34
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
render interior lit by enviro light with high-poly one-sided geometry curtains in windows and you will see ;

it helps with this kind of small light leaks. 70k rays/s will save you few minutes... but if you ever run into this problem, you will lose hours. So it is on as an insurance ;)

I would put it in more prominent tab and announce its meaning, but then the internet would be full of "100% universal settings" guides telling people to turn it off as a first thing in new scene. And then there would be bug reports from clue-less people about light leaks ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-01-18, 20:31:45
Reply #4

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
render interior lit by enviro light with high-poly one-sided geometry curtains in windows and you will see ;
Ye, found light leak in translucent materials, this is fixed by the precise flag.
I'm still curious though what "high quality" means. If it's no trouble I'd love to know...
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2015-01-18, 21:22:10
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
it enables the "precise" flag in embree. That causes embree to use slower ray-triangle intersection algorithm, that is watertight (does not let any rays through on boundaries).

I think you mentioned you study IT, so you probably know about problems with float imprecision. The fastest ray-triangle intersection method (moller-trumbore) suffers from some catastrophic cancellations in some cases - it calculates the volume of tetrahedrons created from ray origin, intersection point, and 2 points of the triangle. This volume is zero on edges, because all 4 points lie in single plane. This zero will easily ruin your day, because you need to invert it.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-01-18, 21:43:34
Reply #6

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
it calculates the volume of tetrahedrons created from ray origin, intersection point, and 2 points of the triangle. This volume is zero on edges, because all 4 points lie in single plane. This zero will easily ruin your day, because you need to invert it.
thx^^
ye, I study computer-science
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )