> TPGON and OpenGL - X3D:
> -----------------------
> There seems to be a problem when trying to draw a TPGON in OpenGL or
> X3D. It gets SIGSEV unless I set the visibility `0'. The script and a
> log are attached.
There is some thing wrong with TPGON and X3D when the angles are 0 and 360
(like in your example). If you do:
TPCON* pgonShape = new TPCON("pgonShape", "PgonShape", "", 0, 359, 4);
Then it is working.
Olivier
--
Org: CERN - European Laboratory for Particle Physics.
Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910
E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522
WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET