Trouble creating custom cage

6 replies [Last post]
User offline. Last seen 1 year 15 weeks ago.
Posts: 368

I am trying to create my own cage for baking in maya, but everything I try it won't bake with.

I have the cage option selected on, all I did was do an extrude faces on the mesh, then delete the left behind faces, so the poly/tri/vertex count is all the same, even the UVs are the same. But it always comes up with the error message:

"Invalid function paremeter 'cage'

the cage mesh in lowpolyCageFile has at face 0 a vertex index that doesn't match with the correspondent one for the mesh default inside the file lowpolyMeshFile"

I have tried using obj and fbx formats, deleting history. Don't know what else to do

Maya|Zbrush|Photoshop|UDK

User offline. Last seen 2 days 10 hours ago.
Posts: 599

To use external cage files the topology of the cage must be IDENTICAL to the lowpoly mesh's one.

That means you cannot delete/add faces or vertices. You must clone the lowpoly mesh and just move or extrude vertices/faces.

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 1 year 15 weeks ago.
Posts: 368

It's because maya doesn't have a "push" modifier so I have to do an extrude and delete the extra faces. Guess you can't do that.

Is it something to do with Vertices "ID" or something? because the topology and UVs are all exactly the same.

Maya|Zbrush|Photoshop|UDK

User offline. Last seen 2 days 10 hours ago.
Posts: 599

JackyBoy wrote:

It's because maya doesn't have a "push" modifier so I have to do an extrude and delete the extra faces. Guess you can't do that.

Is it something to do with Vertices "ID" or something? because the topology and UVs are all exactly the same.

Same topology means same vertices ID, yep. If you add/remove any vertex/UV then the topology changes and xNormal shows that error message.

 

So you must clone the lowpoly mesh and just move some vertices/faces.

Btw, caution how you move the vertices... because the cage not only controls the ray distance limits but also the ray direction ( which can result in a wobbling effect for a cylindrical model ).

 

 

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

I'm having some real issues with creating a custom cage. Twice now I've created a cage from a cloned model, only moved vertices, (not deleted or added anything) and then when I come to view models or generate the maps I get told that there's a face that doesn't match up (usually face 266 for some reason).

I tracked down the face that doesn't sit right and it's exactly the same in the cage and lowpoly model, right down to vert numbers.

Any help would be greatly appreciated.

User offline. Last seen 1 year 15 weeks ago.
Posts: 368

What package are you using?If it is maya then I have a solution for you

Yeah, it's quite annoying because you can't even use a duplicated model. It has to be the SAME model with moved faces

Maya|Zbrush|Photoshop|UDK

No, you actually CAN use the duplicated model. Im using Maya 2009 (64 bit).
First i was getting the same error in Xnormal, when i used my small (test model) in Maya to expand the external cage. What i did is I extruded "duplicate faces" which seemed easier to me to scale it a bit more.. and Xnormal run an error on me.

The I duplicated the original model and manualy moved the edges and verticles (without using extrude or duplicate face) and re-saved as OBJ, put it in Xnormal as external cage and it worked.

This Post needs Your Comment!

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?