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

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

Postby tak2hata » Thu Feb 27, 2014 4:24 pm

Hi,All.
I upload t2h_su2objmtl_mitsuba.
This plugin is exporter from sketch up to Mitsuba render.
General disclaimer
I MAKES NO GUARANTEE OF VALIDITY about this script.
Please use this script at your own risk.


V1.2.0 (20140316):Fix Bumpmap export problem.Add Motion Blur Export.Improve Material Editor.
V1.2.1 (20140320):BugFix on MacOS 10.9.2.Thanks John!
V1.2.3(20140320):Imrpove on MacOS.Export folder move into user documents.
V1.2.4(20140321):BugFix.Add setting current directory in ruby.
V1.2.9(20140330):
Improves and bug fixs.
Add Toolbar icons.
Add Material Picker.
Default Material Color bug fix.
Mask option for Image entity.

V1.3.2(20140426):Improve material editor and add selector image format,and bug fix.
v1.3.3:Auto find alpha of png file.
v1.3.3:Add Selector between mitsuba "GUI" and "CUI"
v1.3.4:Bug fix "*" texture problem.
v1.3.5:Unit Length problem fixed.Local comma problem fixed.
v1.3.6:Fix the texture offset problem.
v1.3.7:Add Rendering Parameter in dialog.and set better default values.
v1.4.0:Improve material editor.
v1.4.1:2014.09.17update-Bugfix.Now Work well when default material is set as dielectric.
v1.4.4:Bug fix:Additional texture scalings.
v1.4.5:Bug fix about local numeric format.
v1.5.0:Imrpove and add many parameters on dialog.
DOWNLOAD:
http://sketchucation.com/pluginstore?pl ... tl_mitsuba
Get the latest version from the PluginStore:
http://sketchucation.com/pluginstore?pln=t2h_su2objmtl_mitsuba
or AutoInstall from within SketchUp using the SketchUcation Tools

Mitsuba render is physically based renderer written by Wenzel Jakob.
It is developed as open source and free software.
http://www.mitsuba-renderer.org
If mitsuba can not run on windows os,
Please install "vcredit_2013_x64.exe".
It is exists in Unzipped folder of mistune render.
At first time,Please run mitsuba and accept the security permission.

How To Use.

V1.2.0 ADD NEW FUNCTION:Export Motion Blur

V1.2.9 How to Mask for Image Entity.

V1.3.2 Update information.

image-1.png

SampleImage
140211_mtb_volpath512irrcach36_5.2min.jpg

140211_dsscompemodel2_800x450_volpath16adaptive0.2_irrcach_4min.jpg

image.png
4
Last edited by tak2hata on Sun Nov 09, 2014 11:42 am, edited 15 times in total.
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]T2H_SU2OBJMTL_MITSUBA V1.1.3(Feb 28,2014)

Postby Rich O Brien » Thu Feb 27, 2014 4:40 pm

Awesome....thank you
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [PLUGIN]T2H_SU2OBJMTL_MITSUBA V1.1.3(Feb 28,2014)

Postby DOD3R » Fri Feb 28, 2014 9:18 am

wow
0

DOD3R 
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Sun Mar 16, 2014 2:48 pm

Hi,All.
I update this to V1.2.0. in 2014.03.16.

Fix Bumpmap export problem.
Add Motion Blur Export.
Improve Material Editor.

Enjoy!
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Sun Mar 16, 2014 11:22 pm

hi

has anyone had this working on a mac?

I get this error from Mitsuba on launch...
2014-03-16 10.07.59 pm.png

main.serialised is empty...
I also get a blank materials editor...

john

EDIT: material dialog working now...

the issue seems to be with 'mitsuba_main.serialized' not being written to...

I tried different paths in the 'User' domain, but that hasn't helped, so what is doing the serialization? if it's jQuery that may be the issue...
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby unclex » Mon Mar 17, 2014 12:01 pm

Wonderful Plugin
and
Wonderful Free Render
0

unclex 
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Mon Mar 17, 2014 1:15 pm

Hi,Unclex.
Thank for your enjoying!

Hi,Driven.
I tested this on macOS 10.9.1 and sketchup2014 and mitsuba render 0.5.0.

Select Mitsuba.app as Render engine like this video.

And,I execute "commanline-access" from mitsuba menu once before test on mac.
This maybe connect anything working well or,not.

I hope this help you.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby sergonavt » Mon Mar 17, 2014 6:43 pm

8 version in the materials editor view shows only one material (Sophi_Hair) and does not show changes ??? in render all right, version 14, everything works
0

sergonavt 
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Mon Mar 17, 2014 7:28 pm

hi,

thanks for the video, adding the symlink to /usr/bin/mitsuba hasn't made a difference.

