Article View: comp.windows.x.pex
Article #210X-Server crashes; light_tool; T.Gaskins example; PVERT_COORD_NORMAL
From: 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
Technical Details
Message-ID:
<1k8bk2INNb3@news.cs.tu-berlin.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!cs.tu-berlin.de!picassoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!cs.tu-berlin.de!picasso From: picasso@cs.tu-berlin.de (Frank Ottink) Newsgroups: comp.windows.x.pex Subject: X-Server crashes; light_tool; T.Gaskins example; PVERT_COORD_NORMAL Date: 28 Jan 1993 10:13:22 GMT Organization: Technical University of Berlin, Germany Lines: 32 Distribution: world Message-ID: <1k8bk2INNb3@news.cs.tu-berlin.de> NNTP-Posting-Host: montage1.cs.tu-berlin.de Keywords: pquad_mesh3_data( PFACET_NONE, PVERT_COORD_NORMAL, NO_COLOR,