[Unsupported] Blender plugin v1.xx - Code

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
tibicen
Licensed Customer
Posts: 6
Joined: Fri Jan 21, 2011 5:08 pm

Hello, i was wondering if there is any possibility to export a scene from blender, then make all the material nodes in octane. Save it. And later export again scene from blender witout overwriting "the octane material nodes". I need a lots of renderings, and i thought an animation would make my job easier ( i could sleep more :D). Just set the materials at first frame, and then start an animation. I need 20 frames for each obj i'm rendering....

If there is no such possibility yet, please let me know :)
luc255
Licensed Customer
Posts: 16
Joined: Thu May 12, 2011 6:49 pm

Thx, It's perfect !
User avatar
steveps3
Licensed Customer
Posts: 1118
Joined: Sat Aug 21, 2010 4:07 pm
Location: England

tibicen wrote:Hello, i was wondering if there is any possibility to export a scene from blender, then make all the material nodes in octane. Save it. And later export again scene from blender witout overwriting "the octane material nodes". I need a lots of renderings, and i thought an animation would make my job easier ( i could sleep more :D). Just set the materials at first frame, and then start an animation. I need 20 frames for each obj i'm rendering....

If there is no such possibility yet, please let me know :)
This is exactly how the export DOES work. Unless I've misinterpreted your question. If you export a scene then the materials will be taken from blender. You can then amend these textures in Octane and save the .OCS file. The next time you render, only any new materials will be imported from Blender, the rest will pick up from the OCS file.
(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)
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

I guess the exporter doesn't support particles, yet? I have a plane emitter with some (object visualization) particles, but it doesn't export them (all objects are render-able and visible). I would like to avoid applying the particle system each time I (re)export. Is there a way?
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
User avatar
yoyoz
Licensed Customer
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

I didn't find another way to get the geometry of particles. It seems this is managed by the render engine itself and not exposed to the exporter... This is pretty annoying as the particle modifier has a huge performance impact.
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
me_face8
Licensed Customer
Posts: 14
Joined: Fri Sep 10, 2010 4:23 am

I get this error when trying to install the addon on Blender 2.57; Windows 64.

edit: It seems like I am getting the same error for other addons too.
Attachments
screenshot of log
screenshot of log
Windows 7 x64 | Blender | Core2 Quad Q6600 | 8GB | GeForce 9600 GT
IsaacBulnes
Licensed Customer
Posts: 15
Joined: Sat Jun 18, 2011 4:31 pm

Hi Lionel

I just tried to install your plugin to blender but for some reason, it stopped at this point; the box at the the render point in the installation was not available to be checked.
I have attached a screenshot.
Could you, at your convenience, tell me why this is happening and any suggestions you might have?

Thank You,
Isaac
Attachments
blender octane plugin screen.jpg
petenoli
Licensed Customer
Posts: 1
Joined: Sun May 29, 2011 2:56 am

Hi Lionel,
I am having trouble getting a particle system to render without showing the emitter, any ideas?
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

petenoli wrote:Hi Lionel,
I am having trouble getting a particle system to render without showing the emitter, any ideas?
Currently it's not possible to export particles. You should apply the PS, remove the emitter & export.

BTW, the Yafaray exporter for Blender 2.58 is already able to export particles, so I guess it the API changed and now it's possible to access particles from Python? The Yafaray exporter has also the neat ability to export hair strands, by converting them into triangle tubes... hint, hint... :)
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
dono
Licensed Customer
Posts: 41
Joined: Sat Oct 23, 2010 11:56 pm
Location: Paris
Contact:

Hello :)

Amazing plugin, thanks !

I would like to use the "fly" option, but blender and octane rendered juste one frame, and stop. Any idea ? :)


Thanks !

plugin octanerender.v1.09d
i have tried with blender 2.57, 2.57b and 2.58
windows xp

