Problem using Renderman RIS and ptex textures in Houdini
4179 6 1- Asger Meldgaard
- Member
- 16 posts
- Joined: Oct. 2014
- Offline
Hello everyone
I have encountered a few problems when transferring ptex textures from Mudbox into Houdini. I am using Renderman in Houdini, but loading ptex textures through a pxrptexture node into the diffuse channel of a BxDF yields weird results. The textures seems to be tiled so my guess is that something is wrong with the face id's.
I simply exported the geometry from mudbox as an obj. file along with the ptex texture created in mudbox and used a file-node in Houdini to import it. I applied a pxrDisney material with the pxrptexture hooked into the base color slot. Any ideas on how to set it up correctly or what I am missing would be greatly appreciated.
cheers
I have encountered a few problems when transferring ptex textures from Mudbox into Houdini. I am using Renderman in Houdini, but loading ptex textures through a pxrptexture node into the diffuse channel of a BxDF yields weird results. The textures seems to be tiled so my guess is that something is wrong with the face id's.
I simply exported the geometry from mudbox as an obj. file along with the ptex texture created in mudbox and used a file-node in Houdini to import it. I applied a pxrDisney material with the pxrptexture hooked into the base color slot. Any ideas on how to set it up correctly or what I am missing would be greatly appreciated.
cheers
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- Asger Meldgaard
- Member
- 16 posts
- Joined: Oct. 2014
- Offline
Maybe this could help. It should work in indie with renderman installed. I applied a test ptexture to a generic mudbox sphere. The jpeg image is how it should look. It definitely seems as though the ptexture is getting tiled pr polygon so I am almost certain that missing face indices are to blame for the problem. But I have not found a way to apply them in Houdini.
- Asger Meldgaard
- Member
- 16 posts
- Joined: Oct. 2014
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
First you need to create a __faceindex attribute.
Then maybe you have to flip the ptex.
My demo ptex comes from 3D Coat :-) , which has a “Flip” option in the ptex export menu.
Compare test-c and test-d render.
If you test my scene, please set back the “Command” to your needs
Hope that's helpy
Then maybe you have to flip the ptex.
My demo ptex comes from 3D Coat :-) , which has a “Flip” option in the ptex export menu.
Compare test-c and test-d render.
If you test my scene, please set back the “Command” to your needs
Hope that's helpy
Edited by matthias_k - Aug. 9, 2016 19:04:12
English is not my native language, sorry in advance for any misunderstanding :-)
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
had a look in mudbox, no flip option :-(
Maybe try a reverse sop, see image…
or use 3D Coat ;-)
http://3dcoat.com/home/ [3dcoat.com]
Maybe try a reverse sop, see image…
or use 3D Coat ;-)
http://3dcoat.com/home/ [3dcoat.com]
English is not my native language, sorry in advance for any misunderstanding :-)
- Asger Meldgaard
- Member
- 16 posts
- Joined: Oct. 2014
- Offline
-
- Quick Links