Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Thu, 12 Jan 1995 01:32:55 -0500 (EST)
...
> void **alist;
> ushort **ilist;
>
> /* next statement crashes with a segmentation violation */
> pfGetGSetAttrLists(geoSet, PFGS_COLOR4, alist, ilist);
This is one problem. Use:
void *alist;
ushort *ilist;
pfGetGSetAttrLists(geoSet, PFGS_COLOR4, &alist, &ilist);
Here is one solution I think might help. Why not just maintain another
pfGeoState which has the color white and assign it to the geometry when
you want it there (and take out the color lists via two NULLS in the
above function call). If you do not delete those lists, you can easily
put them back in. I am not sure of the performance penalty on this, but
it cannot be too high. I hope it is a correct solution.
______________________________________________________________________________
/\ ______ /\____ ______ ______ E-mail: marrou++at++vsl.ist.ucf.edu
Visual / / / _ / / __ // ____// ____/ VSL: (407)658-5073
Systems / /__ / /_/ / / / / // /___ / __/_ R. Marrou Fax: (407)658-5059
Lab /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"We don't need no thought control."
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:51 PDT