Page 1 of 1

octane file syntax

Posted: Tue Aug 17, 2010 9:53 pm
by jbeau3d
I opened a *.ocs in VIM today and looked around. So far I've created a script to make a new "*_alpha_matte.ocs". I want to make one for AO, but I noticed the default diffuse shader has a slight specular reflection on it vs "clay rendering mode". Is there anyway to get rid of that through the shader properties? Looks like its probably kernal/directlighting<specular bounces> = 1? If that works, going to make a ground shadow pass next.

Lets see what happens.

Anyone else like to see other passes. If you do have other ideas, please include the shader type with parameters including kernal settings. I plan on distribute as an octanepasses.exe file with use of CMD once stable. Theoretically, this tool should be able to launch octane and render all your passes, but would be more powerful in vram native octane.

Is the octane shader ball materials only allowing the user the ability to select a single material? I can't select anything else...

Thanks.

Re: octane file syntax

Posted: Wed Aug 18, 2010 12:04 am
by jbeau3d
Any documentation on syntax would be greatly appreciated. Until then, I'm slowly commenting out the file structure.

Re: octane file syntax

Posted: Wed Aug 18, 2010 12:28 am
by hmk
jbeau3d wrote:Anyone else like to see other passes.
Very good news, a material ID pass will be of good use, i.e. every material in the scene to be a diffuse material with a unique color, this is good in post to adjust whatever you want on a certain object/material.
I would love to test the script with you and contribute in it if you like me to.

Re: octane file syntax

Posted: Wed Aug 18, 2010 12:43 am
by jbeau3d
Sounds good...
I like the idea of matID passes. I was thinking of using the Octane liveDB names and assigning a unique RGB value for each. I've done this in other programs like Keyshot, and it worked as expected. If you wanted it to work without the live DB feature, then you would have to assign a unique material name to each shader from your 3rd party application, save an ocs file. Run the script, done.

Re: octane file syntax

Posted: Wed Aug 18, 2010 6:08 am
by jbeau3d
I've written a 3dsmax script that assigns a unique random color and material to each object. From there you just need to adjust your mesh preview kernal. These settings would be replaced via script, just in case you had animations. The main issue is the background color needs to be %100 black and the objects still need to be visible. Anyone have a solution for this? I don't think its possible with the current toolset.

Re: octane file syntax

Posted: Wed Aug 18, 2010 6:35 am
by jbeau3d
ground shadow pass. Doesn't work 100% as expected. IOR 1.0 should be air, but I still see some bounce artifacts with this value. Specdepth is set to 16, should be more then enough using direct lighting. Path tracing yields similar results. The first image shows the artifacts.
The second image shows somewhat of a solution.