Thanks for the idea Paulface_off wrote:I think a much better solution would be if this was implemented directly into the DzInstanceGroupNode item. You should be able to do this yourself with some DAZ script. Copy the Octane Scatter node (containing the instances) into the Windows clipboard (in PhamtonScatter or Standalone), select the DzInstanceGroupNode, run the script - which would iterate through the Windows clipboard CSV transforms, and add each as a DzInstanceGroupItem to the selected DzInstanceGroupNode.Btw. if you do manage to add Octane Scatter nodes to the plugin, can you see if the CSV created out of Phantom Scatter can be added to a scatter node in the NGE ?
Paul
UltraScatter and Voxelizer?
Moderator: BK
Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.
Windows 10 Pro i9-9980XE 128GB RAM|4 x Titan RTX
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Below is a (highly) experimental build which attempts to provide support for grouped instances. Pls let me know how you go with it.
3.4.5.30
- Added support for Instances Groups - so UltraScatter and Voxelizer scenes may now work
https://render.otoy.com/customerdownloa ... _Win64.exe
Paul
3.4.5.30
- Added support for Instances Groups - so UltraScatter and Voxelizer scenes may now work
https://render.otoy.com/customerdownloa ... _Win64.exe
Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
It still has some issues with placement (see attached pic), but considering that previously this scene rendered with a bare field and a couple of trees this is a big step forward.face_off wrote:Below is a (highly) experimental build which attempts to provide support for grouped instances.
Looking good. At a guess, there is something odd with the transform of that tree instance group. Perhaps is has nested instances? You will need to do some digging to isolate the specific instance that is not right and see if there is something obvious that might be causing it.
Paul
Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Thanks Paulface_off wrote:Below is a (highly) experimental build which attempts to provide support for grouped instances. Pls let me know how you go with it.
3.4.5.30
- Added support for Instances Groups - so UltraScatter and Voxelizer scenes may now work
https://render.otoy.com/customerdownloa ... _Win64.exe
Paul
Windows 10 Pro i9-9980XE 128GB RAM|4 x Titan RTX
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Hi Paul,rajib wrote:Thanks Paulface_off wrote:Below is a (highly) experimental build which attempts to provide support for grouped instances. Pls let me know how you go with it.
3.4.5.30
- Added support for Instances Groups - so UltraScatter and Voxelizer scenes may now work
https://render.otoy.com/customerdownloa ... _Win64.exe
Paul, will download now and try. I will try the nested instances and if that has problems will provide you the scene files. I will still use the cubes, circle and the cones to create the scene so that you can easily open it for the debugging.
Have tested and have an update for you. It works perfectly with any DzInstanceGroupNode groups created but there is an additional property you need to check for before you create the scatter nodes in the Octane Plugin. For each DzInstanceGroupNode node you find, you need to call getPreviewControl(). That returns a DzBoolProperty type and you can call getBoolValue() to get the true/false value. If the getPreviewControl() returns true, do not use that DzInstanceGroupNode node to create scatter nodes in Octane. Simply ignore it. This node is meant for Daz to display a low resource version of the instances on its Viewport. If the getPreviewControl() returns false it indicates that that node is for actual rendering and the Octane plugin should create the scatter nodes based on that. Currently I don't think the experimental plugin is taking that into account and as such is rendering twice the number of instances for scenes created with scripts like UltraScatter that add an additional proxy (low rerource) instances node meant only for preview in Daz Viewport.
//Sample script code
var PreviewControl = CurrentDazInstanceGroupNode.getPreviewControl();
var IsPreviewNode = PreviewControl.getBoolValue();
if(IsPreviewNode == true)
continue; // Ignore this
else
CreateOctaneScatterNodes(CurrentDazInstanceGroupNode);//Create the scatter nodes based on this
In the below screenshot from the CubeinstancesTest.duf I sent you in the other post, if you look at the Daz Viewport, the dark semitransparent cubes are low resource preview instances in the UltraScattered cube proxies node. That node will return true for getPreviewControl(). In the Octane Viewport, you can see it is rendering the actual instances contained in the cube Instances group (solid White) and also the preview node UltraScattered cube proxies (semi transparent cubes). Hence the extra instance being rendered in Octane plugin. Switching to IRAY render you can see that IRAY is ignoring the preview node, Octane plugin is not. Finally if I manually turn off the UltraScattered cube proxies visibility, both IRAY and Octane Viewports match. So like I mentioned above the Octane plugin need to check the getPreviewControl() for each of the DzInstanceGroupNode nodes it finds and it that returns true, ignore that group node.
Hope this helps. Do let me know if you need anything else. I am attaching the scene file with this message again. It will have the visibility on UltraScattered cube proxies on and you can verify that the IRAY and Octane Viewport won't match until the Octane plugin handles the getPreviewControl(). The scene file has UltraScatter created nodes.
Regards,
Rajib
- Attachments
-
- CubeInstancesTest.zip
- Test Scene File
- (35.82 KiB) Downloaded 293 times
Windows 10 Pro i9-9980XE 128GB RAM|4 x Titan RTX
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
This approach is not working correctly - you can see the original 6 cubes from your previous scene are not rendering.So like I mentioned above the Octane plugin need to check the getPreviewControl() for each of the DzInstanceGroupNode nodes it finds and it that returns true, ignore that group node.
Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Actually - it's the cubes in the instance group attached to the ground which are not rendering. I will investigate further.
Paul
Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
I can confirm that getPreviewControl()->getBoolValue() is returning TRUE for cube_GroupInstance. You should be able to confirm this yourself with your script (delete everything else from the scene). This would appear to be a bug in DAZStudio, although perhaps there is some other override which we are missing.
The documentation for getPreviewControl() states:
Paul
The documentation for getPreviewControl() states:
Code: Select all
The property controlling whether or not the node is drawn in the viewport.Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Hi Paul,face_off wrote:I can confirm that getPreviewControl()->getBoolValue() is returning TRUE for cube_GroupInstance. You should be able to confirm this yourself with your script (delete everything else from the scene). This would appear to be a bug in DAZStudio, although perhaps there is some other override which we are missing.
The documentation for getPreviewControl() states:PaulCode: Select all
The property controlling whether or not the node is drawn in the viewport.
You are right. I completely missed that. I was so busy looking at the UltraScatter created nodes that I forgot to check the getPreviewControl on the manually created instance group node. Like you said it is returning true. I will explore further. I think there might be some other setting that is telling IRAY to ignore the proxy nodes and render only the required nodes. Will explore and update if I find anything.
Regards,
Rajib
Windows 10 Pro i9-9980XE 128GB RAM|4 x Titan RTX
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard
Houdini 18.5(2020.2.1.2)|Cinema C4D R26|Daz Studio Pro 4.21.0.5(Octane 2021.1.6.83)
NVIDIA 460.89 Studio Standard

