Jump to content

Baking procedural textures in Renderman to .tex


chop

Recommended Posts

I don't know of a way as simple as Mantra -u, but a good technique is to bake to a 3d texture. You can bake texture to a point cloud and read that point cloud in directly with the bake3d and texture3d commands. There aren't VOPs for these (yet) but they're really straightforward to do in an inline code VOP or a custom VOP. The nice thing about doing this is you get some degree of antialiasing for free - as pointcloud lookups are filtered. If you bake this pointcloud to a brickmap with the Brickmake utility (in PRman), you get even better antialiasing.

You can even bake UV coords look up them using NDC position when rendering a grid directly in front of the camera if you really need a 2d .tex file.

Good luck dude.

Hi all,

is there a way to bake out a procedural texture map from vops to create a .tex file that renderman can read on to geometry as a texture?

thanks

chop

Link to comment
Share on other sites

I don't know of a way as simple as Mantra -u, but a good technique is to bake to a 3d texture. You can bake texture to a point cloud and read that point cloud in directly with the bake3d and texture3d commands. There aren't VOPs for these (yet) but they're really straightforward to do in an inline code VOP or a custom VOP. The nice thing about doing this is you get some degree of antialiasing for free - as pointcloud lookups are filtered. If you bake this pointcloud to a brickmap with the Brickmake utility (in PRman), you get even better antialiasing.

You can even bake UV coords look up them using NDC position when rendering a grid directly in front of the camera if you really need a 2d .tex file.

Good luck dude.

cheers, i thought i may have to go down that road. i will give it a go asap

thanks for the help brainburke

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