Thu, Feb 13, 5:31 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 13 3:49 pm)



Subject: Is it possible?..has anybody figured out how?...mirroring geometry and textures


davo ( ) posted Thu, 14 August 2003 at 11:25 AM · edited Thu, 13 February 2025 at 5:30 PM

Has anybody figured out how to make a program, probably external from Poser, that would mirror the geometry and textures of an obj file. Say for example you make a left wing for an aircraft, run the program and wa-lah, you have a right wing, mirrored. I'd pay a lot of money for a handy program like that. I guess it's a challenge! Davo


TrekkieGrrrl ( ) posted Thu, 14 August 2003 at 11:27 AM

Some programs do that. LightWave does it. Very handy :o)

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



davo ( ) posted Thu, 14 August 2003 at 11:30 AM

heh heh, when I said "pay a lot of money", I didn't mean Lightwave money :-) I bet Ajax could swing something like this being the genious he is ^_^


SAMS3D ( ) posted Thu, 14 August 2003 at 11:42 AM

LOL...Autocad does it too, but be warned sometimes when you do that your normals go wacko....Sharen


davo ( ) posted Thu, 14 August 2003 at 11:51 AM

crap, I use autocad every day and don't even know if can work with objs, I think it's just 3ds files isn't it? Then I'd loose all the uv mapping. I think somebody needs to do a script or something that would mirror all the information (posatives to negatives or something like that), then they could mirror the texture manually. Definately something I could use with some of the new stuff I'm working on.


davo ( ) posted Thu, 14 August 2003 at 12:05 PM

as an experiment, I exported a leaf from figure I have, mirrored it in rhino and saved it as a morph target, I applied the morph and the leaf mirrored over just fine, except the normals are reversed. I exported the leaf (mirrored) as an obj file and opened it up in uvmapper pro, then inverted the normals and saved it as a new obj file, the textures still held. This is okay for single items like a leaf, but more complex objects, like a full figure, say a wing with moving struts and such might prove more difficult since each item would need to be exported on it's own.


ockham ( ) posted Thu, 14 August 2003 at 12:27 PM

Attached Link: http://ockhamsbungalow.com/Python/ReverseOBJ.zip

As mentioned, most modelling programs will mirror an obj. Here's a quickie script to do the job if you don't have such a modeller. See the readme for details. I think you'll need to check the "flip normals" when importing the reversed obj.

My python page
My ShareCG freebies


davo ( ) posted Thu, 14 August 2003 at 12:33 PM

Thanks ockham, I'll give this a go, ummmm.. what program do you use to open this up or run the script? Poser 5? or do you do it with wordpad or something? (I have poser 5, but have not used it much, I'm still using poser 4 at the moment) Davo


ockham ( ) posted Thu, 14 August 2003 at 12:38 PM

If you have original non-Pro Poser 4, you can't run Python. ProPack and P5 will run it.

My python page
My ShareCG freebies


davo ( ) posted Thu, 14 August 2003 at 12:39 PM

okay, that's cool, I can load up my Poser 5 and give it a try, I really appreciate your help a lot, Davo


Spanki ( ) posted Thu, 14 August 2003 at 12:48 PM

Try this: "STOMP" ...it correctly flips the normals for you as well. It's a (beta) windows program, uses OpenGL for displaying the mesh. Be sure to read any included readme type files. Cheers, - Keith

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


Spanki ( ) posted Thu, 14 August 2003 at 1:05 PM

...as an aside, if you download my program, please take note that my correct e-mail address is: spanki@cablenet-va.com ...the old mindspring address is being discontinued.

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


davo ( ) posted Thu, 14 August 2003 at 1:28 PM

Spanki!!! Thanks so much, it worked perfectly on a simple figure with moving parts!! Normals flipped, textures take, no problems at all, I'm sooooo happy ^_^ This did exactly what I wanted it to do. Davo "can you tell I'm happy?" Rama


Spanki ( ) posted Thu, 14 August 2003 at 1:41 PM

Cool.. glad to help. ;).

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


Spanki ( ) posted Thu, 14 August 2003 at 1:44 PM

...now, about that "I'd pay a lot of money" thing... ;) j/k

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


davo ( ) posted Thu, 14 August 2003 at 1:46 PM

I'd pay you for that, you just saved me a ton of time and effort, or if you like, go browse beyondbent.com and pick whatever you'd like :c) Davo


Spanki ( ) posted Thu, 14 August 2003 at 1:52 PM

