Simon Bennett (simonb++at++wormald.COM.AU)
Wed, 26 Apr 1995 12:01:04 +1000 (EST)
> I looked through the man pages and couldn't find a call that I can use
> to get the number of lightPoints in a pfLightPoint.
>
> Is there such a way or am I missing something?
Yep. pfGetNumLPoints(). It's actually in the programmers guide and
quick reference pages... but not in the reference guide or manpages...
MTJ kindly sent me an updated manpage (see below)
-->
It's a documentation omission. I will fix it now ... there, done. Here
is the newly updated man page:
pfLightPoint(3pf) IRIS Performer 2.0 libpf Reference Pages pfLightPoint(3pf)
NAME
pfNewLPoint, pfGetNumLPoints, pfLPointSize, pfGetLPointSize,
pfLPointFogScale, pfGetLPointFogScale, pfLPointColor, pfGetLPointColor,
pfLPointShape, pfGetLPointShape, pfLPointRot, pfGetLPointRot,
pfLPointPos, pfGetLPointPos - Set and get pfLightPoint size, color,
shape, rotation and position.
C SPECIFICATION
#include <Performer/pf.h>
pfLightPoint * pfNewLPoint(int num);
int pfGetNumLPoints(pfLightPoint *lpoint);
:
DESCRIPTION
A pfLightPoint is a pfNode that contains one or more light points. The
light point node is quite different from a pfLightSource; it is visible
as one or more self-illuminated small points but these points do not
illuminate surrounding objects. In contrast to this, a pfLightSource does
illuminate scene contents but is itself not a visible object. All the
light points in a pfLightPoint node share all their attributes except
point location and color.
pfNewLPoint creates and returns a handle to a pfLightPoint node. num
specifies the maximum number of individual light points the node may
contain. The function pfGetNumLPoints returns this maximum number of
light points that the pfLightPoint node lpoint can hold. This is the
value set when the light point node was created using pfNewLPoint and is
the size of the internal position and color arrays used to represent the
light points.
<--
+--------------------------------------------------------------------------------+
Simon Bennett simonb++at++wormald.com.au
Wormald Technology Advanced Systems Engineering Ph: +61 2 981 0611 (x512)
Computer Terms: hardware - the part of a computer system that one can kick
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:25 PDT