Page 6 of 13
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Sat Apr 16, 2011 8:10 pm
by eMirage
yoyoz wrote:
PS: I'm assuming you now use blender 2.57, despite the UI of your files have a strange 2.49b look...
yes this is an old test file from blender2.49 originaly done for yafaray export test

do you suggest that I modify this line on the 1.09 or use 1.10 ( if there's no regressions ?)
by the way I'm really impressed how fast you reply, thanks for you hard work man

Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Sat Apr 16, 2011 9:19 pm
by yoyoz
1.10 implements "Mesh Preview Imager" control from Blender by writing into the ocs file, which will be discontinued with next release of Octane, along with other "Mesh Preview" stuff. It also shows "Bucket Rendering" in the interface, which is not ready yet (I planned doing it this week but I've been sooooo lazy....).
Apart from that you should have same behaviour for both versions, so I've no preference
BTW, there're a couple of things you should take in account when using the plugin:
- avoid having spaces in paths or names (textures, project, material names). Octane has been improved for such support but I've not yet removed checking this in the code
- avoid non-ascii characters everywhere. Even if Octane now supports UTF-8, the script may have trouble with some strings
- as nodes in Octane are linked to materials, you should focus on giving consistent names to materials, otherwise you'll quickly get lost
Happy rendering

Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Sun Apr 17, 2011 7:54 am
by eMirage
yoyoz wrote:
BTW, there're a couple of things you should take in account when using the plugin:
- avoid having spaces in paths or names (textures, project, material names). Octane has been improved for such support but I've not yet removed checking this in the code
- avoid non-ascii characters everywhere. Even if Octane now supports UTF-8, the script may have trouble with some strings
- as nodes in Octane are linked to materials, you should focus on giving consistent names to materials, otherwise you'll quickly get lost
Happy rendering

because of this I have renamed all my folders and files last week and guess what, the old projects are totally messy now, everything is broken, textures, external libraries...everything, and just after that, they fixed octane !

Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Mon Apr 18, 2011 11:35 am
by eMirage
please how to set a diffuse material directly from blender default material without setting up the octane exporter material
I tried to reduce the specular value to zero but doesn't take effect
and it will be nice if your script automatically converts the default material to octane material directly inside blender
because for example I don't get the textures I use on the default material when activating octane exporter !
thanks.
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Mon Apr 18, 2011 12:32 pm
by SamCameron
Hi Lionel, I have a problem that I had previously with your script , when I have an animation and I hit render in some frame , for example frame#50 as soon as I hit the render button the frame switch to #1 and renders just the first frame, doesn't matter the frame I choice, it always render the first frame, I'm speaking about still images, not animations, but my scene has an animation and if I just want to render one frame it always choice the first one only. I'm using 2.57 official release, octane render 2.46 and plugin version 1.09d , thanks.
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Fri Apr 22, 2011 3:05 am
by crazycourier
Hi Lionel,
Just want to say thanks, this works great with 2.57 for me. You're awesome!
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Fri Apr 22, 2011 10:39 pm
by eMirage
Hi lionel,
please is there a way to just make a warning if two different linked groups use the same material name
because I append multiple cars with same material names in my scene and when exporting with your script it doesn't export
it's useful to have the same material name because for example when I have a chrome material it's much simple to setup the same for all of the object, I tried this method with simple OBJ export and it works fine.
tell me if you need a sample file to see the exact problem thanks.
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Mon Apr 25, 2011 1:17 pm
by Cyprian33
I have this problem: I'd try save file on C: or on desktop in folder and always I have this error .Something is wrong
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Mon Apr 25, 2011 2:28 pm
by steveps3
That is because you have the "Import render in blender" checked but have not specified a image output path.
Re: [Unsupported] Blender plugin v1.xx - Code
Posted: Wed Apr 27, 2011 11:48 pm
by grenzfrequence
Hi,
i get some error messages with 1.10 in blender 2.57b. The log is as follows:
Octane plug-in v1.10 on 2.57.1.36339 : OBJ export time: 11.437 secs
Octane plug-in v1.10 on 2.57.1.36339 : MTL file: "/home/goatrance/Data/tmp/Eurothing.mtl.temp"
Octane plug-in v1.10 on 2.57.1.36339 : Processing <Glas_klar.003>
Octane plug-in v1.10 on 2.57.1.36339 : Source image : "/home/goatrance/freedom world map.png"
Octane plug-in v1.10 on 2.57.1.36339 : Fixed name <freedom world map.png> to <freedom_world_map.png>
Octane plug-in v1.10 on 2.57.1.36339 : Copying file "/home/goatrance/freedom world map.png" to "/home/goatrance/Data/tmp/freedom_world_map.png"
Traceback (most recent call last):
File "/home/goatrance/Apps/blender-2.57b-linux-glibc27-x86_64/2.57/scripts/addons/octanerender/engine.py", line 99, in render
write_mtl(mtlTemp, mtl_list, scene, octane_render.export_copy_images)
File "/home/goatrance/Apps/blender-2.57b-linux-glibc27-x86_64/2.57/scripts/addons/octanerender/export.py", line 241, in write_mtl
filename = copy_image(mtex.texture.image)
File "/home/goatrance/Apps/blender-2.57b-linux-glibc27-x86_64/2.57/scripts/addons/octanerender/export.py", line 151, in copy_image
copy_file(fn_full,fn_dest)
File "/home/goatrance/Apps/blender-2.57b-linux-glibc27-x86_64/2.57/scripts/addons/octanerender/utils.py", line 113, in copy_file
file = open(source, 'rb')
IOError: [Errno 2] No such file or directory: '/home/goatrance/freedom world map.png'
location:<unknown location>:-1
location:<unknown location>:-1
What did i wrong?
Greatings...