sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [PLUGIN]MITSUBA Render Exporter v1.5.0(20141109)

    Scheduled Pinned Locked Moved Plugins
    102 Posts 18 Posters 189.9k Views 18 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bluecd
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • T Offline
        tak2hata
        last edited by

        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!


        by TAK2HATA

        1 Reply Last reply Reply Quote 0
        • B Offline
          bluecd
          last edited by

          Still some error:
          http://www.pasteall.org/pic/79213

          http://www.pasteall.org/pic/79216

          1 Reply Last reply Reply Quote 0
          • B Offline
            bluecd
            last edited by

            Yeaahhh ! great-seems I needed to reopen SKetchup, thank you !

            BTW: is lightbulb effect for s point light still present?

            1 Reply Last reply Reply Quote 0
            • B Offline
              bluecd
              last edited by

              Wll, for me its great news and support for present work, I got a few questions to you though:

              1. Is/would light temperature be supported? (Spectra Lighting) ?
              2. Volumetrics?
              3. Antialiasing (how to adjust) ?
              4. 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..)))
              5. 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 Reply Last reply Reply Quote 0
              • B Offline
                bluecd
                last edited by

                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:in to_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:in block 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:in export_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:in export' 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:in block in render_show_webdialog' -e:1:in call'

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tak2hata
                  last edited by

                  @bluecd said:

                  Wll, for me its great news and support for present work, I got a few questions to you though:

                  1. Is/would light temperature be supported? (Spectra Lighting) ?
                  2. Volumetrics?
                  3. Antialiasing (how to adjust) ?
                  4. 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..)))
                  5. 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.


                  by TAK2HATA

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bluecd
                    last edited by

                    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 ?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tak2hata
                      last edited by

                      @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.


                      by TAK2HATA

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bluecd
                        last edited by

                        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/79248

                        Is 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,

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tak2hata
                          last edited by

                          @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/79248

                          Is 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.


                          by TAK2HATA

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tak2hata
                            last edited by

                            Hi,all.
                            I update this to v1.5.0 in 2014.11.09.
                            Imrpove and add many parameters on dialog.
                            Thanks.


                            by TAK2HATA

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bluecd
                              last edited by

                              This is great, thank you !
                              Are you a programmer - if not-where did you learn Ruby?
                              May other develope your code?

                              cheers,

                              1 Reply Last reply Reply Quote 0
                              • Didier BurD Offline
                                Didier Bur
                                last edited by

                                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):

                                mitsloadbug.jpg

                                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 ?

                                DB

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  driven
                                  last edited by

                                  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?

                                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                                  1 Reply Last reply Reply Quote 0
                                  • Didier BurD Offline
                                    Didier Bur
                                    last edited by

                                    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 😞

                                    DB

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      driven
                                      last edited by

                                      what about the .bak version, which is the original 0.4.0...

                                      john

                                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                                      1 Reply Last reply Reply Quote 0
                                      • Didier BurD Offline
                                        Didier Bur
                                        last edited by

                                        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...

                                        DB

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bluecd
                                          last edited by

                                          Hi again,

                                          I guess your still much busy but if could just take a look on some error that occured
                                          while exporting to Mitsuba:

                                          http://www.pasteall.org/pic/94792
                                          OR
                                          [TriMesh] Encountered an invalid format !

                                          Ive noticed its somehow mentioned earlier BUT..I used just PNG texture and thats the only texture in the model so far. PNG incl. transparency (its a metal mesh texture w/alpha).

                                          no idea why it happens but it happens.
                                          it kill my arch.work at the moment (((

                                          cheers,

                                          bcd

                                          1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            ExpertBeater
                                            last edited by

                                            a recent render of an interior scene 10mn to render,

                                            http://img15.hostingpics.net/thumbs/mini_178479tomodify3.jpg

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement