Re: [Plib-users] how to transform objects
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-04-10 22:03:37
|
Andreia R de Assuncao Schneider wrote: > i'd like to know if there is a way to transform a cone made by a glu > function (gluCylinder) in a ssgEntity. No, there isn't. The glu functions render the objects directly every time you call them - they don't build up a permenant data structure in memory. > My problem is that I need to put a > cone on my scene and I didn't a method that build a ssgEntity with the > shape of a cone. Nope - didn't write one of those. I suggest you look at ssgAux - there is code there (class ssgaCylinder) to build a cylinder - it should be pretty simple to see how to change it to make a cone. ---------------------------- 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----- |