Re: line rendering in performer
Michael Jones (mtj++at++babar)
Mon, 6 Jun 1994 17:51:41 -0700
Actually, the problem is that the geoset you build does not
specify a geostate at all -- the code that binds the new
geostate to the geoset's been commented out. What does
this mean? It means that you are explicitly saying to
IRIS Performer "I don't care what the state of the
graphics pipeline is -- just draw the geometry and
hope for the best". In your case, as you move about,
the sorting of libpf is changing what gets drawn just
before the grid: sometimes the sky, sometimes a
textured part of the car, etc. Whatever it is, it's color
and material properties are used by your grid.
If you change it to use the newly created geostate,
then you'll not have this problem. Or, you could
specify appearance properties in the geostate that
would cause the grid to always be drawn with the
same graphics state.
--
Be seeing you, Phone:415.390.1455 Fax:415.390.2658 M/S:9U-590
Michael T. Jones Silicon Graphics, Advanced Graphics Division
mtj++at++sgi.com 2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:50:19 PDT