Hehe... actually, I'm mostly interested in any feedback on the program. It may end up a dead-end project, but I've got plans for a (similar) new project. (on the other hand, you DO have some neat stuff at your site... ;)

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


SAMS3D ( ) posted Thu, 14 August 2003 at 1:55 PM

most times you don't even have to mess with the normals, cause it seems to always render correctly, but looking at it with out a render where there are invisible spots are just kinda weird. Sharen


davo ( ) posted Thu, 14 August 2003 at 1:56 PM

I opened up your program, imported the figure, hit the flip in x direction button, saved it, used phi builder to do the parenting/heirarchy and imported it into poser, the textures applied just fine, it was perfect. The only thing that would be closer to what I needed to have happen is if you could open a cr2 or pr2 file, hit the flip button and save the cr2 or pr2 and when you open it up, it's mirrored and all the bending/heirarchy is already established. That would be awesome. I'll try the python script that ockham posted and see what it does in Poser 5, I just need to wait until I get home though... arrrgghhh!!! I hate it when work interferes with my life. Davo, ps, the offer is still open, if you want anything from beyondbent, just let me know :-)


SAMS3D ( ) posted Thu, 14 August 2003 at 1:57 PM

I am checking it out now Spanki,..thank you for this work, I am always messing with this....we do alot of mirroring, and our models are so complex that some are reversed and some parts arent'....thank you again. Sharen


davo ( ) posted Thu, 14 August 2003 at 1:58 PM

Yeah, I hate that Sharen. I sometimes get a model that has some reversed normals on some bolts or posts or something (because I mirrored them in rhino after converting them to a mesh). When I render in Poser 4, it's fine, but the other day I rendered in poser 5 and the reversed items were a lot darker after rendering.


SAMS3D ( ) posted Thu, 14 August 2003 at 2:10 PM

Oh I know, I actually think I figured that one out, still testing that though....Sharen


Spanki ( ) posted Thu, 14 August 2003 at 2:18 PM

Thanks Sharen... this program wasn't written explicitly for mirroring, I just added that code for my own use ;). The one thing I was thinking about adding to that was a means of mirroring only selected elements (selected by group or material, maybe)... which is easy enough to do, but would take more time creating the selecting interface (scrolling list or whatever) than the rest of the code. I may or may not ever get around to adding that. One note on the program... for a long time, I was making certain assumptions about the format of the .obj files (specifically, that if ANY of the mesh was texture-mapped, then ALL of it had to be). I've now convinced myself that this is a bad assumption, but my code is not currently set up to handle this well.

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


markdc ( ) posted Thu, 14 August 2003 at 2:19 PM

Attached Link: http://www.wings3d.com

Try wings3d.


Gort ( ) posted Thu, 14 August 2003 at 7:46 PM

I suggest wings too. Any obj can be mirrored around any selected facet. When creating a complex item, you ony have ti build half of it keeping the face you want to mirror around in mind, and it you wan to separate the resulting obj into two objs, one loop cut does the trick.


LordNakagawa ( ) posted Thu, 14 August 2003 at 8:35 PM

Teh easiest program to do it is Word or any other word processor To flip the OBJ file left to right do a search and replace Replace "v " with "v -" Replace "v --" with "v " This flips left and right. Same works for UV Replace "vt " with "vt -" Replace "vt --" with "vt " The problem is it reverses normals but you can fix is when you import it into poser y clicking "reverse normals"


Spanki ( ) posted Thu, 14 August 2003 at 9:20 PM

How is that easier than: load, flipX, save. ? ;)

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


brycetech ( ) posted Thu, 14 August 2003 at 10:17 PM

Attached Link: http://www.brycetech.com/stufftodelete/flipobj.zip

I made this program. It comes free with my amapi 7 tutorial cd. It flips the geometry (keeps the same uvs) and will rename body parts (which it has to do as well) automatically. http://www.brycetech.com/stufftodelete/flipobj.zip its written in visual basic and requires the vb runtimes. If you dont have them you will need to get them. just open the mesh you want to flip in the program and as it encounters body part names (like lShldr), it will ask if you want to rename that part to rShldr)..you will in most cases. it has lots of options.. to overwrite automatically, to change names automatically, and several other things. Once you get the mesh flipped, you will still need to open it in "UV mapper" and smooth the normals (I didnt program it to do that). I use this program all the time when I make shoes, gloves, or some other model where there is a symmetrical duplicate... btw it flips across the "zero X" plane. You cant alter it to flip somewhere else. no warranties expressed or implied. Can not be redistributed without my permission. Billy's OS only. :) BT


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.