Comments (2)
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.
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.
from io_scene_pbrt.
Related Issues (20)
- multiple materials on the same mesh HOT 7
- Add support for mediums HOT 1
- How to export? HOT 5
- Output path issue HOT 1
- Fix mesh export bug HOT 3
- Texture export in disney material is missing. HOT 1
- Skip material export of objects with no material assigned. HOT 1
- AttributeError: 'Scene' object has no attribute 'update' HOT 3
- Fix so that export_texture_from_input(...) returns 'none' if no texture is assigned. HOT 1
- Some times materials has to be removed fully, then re-apply to make it export HOT 2
- Fix so that render panel only shows up when PBRT render engine is selected HOT 1
- field of view HOT 3
- issue with subsurface modifier HOT 3
- Update so that it exports to native Pbrt-v4 format HOT 2
- Blender area lights HOT 3
- Fix so that custom nodes shows texture in viewport. HOT 1
- Add support for hair.
- Is projection light source supported? HOT 1
- Fix so that shader nodes shows up in latest blender for pbrt-v4-support branch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from io_scene_pbrt.