Page 1 of 2
Bug: Geometry Shells - UI freeze 2+ surfaces in DUF mode
Posted: Mon Jun 06, 2016 6:59 am
by linvanchene
All DAZ Studio instancing options are not yet supported in OcDS.
Nevertheless you can use the DAZ Studio
Geometry Shells to have multiple copies of the same object even with different textures in the scene.
Update / Edit:
When adding geometry shells the plugin will not lock up in any case if the object only has one surface zone.
Update / Edit 2016 06 27:
Another requirement for the lock up to happen is that DUF material conversion mode is selected.
When in AUTO or MAN material conversion mode the UI lock up event is not triggered.
- - -
- Select the geometry in the DAZ Studio Scene tab
- Create / New Geometry Shell
-> A geometry shell is placed on the same location as the original
- Use X, Y, Z translation to place the geometry shell at another location in the scene
- OcDS material autotranslation will create a default material
- Drag the material of the original on the geometry shell
Note:
The Geometry Shell will not use any more VRAM than was already used by the original
-> OctaneRender is able to detect that the textures and the object of the geometry shell are duplicates
- - -
Testscene as .duf in .zip:
The referenced "Bench" is part of the Genesis 2 Starter Essentials.
- - -
If you are interested in more advanced instancing options that work with OctaneRender standalone have a look at
Phantom Scatter
viewtopic.php?f=9&t=33791
http://scatter.phantomtechnology.nl/
- - -
Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Mon Jun 06, 2016 7:29 am
by linvanchene
Update / Edit:
It seems the catch is:
When there are
multiple surface zones on the original mesh there is a high chance that
OcDS will freeze a few seconds after you use the "Create Geometry Shell" option.
Some time during the V2 builds it might have been possible to use geometry shells on objects with multiple surface zones.
Cryo Tube
http://www.daz3d.com/cryotube
CryoTube before using the Geometry Shell command
OcDS plugin window frozen after using create geometry shell command
- "Frozen" means you cannot interact anymore with OcDS in any way.
- The OcDS user interface seems to change the color like there is an additional layer below or above.
- you can also not anymore use the DAZ Studio command to create a "New Scene".
Other interactions with DAZ Studio seem to remain possible.
- - -
Other tests performed:
Tested with other objects that have multiple surface zones so far all seem to trigger the same OcDS freezing effect.
When you have the materials tab open you can notice that the geometry shell and the multiple surface zones are added to the surface tab but after that OcDS stops operating.
- - -
Steps to replicate this issue:
- Place Genesis 3 female or any object with multiple surface zones in the scene
- autoconvert to OctaneRender materials
- select object in DAZ Studio Scene tab
- use function "Create Geometry Shells"
- - -
Tested with
Daz Studio Pro BETA - version 4.9.2.70
OctaneRender for DAZ Studio 3.0.20.22 (64 bit)
- - -
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Mon Jun 06, 2016 12:31 pm
by face_off
I could not reproduce this lockup with G3 or the Props->Aikanaro->NoAi-Columnwall prop. Does the column prop produce a lockup for you?
Paul
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Mon Jun 06, 2016 7:36 pm
by linvanchene
face_off wrote:I could not reproduce this lockup with G3 or the Props->Aikanaro->NoAi-Columnwall prop. Does the column prop produce a lockup for you?
Paul
The NoAi-Columnwall does also trigger the lockup for me.
Tried with other props of the Genesis Starter Essentials as well.

- staff triggers lockdown

- terrace works
Tried other workflows like
- no autoconversion of source object
- click on create geometry shell immediately
- different geometry shell settings
- creating a geometry shell with OcDS viewport open

- with viewport open you can observe how the geometry shell is added and then OcDS freezes
-> Seems pretty consistent on my system.
If there are more than 1 surface zone OcDS lockup happens with "Create Geometry Shell"
- - -
On the positive side (weirdly enough)
using the command:
Create new node instance
and
create new node instances
actually worked

- 10 instances of the "stand"
-> If you use this command to create instances you will not be able to edit the materials of the instances in OcDS.

- Instances + by DraagonStorm is also working
- - -
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Tue Jun 07, 2016 1:06 am
by face_off
I still cannot reproduce this error on the next version of the plugin. May I suggest re-testing once the new release is available.
Paul
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Thu Jun 09, 2016 9:42 am
by linvanchene
- - -
CAN PLEASE SOMEONE ELSE TEST THIS AS WELL.
Feedback from other users would help to figure out why I can reproduce this error over and over while others can't.
Testing this should take less than two minutes and you can do it with any object that has more than one surface zone.
- - -
face_off wrote:I still cannot reproduce this error on the next version of the plugin. May I suggest re-testing once the new release is available.
Paul
Retested with
Daz Studio Pro BETA - version 4.9.2.70
Build 3.0.22.23 Test Release
Source:
viewtopic.php?f=44&t=51808&start=380#p278563
- - -
The behaviour remains the same as described before.
If you create a geometry shell of an object with more than one surface zone OcDS will lock up (freeze).

- Object Selected in Scene - New Geometry Shell

- Geometry Shell Options

- OcDS locked up and not responding anymore after geometry shows up in OcDS viewport
-> You can see that the OcDS viewport locked up because rendering stopped after 1 frame.
- - -
Test Scene:
- - -
Make sure to have selected the object in the scene tab when clicking on "New Geometry Shell".
Just clicking on "New Geometry Shell" of course does not trigger any lockup when nothing is selected.
When nothing is selected in the scene no geometry shell will be created.

