Jim (jim++at++systech.hinet.net)
Wed, 15 Jan 1997 21:13:18 -0800
I construct a cone which composed of ten-triangles. The pfGSet vertices
coord.s of triagles like
[ x+R*sin(n*pi/5) ,y+R*cos(n*pi/5) , z]
[ x ,y , z-length]
[ x+R*sin((n+1)*pi/5), y+R*cos((n+1)*pi/5), z]
n ----- 0<n<9
R ----- the radius of circle
(x, y, z)----- the center of circle
pi=3.14159
It looks right with ten triangls in wireframe pfGStateMode, but seems
(the last) one of triangles just disappear in other NONwireframe mode.
I have ever tied the set PFCULLFACE ON/OFF and set n=-1 for the last
vertice(n=9) also. But it still can not be visible. I tried with BACKFACE
showing and didn't see the lost.
Please help me! Thanks.
-- Jim Tsai Software Engineer Visual Simulation sec. System & Technology Corp. TaipeiEmail : jim++at++systech.hinet.net Tel: 886-2-6981599 Fax: 886-2-6981211 Address: 18F-5, No. 79, Hsin Tai Wu Road, Sec. 1, Hsi-chih, Taipei Hsien, Taiwan, R.O.C.
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:20 PDT