Ptex error with imported geometry
4437 8 1- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
Hi there. So I am trying to figure out the PTEX workflow and for the most part have been pretty happy with the results. However I've run into problems as soon as I started using imported geometry from maya. I've tried deleting the UVs, fixing the normals, exporting the model from houdini into mudbox and then reimporting it from mudbox after I'm done painting…nothing seems to be working. I've included a .zip with my file, the imported geometry, and the exported ptex file. Any chance anyone could clue me in to what I am doing wrong?
- mark
- Staff
- 2619 posts
- Joined: July 2005
- Offline
90ender
Hi there. So I am trying to figure out the PTEX workflow and for the most part have been pretty happy with the results. However I've run into problems as soon as I started using imported geometry from maya. I've tried deleting the UVs, fixing the normals, exporting the model from houdini into mudbox and then reimporting it from mudbox after I'm done painting…nothing seems to be working. I've included a .zip with my file, the imported geometry, and the exported ptex file. Any chance anyone could clue me in to what I am doing wrong?
It looks like the acorn is modelled as triangles. Clicking the middle mouse on the xform1 tile shows that there are 1,312 polygons.
When I run iinfo “ptexpainttest_Default Material (ptex)_Diffuse_Paint Layer 1.ptx” in a terminal, I see that the texture map is built for quad mesh geometry containing 3696 quads.
.ptex files are matched with their geometry, and I don't think the .ptex file matches the acorn squash.
- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
So I tested using the same model but with no tris since I read that the some people had trouble using ptex with triangles. However the textures don't work. I'm using a windows machine currently so I'm not sure how to call up the info for the ptex file to compare polycount but as far as I can tell I have not altered the mesh at all from the point that I painted on it in mudbox.
- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
Finally! So I got it working by pure accident. Turns out I needed to throw down a reverse sop on the version of the model with no tris. Worked like a charm. So lessons learned is ptex does not support tris in houdini and to always try a reverse sop if things just aren't working with imported geometry. Thanks for your help guys!
- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
- firefly9000
- Member
- 169 posts
- Joined: April 2014
- Offline
- pezetko
- Member
- 392 posts
- Joined: Nov. 2008
- Offline
- NFX
- Member
- 183 posts
- Joined: Dec. 2011
- Offline
-
- Quick Links