Page 1 of 1

Does demo version plugin work in Poser9?

Posted: Tue Dec 03, 2013 3:35 pm
by phdubrov
Win 7 64
Poser 9.0.3.23027
Demo plugin 1.20a5
Licensed standalone 1.20

When I create prop and open Render>Octane Render I see this error

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\__init__.py", line 73, in Render
    
  File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\UiManager.py", line 3993, in ShowSetupForm
  File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\MaterialManager.py", line 131, in CreateNodesFromPoserScene
  File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\UiManager.py", line 738, in fillOctaneMaterialsArray
  File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\UiManager.py", line 1968, in createOctaneMaterial
AttributeError: 'module' object has no attribute 'SPECULAR_RATIO'


I have no C:\Program Files\Smith Micro\Poser Pro 2012 directory on my desktop. Poser and Demo are in C:\Program Files (x86)\Smith Micro\Poser9.
When i copy all in C:\Program Files\Smith Micro\Poser Pro 2012 error is the same.

Re: Does demo version plugin work in Poser9?

Posted: Tue Dec 03, 2013 10:32 pm
by face_off
Hi

Yes - the plugin should work on the demo version of Poser.

When PoserPython raises an exception, it lists the folder the python code was originally compiled in - not the folder on your PC, so pls ignore the references to Poser Pro 2012.

The error listed means it did not pick up the following line which is in 'OctaneDefaults.py'

Code: Select all

SPECULAR_RATIO = 0.5 # If a Poser Material has a transparency greater than this figure, it will be converted to an specular Octane material
So either OctaneDefaults.py did not install correctly (it should be in C:\Program Files (x86)\Smith Micro\Poser9\Runtime\Python\addons\OctaneRender for Poser), or it is corrupted or the wrong version (edit that file and see if SPECULAR_RATIO is listed).

Hope that helps.

Paul

Re: Does demo version plugin work in Poser9?

Posted: Wed Dec 04, 2013 10:35 am
by phdubrov
Thanks!
I have to add
SPECULAR_RATIO
GLOSSY_INDEX
GLOSSY_FILM_INDEX
in OctaneDefaults.

Re: Does demo version plugin work in Poser9?

Posted: Wed Dec 04, 2013 11:07 am
by face_off
SPECULAR_RATIO
GLOSSY_INDEX
GLOSSY_FILM_INDEX
Interesting. Had you installed a very old demo version of the plugin prior to installing the latest version? Or was the lastest version the first time install?

Paul

Re: Does demo version plugin work in Poser9?

Posted: Wed Dec 04, 2013 1:17 pm
by phdubrov
Honestly I don't remember. May be about 10-11 month ago when I purchased Octane.

Re: Does demo version plugin work in Poser9?

Posted: Wed Dec 04, 2013 11:08 pm
by face_off
May be about 10-11 month ago when I purchased Octane.
That OctaneDefaults.py file is the only file which is not updated when you install a new version - so potentially you had a very early version which was missing some parameters. Attached is the latest version, which you can use to overwrite your OctaneDefaults.py.

Paul

Re: Does demo version plugin work in Poser9?

Posted: Thu Dec 05, 2013 10:30 am
by phdubrov
Thanks, will try this.