Giter VIP home page Giter VIP logo

Comments (2)

natevm avatar natevm commented on May 24, 2024

Hey Stig, thanks for your help on this.

I think the primary BRDF we'd benefit most from being converted on export is Blender's "principled BSDF", which is seems to be nearly identical to the Disney BSDF implemented by PBRT. Hopefully that makes conversion easier. Other Blender BSDF conversions are welcome too though!

We'd ultimately like to test the new Disney BSDF in a couple renderers that are using our PBRT scene importer, but to the best of my knowledge, only the Moana Island scene uses this BSDF, which can be difficult to test on due to the scene size and lack of diverse materials. I have several smaller common test scenes with a more diverse set of materials, which I've modified to use solely use Blender's principled bsdf with the hope that I can export the scenes as PBRT files at some point.

I'm thinking I might be able to use your exporter for this once this feature request is implemented.

from io_scene_pbrt.

stig-atle avatar stig-atle commented on May 24, 2024

I have pushed some basic support for this now (no texture yet, I'll work on that next).
Keep in mind that the bsdf material color will not show up in viewport yet when pbrt is enabled.
Here is a simple example, one of each, meaning one is pbrt disney, one is bsdf (but converted on export). I will add texture support, and any missing parameters conversion.
Not all parameters are 1 to 1, so there is some inconsistencies here, but I took the most obvious ones tonight. I'll drop a comment again when further support is fixed.

image

from io_scene_pbrt.

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.