gl polygons in channel postdraw

New Message Reply Date view Thread view Subject view Author view

Devrim Erdem (devrim++at++infotron-tr.com)
Tue, 13 Apr 1999 20:13:18 +0300


Hi pfPeople,

I am no pf or gl guru, this might be a stupid question bacuse
of my lack of knowledge.

I am adding some new polygons to my scene in my channel postdraw
callback function. Adding a single polygon using
 pfPushState();
 pfPushMatrix();
 pfBasicState();
 glPushMatrix();
 glBegin(GL_POLYGON);...

was easy. But still I see *only* the first polygon although I have
moved the polygon building code into a for loop like this :
for ( i = 0 ; i < DEPTH; i++){
 pfPushState();
 pfPushMatrix();
 pfBasicState();
 glPushMatrix();
 glBegin(GL_POLYGON);...

What is the reason behind this problem ?

thanks,

-- 
/*===============================================
M. Devrim Erdem            devrim++at++infotron-tr.com
		      System Integration Engineer
                              info(+)TRON, Turkey
http://www.infotron-tr.com
http://abone.turk.net/mderdem
===============================================*/

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Apr 13 1999 - 10:17:03 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.