materials is using 'mitsuba' for the previews...
2014-03-17 06.16.59 pm.png

the serialization just isn't occurring, the file remains empty, and I get the same error message...

'Ruby Console' indicates all is well...

'mitsuba log' seems ok
Code: Select all
2014-03-17 18:06:50 DEBUG main [Thread] Spawning thread "load"
2014-03-17 18:06:50 INFO  load [sceneloader.cpp:101] Parsing scene description from "//Applications/su_render/Mitsuba_scene.xml" ..
2014-03-17 18:06:50 INFO  load [scenehandler.cpp:675] In file "//Applications/su_render/Mitsuba_scene.xml" (near line 2): Parsing included file "Mitsuba_geometries.xml" ..
2014-03-17 18:06:50 INFO  load [SerializedMesh] Loading shape 0 from "mitsuba_main.serialized" ..
2014-03-17 18:06:50 DEBUG load [Thread] Thread "load" has finished


but I get the error...

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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby slbaumgartner » Mon Mar 17, 2014 8:19 pm

I'm getting much the same error as John, though the message says "near line 25" instead of the line he reported. The /Applications/su_render/mitsuba_main.serialized file has size 0.

What can we do to help debug this?

MacBook Pro Retina, OS X 10.9.2

Steve
0
Last edited by slbaumgartner on Tue Mar 18, 2014 1:36 am, edited 1 time in total.

slbaumgartner 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Mon Mar 17, 2014 8:36 pm

the log in app/contents reports my gl settup

Code: Select all
2014-03-17 17:42:21 INFO  main [mainwindow.cpp:80] Mitsuba version 0.5.0 (Mac OS, 64 bit), Copyright (c) 2014 Wenzel Jakob
2014-03-17 17:42:21 INFO  main [mainwindow.cpp:83] Configured for RGB-based rendering
2014-03-17 17:42:21 DEBUG main [NSGLSession] Initializing NSGL session
2014-03-17 17:42:21 DEBUG main [NSGLRenderer] Using an existing NSGL context
2014-03-17 17:42:21 DEBUG main [GLRenderer] OpenGL renderer : ATI Radeon HD 2600 PRO OpenGL Engine
2014-03-17 17:42:21 DEBUG main [GLRenderer] OpenGL vendor   : ATI Technologies Inc.
2014-03-17 17:42:21 DEBUG main [GLRenderer] OpenGL version  : 2.1 ATI-8.24.11
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Framebuffers objects are supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: GLSL is supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Floating point textures are supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Floating point color buffers are supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Fast buffer blitting is supported.
2014-03-17 17:42:21 INFO  main [GLRenderer] Capabilities: Multisample framebuffer objects are NOT supported!
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Vertex buffer objects are supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Geometry shaders are supported.
2014-03-17 17:42:21 DEBUG main [GLRenderer] Capabilities: Custom texture filtering is supported.
2014-03-17 17:42:21 WARN  main [GLRenderer] Capabilities: Synchronization objects are NOT supported!
2014-03-17 17:42:21 INFO  main [GLRenderer] Capabilities: Bindless rendering is NOT supported!


I'm on OSX 10.9.2 as well... but on an older iMac

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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby sadyo » Tue Mar 18, 2014 3:23 am

Mitsuba seem work fine on my Sketchup 2014-Windowc 8.1 64bit
But,
How to implementing the clipmap/2D object in Mitsuba :?: :?:



it won't appear in Renderer
0
User avatar
sadyo 
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 12:59 pm

Hi,

think I found the problem, but not the solution...

2014-03-18 11:44:26 INFO main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"


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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Tue Mar 18, 2014 1:50 pm

driven wrote:Hi,

think I found the problem, but not the solution...

2014-03-18 11:44:26 INFO main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"


john

Hi,john.
Ummm...

I guess the problem is delay of writing file.

Please search "mitsuba_main.dae" in "/applications/su_render" folder.
Tell me that file size.
And Start Mitsuba and import "mitsuba_main.dae" file.

Is there anything displayed on mitsuba window.

Now "mitsuba_main.serialized" is created in that folder.and it is not zero byte.

Seriarized file is binary mesh file of mitsuba render.

Please send me your "mtsuba_main.dae" If "mitsuba_main.serialized" is zero byte.

I will analyze it.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby slbaumgartner » Tue Mar 18, 2014 2:08 pm

When I import that file, I get the attached popup dialog and the log contains the attached messages. The serialized file is then not empty and mitsuba generates a rendered scene! So the problem definitely involves getting from the dae to the serialized file. However, the rendering contains only one instance each of Components that have multiple instances in the SketchUp file. The handling of my original textured material also is weird (looks like a grainy mass of dots instead of the original wood image).

