Jump to content

Visualizing refined geo by mantra


Recommended Posts

Hi guys,

It might be a naive question to ask.

Is there a way we can visualize or dump the refined geo by mantra ? I want to see how mantra refines /splits primitives before being diced in to micro polygons depending on the grid/bucket size, shading rate, primitive measuring options etc.

Since refinement depends on the type of primitive so lets say a sphere primitive which is implicitly defined at sop level.

How would it be split and converted from implicit into many parametric subprimitive patches for given parameters.

Rendering an image with random noise pattern which is smoothly blended across micropolygons is one way to check for split seams.

But i want to know if there is way, we can duplicate mantra's geometry engine settings at sop level or at least grab the geometry coming out from splitting loop just before being diced.

Any suggestions ?

Thanks!!

Edited by vectorblur
Link to comment
Share on other sites

Thank you guys for the replies :).

Would using the Subdivide SOP with Mantra compatible subdivision turned be what you're after?

Not really – so as help card says.

“It enables a subdivision algorithm that is compatible with the subdivision algorithm used by mantra when the Polygons as Subdivision rendering parameter is enabled”

Not quite what you want but maybe you can just write out a point cloud from your shader. Then that would give you some idea of the density of micropolygons?

Point clouds will be really cool if we can we access info from the micorpolys such as “which patch/grid they were part of before they are busted into individual polygons for sampling ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...