Page 3 of 6

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Wed Jun 19, 2013 1:52 am
by face_off
I have refreshed the installer at the top of this thread. It contains the following changes:

1.17a6
- If the configuration file (config.xml) becomes corrupt, the plugin will automatically re-create it and give a warning message
- Re-enabled minimizing the Settings window (Windows only, does not work on the Mac)
- Fixed issue where focus picking the Viewport was not saving the focal depth to the Poser scene
- Fixed issue where clicking the "Refresh" button whilst the render was paused was not refreshing the Viewport correctly
- Added "Expert Mode" in the Configuration screen to turn off all confirmation messages when editing in the Materials tab. Also turns off the "No Rendertarget settings were found for this scene." message when starting the plugin

Paul

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Wed Jun 19, 2013 3:11 am
by RGUS
That was quick!!! I must make my suggestion sooner...
Thanks Paul

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Wed Jun 19, 2013 6:58 am
by RGUS
Oh.. and on the next release can the "Refresh Octane Scene from Poser" also update the materials of the scene? I have "Auto Refresh" set to "On"... but the textures are not being updated when I change them. I have to still go to "Materials" and do a manual update.

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Wed Jun 19, 2013 7:33 am
by face_off
Oh.. and on the next release can the "Refresh Octane Scene from Poser" also update the materials of the scene? I have "Auto Refresh" set to "On"... but the textures are not being updated when I change them. I have to still go to "Materials" and do a manual update.
You may not want the textuemaps to be updated, so doing this automatically will cause some people a lot of grief. As per the other thread, I will add a menu option to refresh the image maps from the Poser material at some point in the near future.

Paul

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sat Jun 22, 2013 5:20 am
by hoddie
Hey Face off any chance of updating the little Launcher script for starting via python Palette ?

was...

import poser

import os, sys
(folder, bundle) = os.path.split(poser.AppLocation())

sys.path.insert(0, os.path.join(folder, "Runtime", "Python", "addons", "OctaneRender for Poser"))

import OctanePlugin
import wx

if OctanePlugin.octaneLib == None:
dlg = wx.MessageDialog(None, 'Could not load Octane libraries. Refer to the log file in your Poser Temp directory for details.', 'Error', wx.OK)
dlg.ShowModal()
else:
OctanePlugin.initiateOctane()
OctanePlugin.setup()

Noticed the OctanePlugin.pyc doesn't exist anymore, there are numerous new .pyc, tried the OctaneWrapper and RenderManager as import but appears names changed for octaneLib

Just a small request if you have time

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sun Jun 23, 2013 10:00 am
by face_off
Hoddie, the test code I use follows. It doesn't load saved Octane data from pz3 files though.

Code: Select all

import poser

import os, sys
(folder, bundle) = os.path.split(poser.AppLocation())

sys.path.insert(0, os.path.join(folder, "Runtime", "Python", "addons", "OctaneRender for Poser"))

import UiManager
import OctaneWrapper
import wx

if OctaneWrapper.m_OctaneLib == None:
    dlg = wx.MessageDialog(None, 'Could not load Octane libraries.  Refer to the log file in your Poser Temp directory for details.', 'Error', wx.OK)
    dlg.ShowModal()
else:
    if not UiManager.gOctaneStarted:
        UiManager.initiateOctane()
    UiManager.ShowSetupForm() 

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sun Jun 23, 2013 5:14 pm
by hoddie
Awesome thanks, I rarely require the settings from the Pz3

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sat Jun 29, 2013 3:00 am
by Zay
I got this hair from Daz : http://www.daz3d.com/cityswan-hair

But I get this message when opening the viewport:
Head has a mismatch between vertices and textures and it will not be loaded into the Octane Scene.

Followed by:
Traceback (most recent call last):
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\SetupForm.py", line 580, in EventOpenViewport
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\UiManager.py", line 3671, in ShowViewportForm
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\RenderManager.py", line 221, in StartRender
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\RenderManager.py", line 274, in ExtractSceneGeometry
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\UiManager.py", line 702, in connectMaterials
File "C:\Program Files\Smith Micro\Poser Pro 2012\Runtime\Python\addons\OctaneRender for Poser\Node.py", line 1398, in CreateOctaneApiNodesForAllPins
WindowsError: exception: access violation reading 0x00000000000000D8


Log:
DEBUG:root:Opening Viewport - reseting progressive save
DEBUG:root:Opening Viewport - creating Octane rendertarget nodes
DEBUG:root:Opening Viewport - loading geometry
DEBUG:root:geometrygroup node created with 2 pins
DEBUG:root:total number of vertices = 35409, vertex indices = 135800, normals = 35409, uvs = 7956, uv indices = 135800, polygons = 36494
DEBUG:root:transferring actor CitySwan_Hair_V4 : Neck geometry to octane
DEBUG:root: number of vertices = 35409, normals = 35409, uvs = 7955, polygons = 36494, sets = 135800, texture sets = 135800

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sat Jun 29, 2013 7:33 am
by face_off
Hi Zay

Firstly, it looks like the hair geometry has only been partially texturemapped. If you export the obj to ZBrush or some other modeller it should be able to fix it up. It would be interesting to know what modeller that vendor used which would produce such a mesh.

Secondly, when an error like this occurs, the plugin should NOT try to plug the invalid mesh into the geometrygroup node - so I will fix that in the next release.

Paul

Re: OctaneRender® for Poser beta WIN - build 1.17a [TEST]

Posted: Sat Jun 29, 2013 12:17 pm
by ch0pper
yes! i geting the same error message with the same model. yep its the obj file it self that giveing the problems