Stop objects in DOP network rendering?

   3708   9   2
User Avatar
Member
269 posts
Joined: July 2013
Offline
I have added a Ground Plane node in a Dop Network. How do I stop Mantra from rendering the ground plane or any other specific object in the sim?
User Avatar
Member
9380 posts
Joined: July 2007
Offline
just don't import them to the Geometry Object you are rendering
and don't render the DOP Network Object directly either
Edited by tamte - Sept. 19, 2019 00:23:08
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
269 posts
Joined: July 2013
Offline
Hello tamte,

How do I render the DOP Network indirectly? Could you describe a simple set up?
User Avatar
Member
53 posts
Joined: June 2009
Offline
You can have a simple setup available directly from the shelf
When you click on it, it creates a DOP Import SOP in your geometry node (the toy in my example scene) where it imports only the toy object from the DOP Network (see object mask parameter on the DOP Import)

Attachments:
dop_rendering.hiplc (504.1 KB)

User Avatar
Member
269 posts
Joined: July 2013
Offline
I think my set up had a bug which was making the Ground Plane node render. It is not rendering at all now – presumably it is not supposed to?

tamte: I think I understand your instructions now. It seems I should uncheck the display flags on the geometry nodes at scene (object) level I don't want to render and not embed objects within a particular geometry node so I can control more of what renders.
User Avatar
Member
269 posts
Joined: July 2013
Offline
In the project example kindly supplied by bebe, the Object mask parameter of the DOP Import node has this file path:
`dopobjscreatedby(“/obj/AutoDopNetwork_DONT_RENDER/toy”)`

I understand that this will only render the toy RBD object in the DOP network. How do you write the file path to also render another object in the same DOP network, rather than everything)?
I don't know the syntax. For example if there is another RBD object node in it called: sphere.
User Avatar
Member
53 posts
Joined: June 2009
Offline
Hi Litote

In my scene the DOP import node is set to extract the transform information
Change that to “Fetch Geometry From DOP Network”
Uncheck the “Use Single Object” option
And add the same syntax behind your first object:
`dopobjscreatedby("/obj/AutoDopNetwork_DONT_RENDER/toy")` `dopobjscreatedby("/obj/AutoDopNetwork_DONT_RENDER/groundplane1")`

Alternatively you can use their id directly:
0 1

And if you need more control, just duplicate the main branch and merge the results

See attached scene

Attachments:
dop_rendering_multiple_objects.hiplc (537.4 KB)

User Avatar
Member
269 posts
Joined: July 2013
Offline
Hello bebe,

Thank you for the scene file. How do you determine the ID for each object? I can see that 0 matches the ground plane and 1 matches the model, but where do you find their assigned ID numbers?
User Avatar
Member
53 posts
Joined: June 2009
Offline
With the dopobjscreatedby() function

The id is 0 for the most top-left object, and increases bottom-right
Remember, DOP networks reads top-left –> bottom-right
User Avatar
Member
269 posts
Joined: July 2013
Offline
@bebe: Thank you! Your scene file and explanations have really helped me. Much appreciated!
  • Quick Links