Conniekat8 opened this issue on Mar 13, 2009 · 9 posts
Conniekat8 posted Fri, 13 March 2009 at 3:10 PM
I need a script of some sort that I can run in Windows, or DOS, independent of any other apps.
It needs to import UV Mapping and grouping from a base OBJ file into a morphed OBJ file. It needs to be able to do it for a whole list (directory) of files.
For example, 100 morphs, one base file.
Doesn't need a fancy interface. I gather this is pretty simple thing for someone whom knows how to program.
50 Bucks paid via paypal or a gift cert On Rendo or DAZ - your choice, plus, three of my products, current or save for future releases.
Hi, my namez: "NO, Bad Kitteh, NO!" Whaz
yurs?
BadKittehCo
Store BadKittehCo Freebies
and product support
nruddock posted Fri, 13 March 2009 at 5:25 PM
Just so things are clear, what you want is a script to do the equivalent of UVMapper's import UVs function i.e. restore the grouping so that you can make morphs (as per -> http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2759444) ?
The easiest two languages to do this would be PERL or Python, but you'd need to install the standalone interpreters to use them from the command line (however a Python script could use Poser's built-in interpreter, but would need a simple GUI to collect arguments).
The other important thing is what location and naming convention do you want for the output files ?
Choices are :-
svdl posted Fri, 13 March 2009 at 6:05 PM
Hmm.
I'm a bit rusty when it comes to PoserPython, but it is probably the easiest way.
Procedure:
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
nruddock posted Fri, 13 March 2009 at 6:31 PM
That looks right, although I think there are advantages to taking a text processing approach to the problem.
markschum posted Fri, 13 March 2009 at 10:43 PM
The morphed object is identical to a master object except for vertex positions ?
so you could just replace the master obj vertex entries with the morphed object vertex entries ?
Poser python can certainly handle that , and the dialogs in poser 7 would make it fairly easy to get the original folder name .
markschum posted Wed, 18 March 2009 at 11:24 AM
Has anyone done this request ?
nruddock posted Wed, 18 March 2009 at 3:19 PM
Quote - Has anyone done this request ?
Not yet.
PhilC posted Wed, 18 March 2009 at 3:44 PM
I do not often read the forum front page but just saw this post bumped to the top.
Conniekat8 emailed me directly, probably at the same time as making the post.
I emailed a script back later the same evening.
Yes it is just basic text manipulation, swapping out the vertices lines from the morphed OBJ back to the original.
markschum posted Wed, 18 March 2009 at 4:20 PM
ok, thanks , I just wanted to check before I started on it .