Allan Schaffer (aschaffe)
Mon, 23 Jan 1995 11:03:00 -0800
There doesn't appear to be an easy workaround, since the lightpoint
PFGS_POINTS geosets drawn use pfGSetPntSize (and correspondingly,
pntsizef) to control their size. The pntsizef() restrictions noted
in the man page are due to hardware limitations.
With Performer 2.0 you'll be able to use (OpenGL) glPointSize
routine, which is supported on all platforms (in software when
necessary).
A hackish alternative may be to draw filled circles in the draw
callback for the lightpoint (keeping the lightpoint node in the scene
graph so as to be properly effected by DCS/SCS nodes, etc). Or more
outlandish, it may be possible to remove the PFGS_POINTS geosets from
the pfLightpoint nodes and add small quads or tris to be drawn
instead. It may then be necessary to do some special tricks so that
the spoofed lightpoints will be properly attenuated by the fog.
> I've been asking the same question for a long time but never got any
> response to it; perhaps somebody from SGI can answer me.
We're happy to respond when we can. Don't forget that info-performer
is an informal service, though, so when you need a guaranteed
response it's sometimes better to use the support hotline or other
"official channels".
Allan
-- Allan Schaffer Silicon Graphics aschaffe++at++sgi.com http://reality.sgi.com/employees/aschaffe
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:53 PDT