Forum: Poser Technical


Subject: Info on OBJ file structure and topology?

Conniekat8 opened this issue on Jun 27, 2007 · 15 posts


Conniekat8 posted Wed, 27 June 2007 at 3:59 PM

Neat, thanks nruddock!

I don't know if there's a utility out there that does this...
Grouping an object for Poser import based on a template....

say I have a main object A, ungrouped (Au.obj) and a groupped version (Ag.obj)
Then I have several morphs of the main object (with vertex order intact)... Bu.obj, Cu.obj, Du.obj, Eu.obj...)

I want something that will look at how Au.obj was groupped into Ag.obj, and do the same to Bu.obj, Cu.obj, Du.obj, Eu.obj

I was looking through the obj file itself, and it seems to be the matter of finding the vertex with the right coordinate (and the right face description), and write out a sequence of verteces and faces from the original file. 
Actually, considering that Bu.obj, Cu.obj, Du.obj, Eu.obj will be used as morph targets, I probably don't need faces, but only verteces to create deltas. (I think, but I'm not 100% sure on this one)
That way if I've created 15 different morphs for a piece of clothing, I only need to hand group one of them.

Seems like it wouldn't be a really hard programming exercise, maybe in VBA? (Way over my head of course)

I'm thinking though I may be able to do the same in a semi automatic way with help of excell or access and a text editor...

I'm still hoping someone has already written a utility to do this... At the moment I'm lost trying to figure out which utility does what, and how... (I'm open to pointers)

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support