maytorre++at++NMSU.Edu
Wed, 9 Nov 1994 14:49:36 -0700 (MST)
In my quest to 'calibrate' Performer's fog I am using an airbase.flt
file to create my scene, then I have a big box.iv Inventor file that is
also getting loaded into the perfly program. I have no problem loading
both the airbase.flt and the box.iv by doing 'perfly airbase.flt box.iv'.
Interesting things happen when I make the box red and I drive of fly
away or towards the box. Basically after I get near the box, less than
1000 meters, the box color changes from red to black. If back away the
box turns red again. Any comments on what may be causing this?
The answer to a previous post to get the pixel color value pointed to by
the mouse pointer I simply did the following:
x1=ViewState->mouse.xpos;
x2=x1+2;
y1=y2=ViewState->mouse.ypos;
readsource(SRC_FRONT);
lrectread(x1, y1, x2, y2, parray); /* gets three pixel values */
printf("FRONT: 0x%08x ",parray[0]);
Thank's for all the replies and suggestions.
Mario A. Torres
maytorre++at++nmsu.edu
ARL
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:39 PDT