Material Settings from Blender to Octane and Animation

Forums: Material Settings from Blender to Octane and Animation
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Material Settings from Blender to Octane and Animation

Postby Welti » Thu Mar 22, 2012 4:11 pm

Welti Thu Mar 22, 2012 4:11 pm
I have a few problems with Octane Render:

1. I want to render an animation with Octane Render
2. I have set my materials in blender (with the Octane Render / Blender Exporter Script)
3. I have set my keyframes for the animation (i set an output folder for the pictures and a samples-preset)
4. I can't select the render kernel "PMC" in the "World" settings, only pathtracing and direct-lightning
5. If i press "Render Animation" all my material settings were not exported (everything is glossy-grey) and i got a little bit of DoF which i definately don't want!
6. The right camera angle was also not exported (although i selected it)


How i can fix that problems? How much samples should i let render per frame for an interior scene with only an indirect lightning object? How i can speed up the render times for an animation - any tips for me?

With best regards

Welti

Edit: If i am using the latest exporter script from yoyoz (v1.1.6, before i was using the v0.9) i get that error message:

Code: Select all
Traceback (most recent call last):
  File "C:\Users\**\AppData\Roaming\Blender Foundation\Blender\2.62\scri
pts\addons\octanerender\engine.py", line 99, in render
    mtl_list = write_obj(objTemp, mtlFile, obj_list, scene, unitFactor)
  File "C:\Users\**\AppData\Roaming\Blender Foundation\Blender\2.62\scri
pts\addons\octanerender\export.py", line 502, in write_obj
    uv_layer = me.tessface_uv_textures.active.data
AttributeError: 'Mesh' object has no attribute 'tessface_uv_textures'

location:<unknown location>:-1

location:<unknown location>:-1


I am using the official Blender 2.62 Version from blender.org.
Last edited by Welti on Thu Mar 22, 2012 4:32 pm, edited 2 times in total.
Core2Quad Q6600 | Gigabyte GTX470SOC | 7GB DDR2-667 RAM | 580W SuperFlower | Asus P5QLD Pro
User avatar
Welti
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Mon Mar 12, 2012 4:39 pm
Location: Germany

Re: Material Settings from Blender to Octane and Animation

Postby t_3 » Thu Mar 22, 2012 4:23 pm

t_3 Thu Mar 22, 2012 4:23 pm
... moved your post to the blender forum - help will come in pretty soon i guess ;)
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
User avatar
t_3
 
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

Re: Material Settings from Blender to Octane and Animation

Postby yoyoz » Thu Mar 22, 2012 4:51 pm

yoyoz Thu Mar 22, 2012 4:51 pm
With official 2.62 from Blender.org you must use an earlier version of the plugin, either 1.12 or 1.13 (there have been some changes between 2.60, 2.61 and 2.62 and I cannot tell exactly which one is appropriate. Please look at other threads where users comment on the version they're using). The error you have on the log is because addressing of UVs has changed since Bmesh this is why 1.16 should only be used with more recent builds than the official.

If camera is tilted, then it is also related to plugin version because of API change.

Regarding materials, Octane only take parameters from the exporter if the given material doesn't already exist. This is behaviour chosen by Octane and there's not much we can do. It means that if you already exported your scene before tweaking materials then any further updates won't be taken in account.
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
User avatar
yoyoz
Licensed Customer
Licensed Customer
 
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

Re: Material Settings from Blender to Octane and Animation

Postby Welti » Thu Mar 22, 2012 5:17 pm

Welti Thu Mar 22, 2012 5:17 pm
It means that if you already exported your scene before tweaking materials then any further updates won't be taken in account.


That's bad. And you aren't able to fix that?

So i have to create a completely new scene?

And what is about the camera DoF problem? I have always a bit of dof in the picture and there is no "Aperture" option in the camera settings in blender.
Core2Quad Q6600 | Gigabyte GTX470SOC | 7GB DDR2-667 RAM | 580W SuperFlower | Asus P5QLD Pro
User avatar
Welti
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Mon Mar 12, 2012 4:39 pm
Location: Germany

Re: Material Settings from Blender to Octane and Animation

Postby yoyoz » Thu Mar 22, 2012 5:45 pm

yoyoz Thu Mar 22, 2012 5:45 pm
Welti wrote:That's bad. And you aren't able to fix that?

I used to by writing directly into the ocs files (the option is still there) but this is no more compatible with latest Octane versions. The way it works is the way Octane has been designed and cannot be altered from outside.

Welti wrote:So i have to create a completely new scene?

No, you just need to export a static render and tweak your materials inside Octane. They will be left untouched when you later run the animation. If you want to have animated textures please look at this thread: http://www.refractivesoftware.com/forum/viewtopic.php?p=78437#p78437

Welti wrote:And what is about the camera DoF problem? I have always a bit of dof in the picture and there is no "Aperture" option in the camera settings in blender.

Yes, there's a Lens aperture setting in Blender. You can also have the camera focus to either a given distance or to a specific object (I recommend you use an empty for this purpose).
Espace de travail 1_005.png
Espace de travail 1_005.png (25.33 KiB) Viewed 4461 times
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
User avatar
yoyoz
Licensed Customer
Licensed Customer
 
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

Re: Material Settings from Blender to Octane and Animation

Postby Welti » Thu Mar 22, 2012 5:58 pm

Welti Thu Mar 22, 2012 5:58 pm
Thank you very much for your help but i don't understand that:

No, you just need to export a static render and tweak your materials inside Octane. They will be left untouched when you later run the animation.


I have exported a still image and set every material how i want it and what i have to do now that i can render my animation?
Core2Quad Q6600 | Gigabyte GTX470SOC | 7GB DDR2-667 RAM | 580W SuperFlower | Asus P5QLD Pro
User avatar
Welti
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Mon Mar 12, 2012 4:39 pm
Location: Germany

Re: Material Settings from Blender to Octane and Animation

Postby yoyoz » Thu Mar 22, 2012 6:00 pm

yoyoz Thu Mar 22, 2012 6:00 pm
Just run the animation. The materials will be the same you tweaked, providing of course you saved your work :-)
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
User avatar
yoyoz
Licensed Customer
Licensed Customer
 
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

Re: Material Settings from Blender to Octane and Animation

Postby Welti » Thu Mar 22, 2012 6:11 pm

Welti Thu Mar 22, 2012 6:11 pm
I saved the .ocs file and quit octane render, then i go to blender and start rendering the animation. But now my picture turned completely black...
Edit: It looks like that the camera angle was moved...I have to click on the button "Reset Camera View to defaul" to get the right camera position. Why is my camera moving? I use now the 1.1.3 exporter script.
Core2Quad Q6600 | Gigabyte GTX470SOC | 7GB DDR2-667 RAM | 580W SuperFlower | Asus P5QLD Pro
User avatar
Welti
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Mon Mar 12, 2012 4:39 pm
Location: Germany

Re: Material Settings from Blender to Octane and Animation

Postby yoyoz » Sat Mar 24, 2012 6:15 pm

yoyoz Sat Mar 24, 2012 6:15 pm
Did you check the box "export camera settings" from main panel?

If you have the camera properly exported but with some axis flipped then this is an issue with the version of the plugin. Please confirm so I can check what's the best version for you.
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
User avatar
yoyoz
Licensed Customer
Licensed Customer
 
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

Return to Blender


Who is online

Users browsing this forum: No registered users and 20 guests

Sat Apr 27, 2024 5:18 am [ UTC ]