Re: [Plib-users] ssgAux objects
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-08-11 11:30:04
|
Justin Geo Zaun wrote: > I was wondering (with so many plib apps out there) has anyone else > created aditional ssga shapes? I know there is the box, sphere, > cylider, sky and particles, but has I'm looking for other basic shapes: > pyramid, ramp, etc. Probably, if anyone on this mailing list had done so, they'd have contributed the new shape to the library - so in all likelyhood, what there is there right now is all that there is. We'd certainly welcome new additions to the ssgAux shapes library though. Suggestions: If you do a pyramid class, make it so you can set the number of sides for the regular polygon at the base. Then you can set that number really high and you'll have made a cone as well as a pyramid. It would also be nice to have 'makeCapped' and 'isCapped' (as in ssgaCylinder) to determine whether the code generates the base of the pyramid or not. Very often, you'd like your pyramid to sit on the ground - in which case the polygons at the base are never visible and it's a waste of time and space to generate them. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |