in reply to Re^3: Daunting Problem With Perl Opengl Lighting
in thread Daunting Problem With Perl Opengl Lighting
Okay I found the answer in a book for perl. Obviously packing the arrays or giving reference isnt good enough
did the trickglMaterialfv_p(GL_FRONT, GL_SPECULAR, 1, 1, 1, 1); glMaterialfv_p(GL_FRONT, GL_SHININESS, 50); glLightfv_p (GL_LIGHT0, GL_POSITION, 1, 1, 1, 0);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Daunting Problem With Perl Opengl Lighting
by zentara (Archbishop) on Jul 20, 2008 at 13:35 UTC |
In Section
Seekers of Perl Wisdom