Mon, Feb 3, 3:48 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 03 12:46 am)



Subject: Removing Embedded Geometries in props


pokeydots ( ) posted Sun, 24 September 2006 at 7:51 PM · edited Mon, 03 February 2025 at 1:21 PM

Anyone got a link on how to do this?  Thanks :)  Dr. G?

Poser 9 SR3  and 8 sr3
=================
Processor Type:  AMD Phenom II 830 Quad-Core
2.80GHz, 4000MHz System Bus, 2MB L2 Cache + 6MB Shared L3 Cache
Hard Drive Size:  1TB
Processor - Clock Speed:  2.8 GHz
Operating System:  Windows 7 Home Premium 64-bit 
Graphics Type:  ATI Radeon HD 4200
•ATI Radeon HD 4200 integrated graphics 
System Ram:  8GB 


ockham ( ) posted Sun, 24 September 2006 at 8:26 PM

In most cases you can just 'peel' the OBJ info out into

a separate file and replace it with a objFileGeom line.

Here's a super-simplified example... of course the real

thing will have lots of v lines, lots of vt lines, and lots of f lines.

prop soap
    {
    geomCustom
        {
        numbVerts    176
        numbTVerts    696
        numbTSets     696
        numbElems   174
        numbSets    696
        v -0.031889 0.018111 -0.003103
        v -0.027125 0.019807 -0.003393
        vt 0.399619 0.532048
        vt 0.417794 0.526865
        usemtl whitestuff
        f 2/1 1/2 29/3 30/4
        f 1/5 11/6 39/7 29/8
        }

    }

Take the v's, vt's and f's out as a block, and

turn them into an OBJ file.  Leave out the numbVerts

and so on.  Let's say the OBJ is Soap.obj in an

appropriate folder..... 

The OBJ file would look like this:


 v -0.031889 0.018111 -0.003103
 v -0.027125 0.019807 -0.003393
 vt 0.399619 0.532048
 vt 0.417794 0.526865
 usemtl whitestuff
 f 2/1 1/2 29/3 30/4
 f 1/5 11/6 39/7 29/8
 


Then the upper section of

the PP2 should look like this:


prop soap
    {

   objFileGeom 0 0 ":Runtime:Geometries:DreamVillage:Soap.obj"
    }

}


(Note: I have no idea why the font turned monstrous!)

My python page
My ShareCG freebies


infinity10 ( ) posted Sun, 24 September 2006 at 8:46 PM

http://hometown.aol.com/visualranger/eg-tut.html

 

I refer to this tutorial to extract prop geometry - but watch out that you include the curly bracket he forgets to mention in his last screen capture.  It is the curly bracket just under the objFileGeom word in the graphic.

If your props are Poser 6 type and saved as PPZ files, you need to uncompress them using the python script utility first.

 

 

 

Eternal Hobbyist

 


Miss Nancy ( ) posted Sun, 24 September 2006 at 9:50 PM

either that, or just save the prop as an obj file, then add the geom ref lines like they said above, and delete the customgeom sections.



ockham ( ) posted Sun, 24 September 2006 at 10:47 PM

The general habit in setting up a prop for use in Poser (via UVmapper, for instance)

is to leave out the 'vn' stuff  (the normals). 

So if you just copy the lines from the PP2 directly to an OBJ file, you'll have the

same "lightweight" form.  But when you export the OBJ out of Poser, Poser will

re-insert the 'vn' stuff, giving a "heavier" file with info that Poser doesn't need.

My python page
My ShareCG freebies


markschum ( ) posted Sun, 24 September 2006 at 10:56 PM

I find it easier , since I build props, to import the obj file, save it as a prop, then export the prop as an obj and add the referance to it in the pp2 file.

The extra save obj is to allow scaling of the original in poser. The exported obj file then becomes the 100% scaled object.


pokeydots ( ) posted Mon, 25 September 2006 at 12:22 AM

Thanks everyone, I will try the suggestions and see what works for me ;o)

Poser 9 SR3  and 8 sr3
=================
Processor Type:  AMD Phenom II 830 Quad-Core
2.80GHz, 4000MHz System Bus, 2MB L2 Cache + 6MB Shared L3 Cache
Hard Drive Size:  1TB
Processor - Clock Speed:  2.8 GHz
Operating System:  Windows 7 Home Premium 64-bit 
Graphics Type:  ATI Radeon HD 4200
•ATI Radeon HD 4200 integrated graphics 
System Ram:  8GB 


BeyondVR ( ) posted Mon, 25 September 2006 at 12:36 AM

Quote - http://hometown.aol.com/visualranger/eg-tut.html

 

I refer to this tutorial to extract prop geometry - but watch out that you include the curly bracket he forgets to mention in his last screen capture.  It is the curly bracket just under the objFileGeom word in the graphic.

Thank you, Infinity10!  When I went to put that tut back up I remembered someone had written to me about the error.  I searched but couldn't find the letter.  I didn't spot anything wrong, and put it back up.  I'll try to get it fixed by tomorrow.  Thanks again!

John


pokeydots ( ) posted Mon, 25 September 2006 at 12:53 PM

Just want to say Thank you again :)  Downloaded your tutorial John, and it worked ! 

Poser 9 SR3  and 8 sr3
=================
Processor Type:  AMD Phenom II 830 Quad-Core
2.80GHz, 4000MHz System Bus, 2MB L2 Cache + 6MB Shared L3 Cache
Hard Drive Size:  1TB
Processor - Clock Speed:  2.8 GHz
Operating System:  Windows 7 Home Premium 64-bit 
Graphics Type:  ATI Radeon HD 4200
•ATI Radeon HD 4200 integrated graphics 
System Ram:  8GB 


BeyondVR ( ) posted Mon, 25 September 2006 at 2:24 PM

You're welcome, Sallie!  Glad to help.

John


pokeydots ( ) posted Mon, 25 September 2006 at 3:03 PM

:biggrin:

Poser 9 SR3  and 8 sr3
=================
Processor Type:  AMD Phenom II 830 Quad-Core
2.80GHz, 4000MHz System Bus, 2MB L2 Cache + 6MB Shared L3 Cache
Hard Drive Size:  1TB
Processor - Clock Speed:  2.8 GHz
Operating System:  Windows 7 Home Premium 64-bit 
Graphics Type:  ATI Radeon HD 4200
•ATI Radeon HD 4200 integrated graphics 
System Ram:  8GB 


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.