Here is the log:
found bundled python: C:\tmp\test\blend257\2.57\python
read blend: C:\tmp\test\test.blend
Octane plug-in v1.09 on 2.57.0.36147 : Rendering camera/light only animation fro
m frame #1 to #250
Info:
Octane plug-in v1.09 on 2.57.0.36147 : Output ocs: "C:\tmp\test\test.ocs"
Octane plug-in v1.09 on 2.57.0.36147 : Output obj: "C:\tmp\test\test.obj"
Octane plug-in v1.09 on 2.57.0.36147 : Output mtl: "C:\tmp\test\test.mtl"
Octane plug-in v1.09 on 2.57.0.36147 : Unit Factor (rescaling): 1.0000
Octane plug-in v1.09 on 2.57.0.36147 : Exporting frame #1
Octane plug-in v1.09 on 2.57.0.36147 : Begin OBJ/MTL export
Octane plug-in v1.09 on 2.57.0.36147 : OBJ file: "C:\tmp\test\test.obj.temp"
Octane plug-in v1.09 on 2.57.0.36147 : Processed <Cube> in 0.000 secs
Octane plug-in v1.09 on 2.57.0.36147 : OBJ export time: 0.016 secs
Octane plug-in v1.09 on 2.57.0.36147 : MTL file: "C:\tmp\test\test.mtl.temp"
Octane plug-in v1.09 on 2.57.0.36147 : Processing <Material>
Octane plug-in v1.09 on 2.57.0.36147 : MTL export time: 0.000s
Octane plug-in v1.09 on 2.57.0.36147 : Using camera : <Camera.Camera>
Octane plug-in v1.09 on 2.57.0.36147 : Using Depth of Field from : Camera
Octane plug-in v1.09 on 2.57.0.36147 : Using DoF from blender camera: 0.000000 *
unitSize
Octane plug-in v1.09 on 2.57.0.36147 : Camera position: x 7.481132 y 5.343665 z
6.507640
Octane plug-in v1.09 on 2.57.0.36147 : Camera target: x 6.826270 y 4.898420 z 5.
896974
Octane plug-in v1.09 on 2.57.0.36147 : Camera up: x -0.317370 y 0.895343 z -0.31
2469
Octane plug-in v1.09 on 2.57.0.36147 : Project file already exists
Octane plug-in v1.09 on 2.57.0.36147 : Resolution set to 1920 x 1080 at 50%
Octane plug-in v1.09 on 2.57.0.36147 : Samples per image: 256
Octane plug-in v1.09 on 2.57.0.36147 : Launching Octane: ['C:\\tmp\\chihiro\\Oct
ane\\octane.exe', '-m', 'test.obj', '--cam-lensshift-right', '0.000000', '--cam-
lensshift-up', '0.000000', '--cam-fov', '49.134342', '--cam-pos-x', '7.481132',
'--cam-pos-y', '5.343665', '--cam-pos-z', '6.507640', '--cam-target-x', '6.82627
0', '--cam-target-y', '4.898420', '--cam-target-z', '5.896974', '--cam-up-x', '-
0.317370', '--cam-up-y', '0.895343', '--cam-up-z', '-0.312469', '--film-width',
'960', '--film-height', '540', '-e', '-q', '--output-png', 'C:\\tmp\\test\\rendu
s\\test_000001.png', '-s', '256', '-r', 'C:\\tmp\\test\\test.obj', 'C:\\tmp\\tes
t\\test.ocs']
Octane plug-in v1.09 on 2.57.0.36147 : Exporting frame #2
Octane plug-in v1.09 on 2.57.0.36147 : Using camera : <Camera.Camera>
Octane plug-in v1.09 on 2.57.0.36147 : Using Depth of Field from : Camera
Octane plug-in v1.09 on 2.57.0.36147 : Using DoF from blender camera: 0.000000 *
unitSize
Octane plug-in v1.09 on 2.57.0.36147 : Camera position: x 7.480370 y 5.343067 z
6.507025
Octane plug-in v1.09 on 2.57.0.36147 : Camera target: x 6.825508 y 4.897822 z 5.
896360
Octane plug-in v1.09 on 2.57.0.36147 : Camera up: x -0.317370 y 0.895343 z -0.31
2469
Octane plug-in v1.09 on 2.57.0.36147 : Project file already exists
Octane plug-in v1.09 on 2.57.0.36147 : Resolution set to 1920 x 1080 at 50%
Octane plug-in v1.09 on 2.57.0.36147 : Samples per image: 256
Octane plug-in v1.09 on 2.57.0.36147 : Waiting for previous frame to finish
Octane plug-in v1.09 on 2.57.0.36147 : Load image from file: C:\tmp\test\rendus\
test_000001.png
Traceback (most recent call last):
File "C:\tmp\test\blend257\2.57\scripts\addons\octanerender\engine.py", line 3
56, in render
safe_rename(objTemp,objFile)
File "C:\tmp\test\blend257\2.57\scripts\addons\octanerender\utils.py", line 12
5, in safe_rename
os.rename(src,dst)
WindowsError: [Error 2] Le fichier sp├®cifi├® est introuvable

location:<unknown location>:-1

location:<unknown location>:-1


edit:
i have tried plugin octanerender.v1.10 and it works !!!!!!!!!!!!!!!!!!!!
Thanks a lot, you are the king lionel !
blender 2.49 - Octane pre-Beta2.3v5 - NVIDIA GeForce GTX 260 - cudatoolkit_3.2.16_win_32 - driver
260.99_desktop_winxp_32bit_international_whql - windows xp - 3.25 Go RAM
Post Reply

Return to “Blender”