Fri, Nov 29, 5:35 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 7:57 am)



Subject: in .CR2 language, how can a body part read its geometry from a file?


Anthony Appleyard ( ) posted Mon, 22 November 1999 at 9:53 AM ยท edited Thu, 21 November 2024 at 6:17 AM

In .CR2 language:- - The whole figure can read its geometry from an .OBJ file thus:- figureResFile :Runtime:Geometries:P4NudeMan:blNudeMan_Gen.obj - A body part can have its own geometry embedded in the .Cr2 file thus:- geomCustom { numbVerts 703 numbTVerts 719 numbTSets 2688 numbElems 700 numbSets 2688 v -0.027886 0.441844 0.032699 etc etc, i.e. the .OBJ file text and a } at the end. - But how can a body part, or one sub-tree of the tree of parts, read its own geomatry from an .OBJ file? I have Poser 3.


bloodsong ( ) posted Mon, 22 November 1999 at 10:32 AM

hmm... fire up phi-build, make a two-obj heirarchy file, import it into poser, then read the cr2. actually, i think phi-build has trouble doing two-obj heirarchies, so you might be better off doing it by hand in notepad. there are instructions in the advanced tech pdf poser manual.


Mason ( ) posted Mon, 22 November 1999 at 11:45 AM

In the actor definition section at the top of the file where you'll see lines like actor hip:1 { storageOffset 0 0 0 geomHandlerGeom 13 hip } The line with geomHandlerGeom tells poser to use the hip object in the obj file last loaded by figureresfile. You can actually intermix figureresfile commands, draw objs from different files. The only problem is, once you save out the figure, Poser clobbers those lines and records only the two original resfile lines. Hope this helps.


nerd ( ) posted Mon, 22 November 1999 at 4:23 PM
Forum Moderator

Maby I don't get everything that's going on here, but wouldn't it be easier to just put all the parts you need in 1 OBJ file? I realize that may not be the most space efficient in terms of HD usage.


rbtwhiz ( ) posted Mon, 22 November 1999 at 4:37 PM

Nerd, yes, but... if your goal is to have geometry switched by use of the "genital" command in the menu, you would need a seperate .obj for the "switch". -Rob


nerd ( ) posted Mon, 22 November 1999 at 4:57 PM
Forum Moderator

See, I didn't know what all was going on. >SLAP< I know, I know, get back to work.


Anthony Appleyard ( ) posted Tue, 23 November 1999 at 2:07 AM

I want to put my scuba diver model as a CR2 file rather than as a PZ3 file. But that needs me to make his aqualung and his fins etc part of him and not separate figures parented to him. And that would mean that his fins etc would need separate .OBJ files, since I also want to have a separate fin model etc without filling my WWW space too much with duplicated matter.


Mason ( ) posted Tue, 23 November 1999 at 12:29 PM

You can make the scuba guy one figure very easily by just renaming the pz3 file to a cr2 then use cr2edit in the funstuff utilities section to remove the lights, ground and universe. Now he'll be a character you can then put in a library. The only problem is, if you try and save him back into the figure library you'll have to save him as a pz3 and do the process again.


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.