It can be hard to actually tell if a geometry shell was created because it is placed in exactly the same location and position as the original object.
A great test if a geometry shell was created is to
select the geometry shell in the DAZ Studio scene tab and then
move it around with the DAZ Studio
Translate tool.
Now you may notice that the Geometry shell position will not anymore be updated in the OcDS viewport.
- - -
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Sat Jun 11, 2016 7:17 am
by linvanchene
Retested with 3.1.1.23
->
same behaviour as described before
Nevertheless while having a look how this works in Iray I found two workarounds for the OcDS lockup:
Workaround I:
When OcDS gets locked up by creating a geometry shell apply an Iray Uber Base shader to the geometry shell.
Just applying a new diffuse color to the geometry shell or changing its position does not have any effect on the "freeze" status of the OcDS plugin.
Nevertheless, applying an Iray Uber base shader does seem to trigger some kind of action that causes the OcDS plugin to get unlocked again.
- - -
Workaround II:
While it is not possible to use the "New Scene" command when OcDS is locked up you can still save and load scenes.
-> Save and load your scene to unlock OcDS.
- - -
- - -
Using those workarounds I was able to
- create a geometry shell of an object
and then
- create a node instance of both the geometry shell and the object

- geometry shell and node instance combined - scene pane view
The cryo tube object in all white colors in the front row is the original.
The cryo tube object with a red base is the geometry shell.
The two other cryo tubes in the back row are node instances.

- geometry shell and node instance combined - OcDS materials tab
-> Using this combination of geometry shells and node instances you can quickly create some patterns with objects of different colors.
- - -
Is the memory of the geometry of instances and geometry shells adding up or just using up the VRAM of one object as intended?
It seems like only the memory of one object is counted in the VRAM.
Keep in mind that using different type of textures for the geometry shells will also use up VRAM.
Nevertheless this may need further testing.
There were some random strange results in which using geometry shells and instance nodes resulted in actually LESS VRAM being used than just the one original object.
-> Let's blame that one on windows 10 and its strange VRAM behaviour in general.
- - -
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Sun Jun 26, 2016 2:26 pm
by DrHemulen
Was just messing around with G3 and geoshells today with no issues.
OCDS 3.2.0.23 - DAZ 4.9.2.70
Re: Bug: Geometry Shells - UI freeze when more than 1 surface
Posted: Mon Jun 27, 2016 12:34 am
by face_off
Just applying a new diffuse color to the geometry shell or changing its position does not have any effect on the "freeze" status of the OcDS plugin.
Nevertheless, applying an Iray Uber base shader does seem to trigger some kind of action that causes the OcDS plugin to get unlocked again
Is it possible that on your installation you have a template that is being applied to the duplicated shell which is causing the freeze that the rest of us do not have? Or the object you are duplicating has previously been saved with Octane data attached to it? Or perhaps your plugin Preferences have an option set with the rest of us have not got set which is triggering the problem? Applying the IRay material is causing an Octane material reload/re-conversion which is pulling it out of the frozen state.
Paul
Bug: Geometry Shells - UI freeze 2+ surfaces in DUF mode
Posted: Mon Jun 27, 2016 12:59 pm
by linvanchene
Thank you DrHemulen for providing feedback.
It is extremely helpful in such situations to have feedback from other users to narrow down why one user observes the behaviour and others not at all.
face_off wrote:Just applying a new diffuse color to the geometry shell or changing its position does not have any effect on the "freeze" status of the OcDS plugin.
Nevertheless, applying an Iray Uber base shader does seem to trigger some kind of action that causes the OcDS plugin to get unlocked again
Is it possible that on your installation you have a template that is being applied to the duplicated shell which is causing the freeze that the rest of us do not have? Or the object you are duplicating has previously been saved with Octane data attached to it? Or perhaps your plugin Preferences have an option set with the rest of us have not got set which is triggering the problem? Applying the IRay material is causing an Octane material reload/re-conversion which is pulling it out of the frozen state.
Paul
Your questions gave me an idea what to check and I was able to further narrow this event down...
Which setting is preventing automatic material conversion after loading?
Which setting am I using all the time in my workflows that might be ignored by other users?
In short the result of further testing:
When loading geometry shells with multiple surface zones while in
DUF material conversion mode a locked state of OcDS is triggered.
- - -
Longer version:
Test:
Which of the material conversion modes AUTO, DUF, MAN are triggering a lockup of OcDS when geometry shells with multiple surface zones are loaded?
- - -
Auto mode
"Automatic material updates after content loads" checked
"Load OctaneRender materials from .duf presets" checked
-> geometry shells of multi surface objects load without issues
Speculation: Immediately after loading a geometry shell into OcDS a material conversion is performed as expected.
- - -
Man mode
"Automatic material updates after content loads" not checked
"Load OctaneRender materials from .duf presets" not checked
-> geometry shells of multi surface objects load without issues.
Speculation: Maybe because no material conversion is expected to happen at all at any time during loading maybe OcDS is not expecting a material conversion when the geometry shells are detected and added to the OcDS surfaces tab? Therefore OcDS is not waiting for any command and scene is loading as expected.
- - -
DUF mode
"Automatic material updates after content loads" not checked
"Load OctaneRender materials from .duf presets" checked
> loading geometry shells of multi surface objects trigger a lockup.
Speculation:
Maybe this current combination of material loading and conversion options causes some unresolved issues.
- A material conversion should happen when loading user created .duf files that already contain OctaneRender material information.
- But no material conversion should happen when loading completely new objects into the scene.
Geometry shells may fall somewhere in between those criterias or may be meeting both of them because geometry shells are tied to objects already detected by OctaneRender.
This freeze or locked up state may just be symptom of waiting for a command what to do with that specific situation?
- - -
Can anyone else reproduce the described behaviour in DUF material conversion mode?
- - -