Forum: Poser Technical


Subject: Siamese Twin Figures... weird idea...

_dodger opened this issue on Jan 20, 2003 ยท 6 posts


_dodger posted Tue, 21 January 2003 at 11:18 AM

NO, not yet. It's on my list of weird things to try. Right now I'm working on a Perl language module for parsing and manipulating Poser files. I thought of this whilst working on that and analysing Poser file syntax. Essentially, every element object in Poser 4 (a prop, actor, light, or camera) is built on the global level with a reference identifier optional. Thus you declare an object and read in geometry first (the figureResFile acts as a switch from what I can tell -- it's on the MAIN level as well). This geometry comes from one of four places: a geomResource, a geomCustom, an objFile, or, finally, the group from the current figureResFile who's name matches that of the group name defined in the setGeomHandler statement. This is why the actors and props and all appear first and then again, even if it's only a blank declaration like with cameras. Then once all the elements are declared the channels are set up and the heirarchy built. The heirarchy is built by defining objects parents (which is why you have to declare everything first). Once all the channels for a given figure's elements are defined, then you can go into figure mode and start defining something as a figure rather than simply a heirarchy-linked element. It's here you define th welds, too, and that you define materials for figures (though I get the impression you could define element materials with a useCustomGeom in the actor itself just as well). The doc block comes after all figures are finished and lets you add in all the lights, cameras, and props. Well, following this, as long as the actors are defined first, it should be possibly to define figures using those actors, possibly even more than once, but anyway regardless of :# identfier. At first I thought the :# identifier was necessary to make the actor part fo a figure, but I don't think so now.