PmWiki   PublicWiki /
LoadingByObject
SearchWiki
PublicWiki.RecentChanges
Edit Page
Page Revisions

Object-based Loading is the technique of geometry loading for loading an entire Wavefront Object into the Poser virtual workspace as an object's geometry. This loads up an object regardless of its grouping and can be used to construct frankenstein characters?, to keep a copy of a body part in a seperate file, or, in its most commonly seen use, to load props? and hair? props.

Object-based loading occurs in the Declaration Section of a Poser file generally, and does not pay any attention to the figureResFile directive.

Within an actor, prop, or other geometry-based Poser object the objFileGeom keyword is declared, followed by two integers (generally zeroes) and then by the path to the Wavefront OBJect? to be loaded:

 <objectType> <objectID>
         {
         storageOffset <float> <float> <float>
         objFileGeom <int> <int> <path>
         }

For unknown reasons, if a storageOffset? is used (which it doesn't appear to need to be), the numbers associated with that directive are generally 0, 0.3487, and 0 respectively.

For instance, if you wanted to load up a prop called SuperLaserRaygun? from a Wavefront OBJect? file called 'superLaserRG.obj' in your 'CheesyBlaster?' folder under your Geometries folder, your actor predeclaration and geometry loading block might look like this:


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/poserpros/poserpros.daz3d.com/pmwiki/pmwiki.php on line 657

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/poserpros/poserpros.daz3d.com/pmwiki/pmwiki.php on line 657
prop SuperLaserRaygun { storageOffset 0 0.3487 0
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/poserpros/poserpros.daz3d.com/pmwiki/pmwiki.php on line 657
objFileGeom :Runtime:Geometries:CheesyBlaster:superLaserRG.obj }
This is generally a preferred method for props to load over the default method with which Poser 4 stores them (Embedded Geometry?). You can manually convert a prop or other file with (Embedded Geometry?) to use this loading technique like this.
Edit Page - Page Revisions - WikiHelp - SearchWiki - RecentChanges
Page last modified on December 09, 2004, at 11:58 PM