Jump to content

Rendering an attribute or a sop

Recommended Posts



I want to know if it's possible to have an object attribute outputted as file or in a ROP Net node.


I have a 1024x1024 grid right now. Each point on the grid represent a pixel. This grid has many attribute and I would love to render a map of all these attribute.


I know and tested to copy each attribute to the Cd attrib and render it. It works but I wonder if there is a simpler way. A node for instance that would not need a camera or would not need to copy the attribute to render to the Cd attrib. Ideally I would like to have a render node that renders the top view of an object given attribute.




Link to comment
Share on other sites


Apply a constant shader to your grid.

     Dive into the shader and for each attribute put down a bind node, Set the attribute name and type.

     Connect each to a bind export with same name and type.



Put down a mantra node.

     Go to the render tab, set Engine to micropolygon and link the UV render object string to your grid.

     Go to the output tab, check overide camera resolution and type 1024x1024.

     Scroll down to the extra image planes part and type number of attributes to render.

     in the fields below enter each attribute(vex variable) and type(vex type).



Remember that UV space rendering only works with micropolygon and vertex UVs. If you are rendering in ipr you need to uncheck the preview box since that uses raytracing.


Here is a file that renders the UV and a attribute called renderme as extra image planes.


Edited by mawi
  • Like 1
Link to comment
Share on other sites

Mawi, that answer is epic. It works perfectly and I learned a cool Vex trick to add attribute at the same time :)


Do you know if using Disable Edge AntiAliasing as Pixel Filter kills off completely the bluring between each pixle or I have to play around with settings in the Sampling Tab?

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.

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...