Thread View: comp.windows.x.pex
1 messages
1 total messages
Started by Frank Ottink
Thu, 28 Jan 1993 10:13
X-Server crashes; light_tool; T.Gaskins example; PVERT_COORD_NORMAL
Author: Frank Ottink
Date: Thu, 28 Jan 1993 10:13
Date: Thu, 28 Jan 1993 10:13
28 lines
1445 bytes
1445 bytes
Hi !
I have Problems with the light_tool example from the Tom Gaskins Book
"Phigs Programming Manual" (First Edition). The X-Server crashes when
I am trying to render the cylinder or the sphere. What's wrong.
The cube works fine. It uses:
popen_struct( CUBE_QUAD );
pquad_mesh3_data( PFACET_NONE, PVERT_COORD, NO_COLOR,
&array_dims, (Pfacet_data_arr3 *)NULL, &vertices );
pclose_struct();
The cylinder and the sphere :
popen_struct( SPHERE );
vertices.ptnorms = vertex_data;
array_dims.size_x = NUM_LONG_POINTS;
array_dims.size_y = NUM_LAT_POINTS;
pquad_mesh3_data( PFACET_NONE, PVERT_COORD_NORMAL, NO_COLOR,
&array_dims, (Pfacet_data_arr3 *)NULL, &vertices );
pclose_struct();
Or am I using examples that are not "uptodate"? Is there a better way
to get rendered modells?
Please help
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads