[PLUGIN]MITSUBA Render Exporter v1.5.0(20141109)
-
Trying for the first time. Geting this error messsage in ruby console on export. Sketchup 2014 Mac:
Error: #<NoMethodError: undefined method
alpha' for nil:NilClass> /Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1145:in
matcoder'
/Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1093:inblock in export_this_material' /Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1083:in
each'
/Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1083:inexport_this_material' /Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:804:in
export_mtl_material'
/Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:311:inexport_geom_xml' /Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:125:in
export'
/Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:23:instartexport' /Users/m_singer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_settings.rb:109:in
block in render_show_webdialog'
-e:1:in `call' -
Hi,m_singer.
I update this to v1.4.1 in 2014.09.17.
I think you set the default material as dielectric.
I find the problem on windows 7,too.
It become fixed.
Thanks. -
Hello!
Its may first post on Skechucation sohello to everyone and special thanks to Tak2hata
for Mitsuba interface, its great idea&job ! /I hope you keep on developing it still )))Lately I tried to use Mitsuba w/Skecthup for my work but it ran unpredicatbly - once was OK, the other time it stopped importing scene, below one of the examples of failure:
http://www.pasteall.org/pic/79184
cheers,
bbcd
-
Hi,bluecd.
I update this to v1.4.4.@bluecd said:
Hello!
Its may first post on Skechucation sohello to everyone and special thanks to Tak2hata
for Mitsuba interface, its great idea&job ! /I hope you keep on developing it still )))Lately I tried to use Mitsuba w/Skecthup for my work but it ran unpredicatbly - once was OK, the other time it stopped importing scene, below one of the examples of failure:
http://www.pasteall.org/pic/79184
cheers,
bbcd
The problem is fixed.
I think it work fine now.
Thanks! -
Still some error:
-
Yeaahhh ! great-seems I needed to reopen SKetchup, thank you !
BTW: is lightbulb effect for s point light still present?
-
Wll, for me its great news and support for present work, I got a few questions to you though:
- Is/would light temperature be supported? (Spectra Lighting) ?
- Volumetrics?
- Antialiasing (how to adjust) ?
- Pls help w/some hint to fully understand and make use of the settings in Your Exporter 0 I am NOT a novice in CG/Viz but many of the parameters are not so obvious still..)))
- UI would need some organizing-I am open to help in any way(graphics?), personally I'd suggest a vertical windows like VRay's or CleanUp3 plugin?
How could one help you to polis/develope this great work (I am not a programmer unfrotunately ((
cheers,
-
And another very annoying error: after a few tries ,when I push EXPORT it holds for a while,
then releases and ...nothing happens: (AMD Phenom X4)Error: #<ArgumentError: Cannot convert "14.999999999999998" to Length>
C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1018:into_l' C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:1018:in
export_this_material'
C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:822:inblock in export_mtl_material' C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:818:in
each'
C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_material.rb:818:inexport_mtl_material' C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:311:in
export_geom_xml'
C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:125:inexport' C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mitsuba_main.rb:23:in
startexport'
C:/Users/AB/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/t2h_su2objmtl_mitsuba/mod_mitsuba_settings.rb:109:inblock in render_show_webdialog' -e:1:in
call' -
@bluecd said:
Wll, for me its great news and support for present work, I got a few questions to you though:
- Is/would light temperature be supported? (Spectra Lighting) ?
- Volumetrics?
- Antialiasing (how to adjust) ?
- Pls help w/some hint to fully understand and make use of the settings in Your Exporter 0 I am NOT a novice in CG/Viz but many of the parameters are not so obvious still..)))
- UI would need some organizing-I am open to help in any way(graphics?), personally I'd suggest a vertical windows like VRay's or CleanUp3 plugin?
How could one help you to polis/develope this great work (I am not a programmer unfrotunately ((
cheers,
1....NO.
2....Dipole material supported.
3....Please read mitsuba document.larger Sample count or large Image Size will help you.
4....Please read mitsuba document.
5....I could not understand this question.and I did not use V-ray.
I think this plugin is not golden master ,but the setting are enough for architect image rendering.
I want see your works.
They will help me.
Also the opinions without working will help but small.Thanks.
-
http://www.pasteall.org/pic/79245
Thank you for your response!
Above a scene from my latest work/early Christian church/ I got to finish until Tuesday, but MItsuba exporter refused to cooperate-I described in previous post along w/ Ruby console.
Just happens nothing after pressing EXPORT and a while of 'hesitation'...(((Is there a chance the error is recogniazble and could be corrected soon?
cheers,
UPDATE to previous post w/Ruby console output included:
I have partly figured out the problem source:
I started to adjust Sketchup materials w/Mitsuba editor.
One of the textures had a bump map added - after clearing material in Mitsuba Editor all was happily OK )))For further consideration/correction/error handling ?
-
@bluecd said:
http://www.pasteall.org/pic/79245
Thank you for your response!
Above a scene from my latest work/early Christian church/ I got to finish until Tuesday, but MItsuba exporter refused to cooperate-I described in previous post along w/ Ruby console.
Just happens nothing after pressing EXPORT and a while of 'hesitation'...(((Is there a chance the error is recogniazble and could be corrected soon?
cheers,
UPDATE to previous post w/Ruby console output included:
I have partly figured out the problem source:
I started to adjust Sketchup materials w/Mitsuba editor.
One of the textures had a bump map added - after clearing material in Mitsuba Editor all was happily OK )))For further consideration/correction/error handling ?
Hi,bluecd.
I update this to v1.4.5.
Bugfix about local numeric format.(e.g. "0.1234" and "0,1234")
and improvewriting parameter of material editing.Thanks.
-
Thank you, Tah2Hata !
Now I got a chance to finish my work ! )))
A question: while render is active there are Render settings on Mitsuba's window - such parameters as Reconstruction, Sampler, IR, Adaptive cache etc etc.
They work condtionally and are related to each other, also specific materials require specific integrators (eg. SSS) - these options(and possible error) are shown ONLY on Mitsuba's Settings window and NOT in your Exporter, could they be duplicated&adjusted from within Exporter also-so one could choose right render mode according to materials and other parameters (and potential discrepancies could be signalised prior to render start?) ?There must have also been a bug related to Sky scale: setting values exceeding ca. 3.9 causes error.
Additinal question: I have noticed clearly visible, sharp, shattered shadow edges from the Point Lights , Sample count does not seem to correct the issue - you have any idea about it?
http://www.pasteall.org/pic/79248Is DOF missing from latest Exporter or am I wrong??
;;;
Could the rendering process be somehow GPU-accelerated by eg. CUDA (on Nvidia cards or OpenCL on AMD) ?
cheers,
-
@bluecd said:
A question: while render is active there are Render settings on Mitsuba's window - such parameters as Reconstruction, Sampler, IR, Adaptive cache etc etc.
They work condtionally and are related to each other, also specific materials require specific integrators (eg. SSS) - these options(and possible error) are shown ONLY on Mitsuba's Settings window and NOT in your Exporter, could they be duplicated&adjusted from within Exporter also-so one could choose right render mode according to materials and other parameters (and potential discrepancies could be signalised prior to render start?) ?There must have also been a bug related to Sky scale: setting values exceeding ca. 3.9 causes error.
Additinal question: I have noticed clearly visible, sharp, shattered shadow edges from the Point Lights , Sample count does not seem to correct the issue - you have any idea about it?
http://www.pasteall.org/pic/79248Is DOF missing from latest Exporter or am I wrong??
;;;
Could the rendering process be somehow GPU-accelerated by eg. CUDA (on Nvidia cards or OpenCL on AMD) ?
cheers,
Hi,bluecd.
1st...I could not include all of Mitsuba Rendering parameter.
Mitsuba has GUI,so They can be set on GUI.
And I think "Extended Volumetric Path tracer" is most multipurpos integrator.2nd....The exceeding value about Sky Scale did not make error here.
Send me your scene file and skp file.3rd....What integrator did you use?
Pathtracer renders pixel by pixel.
Sampling weight of pointlight means weight between other light sources.
I guess your picture(http://www.pasteall.org/pic/79248) was takes from realtime preview.
Shadowmap Resolution setting exists in "Virtual Point Light Render" integrator and "Realtime Preview".4th..."apertureRadius" and "Focal distance" is shown when "Thinlens" or "Telecentric" lenstype selected.
This plugin version is WIP.So I am modifing the rendering setting parameters to be shown with selecting related options.5th...GPU accelerate is not supported in mitsuba render.
Please send future request to the author of Mitsuba Render.
I am not author of Mitsuba Render.This plugin is free for use,so the functions are limited by my workload.
Please make full use in this limitation.
Thanks. -
Hi,all.
I update this to v1.5.0 in 2014.11.09.
Imrpove and add many parameters on dialog.
Thanks. -
This is great, thank you !
Are you a programmer - if not-where did you learn Ruby?
May other develope your code?cheers,
-
Hi,
This is not directly related to this plugin (I think), but after having installed Mitsuba 0.5.0, I always get this message when loading a scene (no matter its version):
The offending line is the one with the "scene version" property:
<?xml version="1.0" encoding="utf-8"?> <scene version="0.5.0"> <integrator type="irrcache"> <integer name="resolution" value="6"/>
And the last lines of the log are:
2015-09-27 19;05;41 INFO load [sceneloader.cpp;101] Parsing scene description from "C;\Users\bur\Dossiers\Exercices\Mitsuba\Scenes\sponza\sponza.xml" .. 2015-09-27 19;05;41 WARN load [scenehandler.cpp;807] Warning in file "" (line 0); (null) 2015-09-27 19;05;41 DEBUG load [Thread] Thread "load" has finished
I've tried lot of things to find a solution, no luck
Anyone has encountered this ?
-
I got this message
@unknownuser said:
The requested scene file is from an older version of Mitsuba (0.4.0). To work with version 0.5.0, it will need to be updated. If you continue, Mitsuba will perform a fully automated upgrade (note that a backup copy will be made).
Proceed?
so here's the files it produced...does this one work?
-
Thanks Driven,
No this one doesn't work. I had tried to change the version number of my sponza.xml, no luck, and with yours I'm getting the same error -
what about the .bak version, which is the original 0.4.0...
john
-
Hi John,
No, the bak file doesn't work either. I suppose that the scene file is OK but that there is something wrong with my Mitsuba installation or configuration...
Advertisement