Thank you everyone for your nice comments!
I didn't post any new version of the plugin since a long time (3 days
), but I'd like to give you an update about the development. I've completely rewritten large parts of the code and I believe it is now easier to maintain and add extra functionalities, if any.
What to expect:
- 'Samples Presets' now working
- camera attributes (DoP, Lens Ap) are now only exported if 'Export Camera Settings' is checked
- images export fixed
- tweaked diffuse and specular values at mtl export
- supports relative paths everywhere
- additional logging
- changed some default settings
- auto-fix of material names with spaces
- auto-fix of names for images that are copied with export
- prevent MTL export when 'no image copy' AND an image source name/path has spaces
- now forces user to have a project name without spaces
- now forces user to have a project directory wihtout spaces
- now forces user to have an image output directory without spaces
(the latest 6 items are here to prevent bugs in Octane parsing its command line or the mtl file. I got confirmation that this won't be fixed at the moment so I've choosen to warn the user at early stage and prevent exporting if it's known that Octane won't get the information properly).
Problems at the moment:
- lots of resolution presets from blender are for non-square pixels, so result in Octane may not match preview from camera in blender if you don't manually fix back the aspect ration to 1:1 in the blender render panel. I've having hard times to find a workaround to reset aspect ratio automatically so the blender's camera view reflects the visible zone in onctane)
- small change in blender API implies a variable has to be renamed depending on Blender build. Very easy to fix, but it means 2 versions depending on the blender's build...
Stay tuned and have fun!
Happy rendering,
Lionel