Screen Shot 2014-03-18 at 8.56.05 AM.png


Steve
0

slbaumgartner 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 2:10 pm

hi

dae is 54kb, fails to make texture folder...
mitsuba_main.serialized is empty...

if I import the dae into mitsuba, texture folder gets made on import, but is empty...
mitsuba_main.serialized is 12kb
2014-03-18 01.00.38 pm.png

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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby slbaumgartner » Tue Mar 18, 2014 2:17 pm

Here are the folders and contents after importing the dae. As John reported, the textures folder exists but is empty, as is the output folder.

steves-macbook:su_render steve$ ls -lR ./*
-rw-r--r-- 1 steve admin 6673 Mar 17 21:23 ./Mitsuba_geometries.xml
-rw-r--r-- 1 steve admin 1365 Mar 17 21:23 ./Mitsuba_scene.xml
-rw-r--r-- 1 steve admin 5867 Mar 17 21:23 ./mitsuba_geom.txt
-rw-r--r-- 1 steve admin 30488 Mar 17 21:23 ./mitsuba_main.dae
-rw-r--r-- 1 steve admin 903109 Mar 18 09:04 ./mitsuba_main.exr
-rw-r--r-- 1 steve admin 3582 Mar 18 08:55 ./mitsuba_main.serialized
-rw-r--r-- 1 steve admin 1620 Mar 18 08:55 ./mitsuba_main.xml

./output:

./preview_cash:
total 80
-rw-r--r-- 1 steve admin 39202 Mar 17 17:31 su2objmtl_default_material.png

./textures:

./tx_default:
total 8
-rw-r--r-- 1 steve admin 3645 Mar 17 21:23 dark_mahogany.jpg
0

slbaumgartner 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 2:18 pm

the other thing I tried was exporting a dae directly from SU...

filesize 202 KB
texture folder empty
serialised 11 KB

Sophie is facedown on the ground [I don't think she's partially happy about it...]
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 2:28 pm

here are all the files for both...

this is after the Misuba.app import so it has a textures folder...
still empty after untitled was run...
su_render.zip
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Tue Mar 18, 2014 2:40 pm

Hi
Here is the Flow of exporting to mitsuba in my plugin.

1.Create collada mesh without materials and transformation.(for instancing)
2.Convert the collada mesh to serialized mesh by mtsimport tool.
3.Export scene information iclude materials and instancing and transformation for serialized mesh.

Please open "mitsuba_scene.xml" in mitsuba render ,if there is correct serialized mesh "mitsuba_main.serialized" created from "mitsuba_main.dae".

That will be shown all correctly.

Mtsimport work fine?
Collada file created fine?
Seriarize file is not zero byte?
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 3:08 pm

I can trap the create_directory error by appending at line 269 in mitsuba_main.rb
the serialisation never occurs from the plugin...
Code: Select all
system(commandline, :out => ['/tmp/log.txt', 'a'], :err => ['/tmp/log.txt', 'a'])
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Tue Mar 18, 2014 3:35 pm

driven wrote:I can trap the create_directory error by appending at line 269 in mitsuba_main.rb
the serialisation never occurs from the plugin...
Code: Select all
system(commandline, :out => ['/tmp/log.txt', 'a'], :err => ['/tmp/log.txt', 'a'])

In my mac that occurs.
Here is log.txt.
Code: Select all
2014-03-18 23:21:32.391 mtsimport[308:507] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/v2/nc5st2054wvghywgtfrszpf00000gn/T/org.mitsuba.Mitsuba.savedState
2014-03-18 23:21:32 INFO  main [converter.cpp:137] Beginning conversion ..
2014-03-18 23:21:32 INFO  main [collada.cpp:1596] Loading "mitsuba_main.dae" ..
2014-03-18 23:21:32 INFO  main [collada.cpp:1642] Importing materials ..
2014-03-18 23:21:32 INFO  main [collada.cpp:1669] Importing scene ..
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:21:32 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:21:32 INFO  main [collada.cpp:1680] Done, took 0.0s
2014-03-18 23:21:32 INFO  main [mtsimport.cpp:156] Encountered 14 warnings -- please check the messages above for details.
Finished conversion (took 60 ms)


In Sketchup Ruby Console
system(%Q{'/Applications/Mitsuba.app/Contents/MacOS/mtsimport' '/Applications/su_render/mitsuba_main.dae' '/Applications/su_render/mitsuba_main.xml'})
this return False?
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 3:46 pm

Here is my log.txt. after 2 attempts
Code: Select all
2014-03-18 13:58:36 INFO  main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"
2014-03-18 14:22:09 INFO  main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"


tak2hata wrote:In Sketchup Ruby Console
system(%Q{'/Applications/Mitsuba.app/Contents/MacOS/mtsimport' '/Applications/su_render/mitsuba_main.dae' '/Applications/su_render/mitsuba_main.xml'})
this return False?
YES it returns false

and if you use this version, you get the same error as the log file in Ruby Console...
Code: Select all
%x(/Applications/Mitsuba.app/Contents/MacOS/mtsimport /Applications/su_render/mitsuba_main.dae /Applications/su_render/mitsuba_main.xml 2>&1)

2014-03-18 14:42:03 INFO main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Tue Mar 18, 2014 4:05 pm

driven wrote:and if you use this version, you get the same error as the log file in Ruby Console...
Code: Select all
%x(/Applications/Mitsuba.app/Contents/MacOS/mtsimport /Applications/su_render/mitsuba_main.dae /Applications/su_render/mitsuba_main.xml 2>&1)

2014-03-18 14:42:03 INFO main [converter.cpp:127] Creating directory "textures" ..
Caught a critical exception: boost::filesystem::create_directory: Permission denied: "textures"

I get this return.
Code: Select all
> %x(/Applications/Mitsuba.app/Contents/MacOS/mtsimport /Applications/su_render/mitsuba_main.dae /Applications/su_render/mitsuba_main.xml 2>&1)
2014-03-18 23:58:34.268 mtsimport[472:507] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/v2/nc5st2054wvghywgtfrszpf00000gn/T/org.mitsuba.Mitsuba.savedState
2014-03-18 23:58:34 INFO  main [converter.cpp:137] Beginning conversion ..
2014-03-18 23:58:34 INFO  main [collada.cpp:1596] Loading "mitsuba_main.dae" ..
2014-03-18 23:58:34 INFO  main [collada.cpp:1642] Importing materials ..
2014-03-18 23:58:34 INFO  main [collada.cpp:1669] Importing scene ..
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 WARN  main [collada.cpp:1288] instance_geometry does not contain a <bind_material> element!
2014-03-18 23:58:34 WARN  main [collada.cpp:615] Referenced material could not be found, substituting a diffuse BRDF.
2014-03-18 23:58:34 INFO  main [collada.cpp:1680] Done, took 0.0s
2014-03-18 23:58:34 INFO  main [mtsimport.cpp:156] Encountered 16 warnings -- please check the messages above for details.
Finished conversion (took 42 ms)

Is this problem security permission?
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 4:14 pm

the problem seems to be the path from boost to the file not having the correct permissions, if that makes sense...

As the folder is in the HD/Applications/ I have tried it at /tmp/, ~/Desktop, ~/Documents and in Plugins, all fail...

my copy of boost lives in /usr/local/bin/include, but it's a symlink to homebrew/cellar so that my be the issue...

not following symlink from ruby, I'll check it again from terminal...
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 4:16 pm

that returns
Code: Select all
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Tue Mar 18, 2014 4:29 pm

driven wrote:that returns
Code: Select all
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5


Avoiding this problem,

I will write the code for serialized mesh exporter in ruby.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Tue Mar 18, 2014 4:36 pm

Good idea, it's probably the best long term solution...

you can PM me if you want anything tested...

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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby driven » Wed Mar 19, 2014 1:00 am

I just had a thought and did some tests...

commandline tool need to modify .bashrc to point to python...

I don't use a .bashrc file, i use .bashprofile, so I created one under User/me/.bashrc and it's not written to...

where is your .bashrc located, and exactly what does it contain??

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

driven 
PluginStore Author
PluginStore Author
 

Re: [PLUGIN]MITSUBA Render Exporter v1.2.0(20140316)

Postby tak2hata » Wed Mar 19, 2014 1:23 pm

driven wrote:I just had a thought and did some tests...

commandline tool need to modify .bashrc to point to python...

I don't use a .bashrc file, i use .bashprofile, so I created one under User/me/.bashrc and it's not written to...

where is your .bashrc located, and exactly what does it contain??

john

I search in my mac.
I found "bashrc" in "/private/etc"
it contains this.
Code: Select all
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
   return
fi

PS1='¥h:¥W ¥u¥$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
# Tell the terminal about the working directory at each prompt.
if [ "$TERM_PROGRAM" == "Apple_Terminal" ] && [ -z "$INSIDE_EMACS" ]; then
    update_terminal_cwd() {
        # Identify the directory using a "file:" scheme URL,
        # including the host name to disambiguate local vs.
        # remote connections. Percent-escape spaces.
   local SEARCH=' '
   local REPLACE='%20'
   local PWD_URL="file://$HOSTNAME${PWD//$SEARCH/$REPLACE}"
   printf '¥e]7;%s¥a' "$PWD_URL"
    }
    PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND"
fi
                           
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Alebrutal, Kburns1 and 16 guests

Visit our sponsors: