[PLUGIN]MITSUBA Render Exporter v1.5.0(20141109)
-
Yes Driven,
You are right, now in the ruby console I have just this:"All Mesh Stored:0.157000064849854 sec"
"OBJ file exported:0.177999973297119 sec"
"OBJ&MTL export finished! time is 1.2409999370575 sec"for one render! No other error message but no change about material preview!
EDIT 3: Today I have found this file mitsuba.PC-de-Patrick.log in my Mitsuba folder:
(Of'course PC-de-Patrick is the name of my computer!)2014-05-14 12:05:10 INFO main [mitsuba.cpp:256] Mitsuba version 0.5.0 (Windows, 32 bit), Copyright (c) 2014 Wenzel Jakob
2014-05-14 12:05:10 INFO main [mitsuba.cpp:356] Parsing scene description from "C:\Program Files\Google\Google SketchUp 8\Plugins\t2h_su2objmtl_mitsuba\matpreview\matpreview2.xml" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\volpath.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\independent.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\gaussian.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\ldrfilm.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\perspective.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\envmap.dll" ..
2014-05-14 12:05:10 INFO main [EnvironmentMap] Loading environment map "envmap.exr"
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\lanczos.dll" ..
2014-05-14 12:05:10 INFO main [EnvironmentMap] Precomputing data structures for environment map sampling (515.0 KiB)
2014-05-14 12:05:10 INFO main [EnvironmentMap] Done (took 1 ms)
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\checkerboard.dll" ..
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\gridtexture.dll" ..
2014-05-14 12:05:10 WARN main [scenehandler.cpp:795] In file "C:\Program Files\Google\Google SketchUp 8\Plugins\t2h_su2objmtl_mitsuba\matpreview\matpreview2.xml" (near line 51): Unqueried attribute "(null)" in element "linewidth"
2014-05-14 12:05:10 INFO main [PluginManager] Loading plugin "plugins\bitmap.dll" ..
2014-05-14 12:05:10 INFO main [BitmapTexture] Loading texture "45x2-YM255DSL-2.jpg"and in the Mitsuba console, I had:
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\path.dll" ..
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\independent.dll" ..
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\mitchell.dll" ..
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\hdrfilm.dll" ..
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\thinlens.dll" ..
2014-05-14 12:13:03 WARN load [ThinLens] Can't have a zero aperture radius -- setting to 0.000100
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\sunsky.dll" ..
2014-05-14 12:13:03 WARN load [properties.cpp:76] Property "sunDirection" was specified multiple times!
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\sky.dll" ..
2014-05-14 12:13:03 DEBUG load [SunSkyEmitter] Rasterizing sun & skylight emitter to an 512x256 environment map ..
2014-05-14 12:13:03 DEBUG load [SunSkyEmitter] Done (took 41 ms)
2014-05-14 12:13:03 INFO load [PluginManager] Loading plugin "plugins\envmap.dll" ..
2014-05-14 12:13:03 DEBUG load [MIPMap] Created 1.0 MiB of MIP maps in 12 ms
2014-05-14 12:13:03 INFO load [EnvironmentMap] Precomputing data structures fofor the zero aperture, I have corrected but for "sunDirection multiple times" I don't see!
EDIT 4: For see in detail the problem, I have load matpreview with mtsgui.exe for obtain the preview and here is the result:
Fatal error with this line:
<string name="label[0, 0]" value="<!-- preview_material_name -->"/>
because the "!" is not read in the "..." like a soft letter but like a command to ruby!!!! VoilĂ the problem!EDIT 5: No excuse me I have understand your code: it's not with Mitsuba that file must be loaded but exec by ruby scripts! But no xml file is created by the ruby script in preview_cash!!!
EDIT 6: I have placed my Mitsuba folder at the same place like you:
C:\freeware\Mitsuba 0.5.0... and try but nothing new below the sun!
I can render a scene with Mitsuba but not a material preview!Do you have the same extension.rb and sketchup.rb files like me?
https://www.dropbox.com/s/m372x7o9ad0as3r/rubyfiles.zip -
Hi,everyone!
I update this to version 1.3.5 in 2014.05.15.
v1.3.5:Unit Length problem fixed.Local comma problem fixed.Enjoy!
-
Hi Tak2hata,
Thanks for your job.
In this release 1.3.5, I have this new problem:
https://www.dropbox.com/s/1gn2r6h1dww691d/Capture_render1.3.5.PNG
When I click the render button in Mitsuba, there are a double line in the progress-bar and I don't see the little bucket-pass jogging on the image! ???TRACEBACK Mitsuba console:
2014-05-14 19:21:16 INFO main [mainwindow.cpp:80] Mitsuba version 0.5.0 (Windows, 32 bit), Copyright (c) 2014 Wenzel Jakob
2014-05-14 19:21:16 INFO main [mainwindow.cpp:83] Configured for RGB-based rendering
2014-05-14 19:21:16 DEBUG main [WGLSession] Initializing WGL session
2014-05-14 19:21:16 DEBUG main [WGLRenderer] Using an existing WGL context
2014-05-14 19:21:16 DEBUG main [GLRenderer] OpenGL renderer : GeForce GT 630/PCIe/SSE2
2014-05-14 19:21:16 DEBUG main [GLRenderer] OpenGL vendor : NVIDIA Corporation
2014-05-14 19:21:16 DEBUG main [GLRenderer] OpenGL version : 4.4.0
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Framebuffers objects are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: GLSL is supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Floating point textures are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Floating point color buffers are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Fast buffer blitting is supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Multisample framebuffer objects are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Vertex buffer objects are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Geometry shaders are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Custom texture filtering is supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Synchronization objects are supported.
2014-05-14 19:21:16 DEBUG main [GLRenderer] Capabilities: Bindless rendering is supported.
2014-05-14 19:21:16 DEBUG main [Thread] Spawning thread "prvw"
2014-05-14 19:21:16 DEBUG prvw [WGLDevice] Initializing WGL device
2014-05-14 19:21:16 DEBUG prvw [WGLRenderer] Initializing WGL renderer
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Accumulation program']
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Directional shadow map generator']
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Paraboloid shadow map generator', maxVertices=4]
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Cube/Hemicube shadow map generator (5/6 pass version)']
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Cube shadow map generator (1 pass version)', maxVertices=18]
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Hemicube shadow map generator (1 pass version)', maxVertices=15]
2014-05-14 19:21:16 DEBUG main [GLProgram] Uploading a GPU program : GPUProgram[name = 'Tonemapper [Gamma]']
2014-05-14 19:21:16 DEBUG main [GLProgram] Uploading a GPU program : GPUProgram[name = 'Tonemapper [Reinhard et al. 2002]']
2014-05-14 19:21:16 DEBUG main [GLProgram] Uploading a GPU program : GPUProgram[name = 'Downsampling program']
2014-05-14 19:21:16 DEBUG main [GLProgram] Uploading a GPU program : GPUProgram[name = 'Log-luminance program']
2014-05-14 19:21:16 DEBUG main [Thread] Spawning thread "load"
2014-05-14 19:21:16 INFO load [sceneloader.cpp:101] Parsing scene description from "C:\freeware\Mitsuba 0.5.0\su_render\Mitsuba_scene.xml" ..
2014-05-14 19:21:16 INFO load [scenehandler.cpp:675] In file "C:\freeware\Mitsuba 0.5.0\su_render\Mitsuba_scene.xml" (near line 2): Parsing included file "(null)" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\bitmap.dll" ..
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "vegetation_grass_artificial.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "vegetation_grass_artificial.jpg" in 1 ms
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\lanczos.dll" ..
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 29 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_embossed.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_embossed.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 128.2 KiB of MIP maps in 1 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_steel_textured_white1.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_steel_textured_white1.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 6 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "vegetation_grass_artificial1.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "vegetation_grass_artificial1.jpg" in 1 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 18 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_corrogated_shiny.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_corrogated_shiny.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 128.2 KiB of MIP maps in 1 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_rusted.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_rusted.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 9 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_steel_textured_white.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_steel_textured_white.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 8 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "vegetation_grass_artificial1.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "vegetation_grass_artificial1.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 6 ms
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\scale.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\roughdiffuse.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\twosided.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\bumpmap.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\diffuse.dll" ..
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_steel_textured_white.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_steel_textured_white.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 7 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "vegetation_grass_artificial.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "vegetation_grass_artificial.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 6 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_rusted.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_rusted.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 512.2 KiB of MIP maps in 8 ms
2014-05-14 19:21:16 INFO load [BitmapTexture] Loading texture "metal_embossed.jpg"
2014-05-14 19:21:16 DEBUG load [BitmapTexture] Loaded "metal_embossed.jpg" in 0 ms
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 128.2 KiB of MIP maps in 1 ms
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\serialized.dll" ..
2014-05-14 19:21:16 INFO load [SerializedMesh] Loading shape 4 from "mitsuba_main.serialized" ..
2014-05-14 19:21:16 DEBUG load [SerializedMesh] Done (2 triangles, 4 vertices, 0 ms)
2014-05-14 19:21:16 INFO load [SerializedMesh] Loading shape 0 from "mitsuba_main.serialized" ..
2014-05-14 19:21:16 DEBUG load [SerializedMesh] Done (20 triangles, 32 vertices, 0 ms)
2014-05-14 19:21:16 INFO load [SerializedMesh] Loading shape 1 from "mitsuba_main.serialized" ..
2014-05-14 19:21:16 DEBUG load [SerializedMesh] Done (2 triangles, 4 vertices, 0 ms)
2014-05-14 19:21:16 INFO load [SerializedMesh] Loading shape 2 from "mitsuba_main.serialized" ..
2014-05-14 19:21:16 DEBUG load [SerializedMesh] Done (12 triangles, 20 vertices, 0 ms)
2014-05-14 19:21:16 INFO load [SerializedMesh] Loading shape 3 from "mitsuba_main.serialized" ..
2014-05-14 19:21:16 DEBUG load [SerializedMesh] Done (2 triangles, 4 vertices, 0 ms)
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\path.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\independent.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\mitchell.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\ldrfilm.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\thinlens.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\sunsky.dll" ..
2014-05-14 19:21:16 WARN load [properties.cpp:76] Property "sunDirection" was specified multiple times!
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\sky.dll" ..
2014-05-14 19:21:16 DEBUG load [SunSkyEmitter] Rasterizing sun & skylight emitter to an 512x256 environment map ..
2014-05-14 19:21:16 DEBUG load [SunSkyEmitter] Done (took 41 ms)
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\envmap.dll" ..
2014-05-14 19:21:16 DEBUG load [MIPMap] Created 1.0 MiB of MIP maps in 14 ms
2014-05-14 19:21:16 INFO load [EnvironmentMap] Precomputing data structures for environment map sampling (515.0 KiB)
2014-05-14 19:21:16 INFO load [EnvironmentMap] Done (took 1 ms)
2014-05-14 19:21:16 INFO load [KDTreeBase] Constructing a SAH kd-tree (38 primitives) ..
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Creating a preliminary index list (152 B)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Computed scene bounds in 0 ms
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] kd-tree configuration:
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Traversal cost : 15.00
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Query cost : 20.00
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Empty space bonus : 0.90
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Max. tree depth : 14
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Scene bounding box (min) : [-118.964, -2.13982e-014, -55.8909]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Scene bounding box (max) : [119.318, 3.14887, 53.2021]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Min-max bins : 128
2014-05-14 19:21:16 DEBUG load [KDTreeBase] O(n log n) method : use for <= 65536 primitives
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Perfect splits : yes
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Retract bad splits : yes
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Stopping primitive count : 6
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Build tree in parallel : no
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 INFO load [KDTreeBase] Finished -- took 0 ms.
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Temporary memory statistics:
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Classification storage : 50 B
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Indirection entries : 0 (0 B)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Main thread:
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Left events : 1 chunks (512.0 KiB)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Right events : 1 chunks (512.0 KiB)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] kd-tree nodes : 81 entries, 1 blocks (512.0 KiB)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Indices : 144 entries, 1 blocks (512.0 KiB)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Total: 2.0 MiB
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Optimizing memory layout ..
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Finished -- took 0 ms.
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Structural kd-tree statistics:
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Parallel work units : 0
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Node storage cost : 632 B
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Index storage cost : 576 B
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Inner nodes : 39
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Leaf nodes : 40
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Nonempty leaf nodes : 35
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Leaf node histogram : 0(5) 1(4) 2(4) 3(2)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] 4(10) 5(6) 6(8) 7(0)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] 8(1) 9(0) 10(0) 11(0)
2014-05-14 19:21:16 DEBUG load [KDTreeBase] 12(0) 13(0) 14(0) 15(0)
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Qualitative kd-tree statistics:
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Retracted splits : 1
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Pruned primitives : 1
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Largest leaf node : 8 primitives
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Avg. prims/nonempty leaf : 4.11
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Expected traversals/query : 1.61
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Expected leaf visits/query : 1.03
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Expected prim. visits/query : 2.04
2014-05-14 19:21:16 DEBUG load [KDTreeBase] Final cost : 64.90
2014-05-14 19:21:16 DEBUG load [KDTreeBase]
2014-05-14 19:21:16 DEBUG load [ShapeKDTree] Precomputing triangle intersection information (1.8 KiB)
2014-05-14 19:21:16 DEBUG load [ShapeKDTree] Finished -- took 0 ms.
2014-05-14 19:21:16 DEBUG load [ShapeKDTree]
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\disk.dll" ..
2014-05-14 19:21:16 INFO load [PluginManager] Loading plugin "plugins\sphere.dll" ..
2014-05-14 19:21:16 DEBUG load [Thread] Thread "load" has finished
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'Background program']
2014-05-14 19:21:16 INFO prvw [PluginManager] Loading plugin "plugins\halton.dll" ..
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'vpl=EnvironmentMapShader, bsdf=BumpMapShader[TwoSidedShader[RoughDiffuseShader[BitmapTextureShader, ConstantFloatTextureShader]], ScalingTextureShader[BitmapTextureShader]], ds']
2014-05-14 19:21:16 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'vpl=EnvironmentMapShader, bsdf=TwoSidedShader[SmoothDiffuseShader[BitmapTextureShader]], ds']
2014-05-14 19:21:17 DEBUG main [Thread] Spawning thread "wrk0"
2014-05-14 19:21:17 DEBUG main [Thread] Spawning thread "wrk1"
2014-05-14 19:21:17 DEBUG main [Thread] Spawning thread "wrk2"
2014-05-14 19:21:17 DEBUG main [Thread] Spawning thread "wrk3"
2014-05-14 19:21:17 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'vpl=BumpMapShader[TwoSidedShader[RoughDiffuseShader[BitmapTextureShader, ConstantFloatTextureShader]], ScalingTextureShader[BitmapTextureShader]], bsdf=BumpMapShader[TwoSidedShader[RoughDiffuseShader[BitmapTextureShader, ConstantFloatTextureShader]], ScalingTextureShader[BitmapTextureShader]], ds']
2014-05-14 19:21:17 DEBUG prvw [GLProgram] Uploading a GPU program : GPUProgram[name = 'vpl=BumpMapShader[TwoSidedShader[RoughDiffuseShader[BitmapTextureShader, ConstantFloatTextureShader]], ScalingTextureShader[BitmapTextureShader]], bsdf=TwoSidedShader[SmoothDiffuseShader[BitmapTextureShader]], ds']
2014-05-14 19:21:24 DEBUG main [Thread] Spawning thread "rend"
2014-05-14 19:21:24 INFO rend [SamplingIntegrator] Starting render job (800x600, 16 samples, 4 cores, SSE2 enabled) ..
2014-05-14 19:21:40 INFO rend [RenderJob] Render time: 16.0550s
2014-05-14 19:21:40 DEBUG rend [LDRFilm] Developing film ..
2014-05-14 19:21:40 INFO rend [LDRFilm] Writing image to "C:\freeware\Mitsuba 0.5.0\su_render\Mitsuba_scene.png" ..
2014-05-14 19:21:40 DEBUG rend [Bitmap] Writing a 800x600 PNG fileand my material preview problem: no change!
Here are the Metal_Rusted.mtbmat.txt for example:
##MAIN_PROPS##
bump
C:/freeware/Mitsuba 0.5.0/su_render/tx_default/metal_rusted.jpg [url no problem!]
bump_width
0.46
useFastApprox
true
bump_scale
43
reflectance
From MODEL
alpha
0.1
bump_height
0.46
twosided
Yes
bsdf_type
roughdiffuse
##COAT_PROPS##
coat_type
none
##LIGHT_PROPS##
light_type
none
##DIPOLE_PROPS##
dipole_type
none
##END## -
Hello,
there is a problem with the position of the texture when exporting -
@unknownuser said:
Hello,
there is a problem with the position of the texture when exportingHi,GreenKot.
I limit the precision of unit for the purpose of smaller file size of mesh.
So I will modify for more higher precision.
And I want to test with your data.
Please send me the skp file.
ThanksTAK2HATA
-
Hi,All.
I uptate this to v1.3.7.
Fix the texture offset problem.
Add Rendering Parameter in export dialog.and set better default values.The problem of texture offset is not caused by unit precision.
It is texture uv-scaling problem in mitsuba render.
I add uv-offset to exporting texture uv-coords.Thanks.
-
Hello Tak2hata,
Always nothing new: no change with my preview....
But the render run good!
Good luck for the future.
Spirou4D -
Hi,everyone.
I update this to v1.4.0 in 2014.09.15.
Improve material editor.Selecting Texture-file was improved.
Material preview maybe run well in any case.Thanks.
-
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,
Advertisement