Giter Club home page Giter Club logo

Comments (5)

virtualzavie avatar virtualzavie commented on June 24, 2024 1

Fair enough, we can put a soft-max and see if we have feedback on it. For sliders in scene units, 1 seems reasonable indeed.
A paragraph on the topic could be useful as well.

from openpbr.

portsmouth avatar portsmouth commented on June 24, 2024 1

@virtualzavie Do you mind to make a pull request for this?

from openpbr.

portsmouth avatar portsmouth commented on June 24, 2024

This is difficult since it depends on the scene units, and the length scale of the object being rendered. A depth of 1e6 would be reasonable when rendering a 1km wide body of water in mm units, say, though that's probably atypical.

However if you make the upper limit too large, then the user ends up with a useless slider most of the time. In Maya transmission_depth (soft) maxes out at 100.0, so if you're working in the default cm units with some volume with a MFP of O(1cm) (e.g. orange juice), the slider is functionally useless.

Similarly for subsurface_radius which (soft) maxes out at 10.0 while skin MFP is typically O(1mm).

I think this is really a UI problem though, i.e. the solution is better slider UIs where you can easily adjust the range for convenience.

In the meantime, I'd propose a soft-max of 1.0. At least then for typical objects/units (where MFP and units are roughly in the same ballpark) the slider will do something useful over most of the range, and it's a soft-max so seems more appropriate for it to be too small than too large (i.e. it's more natural to increase it as needed, rather than decrease it from some large default value).

from openpbr.

virtualzavie avatar virtualzavie commented on June 24, 2024

Will do.

from openpbr.

jstone-lucasfilm avatar jstone-lucasfilm commented on June 24, 2024

Thanks for this recommendation, @virtualzavie, as well as for the fix in #114. I'll go ahead and mark this as resolved.

from openpbr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.