[Unsupported] Blender plugin v1.xx - Code

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Post Reply
eMirage
Licensed Customer
Posts: 8
Joined: Thu Apr 29, 2010 5:50 pm

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 :)
User avatar
yoyoz
Licensed Customer
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

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 ;)
Desktop: Ubuntu 13.04 x64 - i7-3770K @ 3.5GHz - 32GB DDR3 - GTX670 2048MB
Laptop: Linux Mint 11 x64 - i7-2860QM @ 2.5GHz - 16GB DDR3 - Quadro 3000M 2GB
Software: NVidia 319.12 - Cuda 4.2.9 - Blender 2.66a
eMirage
Licensed Customer
Posts: 8
Joined: Thu Apr 29, 2010 5:50 pm

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 ! :?
eMirage
Licensed Customer
Posts: 8
Joined: Thu Apr 29, 2010 5:50 pm

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.
SamCameron
Licensed Customer
Posts: 162
Joined: Sun Jan 02, 2011 12:58 pm

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.
crazycourier
Licensed Customer
Posts: 16
Joined: Sat Jan 08, 2011 8:48 pm

Hi Lionel,
Just want to say thanks, this works great with 2.57 for me. You're awesome!
Windows 7 64bit, Intel Core2 Extreme CPU X9100 3.06GHz, 8 GB Ram, Nvidia Quadro FX3700M.
eMirage
Licensed Customer
Posts: 8
Joined: Thu Apr 29, 2010 5:50 pm

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.
Cyprian33
Licensed Customer
Posts: 22
Joined: Mon Apr 04, 2011 5:06 pm
Location: Poland

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
Attachments
problem.jpg
User avatar
steveps3
Licensed Customer
Posts: 1118
Joined: Sat Aug 21, 2010 4:07 pm
Location: England

That is because you have the "Import render in blender" checked but have not specified a image output path.
(HW) Intel i7 2600k, 16GB DDR3, MSI 560GTX ti (2GB) x 3
(SW) Octane (1.50) Blender (2.70) (exporter 2.02)
(OS) Windows 7(64)
grenzfrequence
Licensed Customer
Posts: 39
Joined: Sun Apr 24, 2011 4:16 pm

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...
ubuntu 11.04, cuda 4.0, octane v1 2.48c, exporter from Lionel 1.1.0, blender 2.58, nvidia Geforce GTX 285, graphic driver 275.21
Post Reply

Return to “Blender”