Re: pfLPointState: Size of lightpoints

New Message Reply Date view Thread view Subject view Author view

Simon Bennett (simonb++at++wormald.com.au)
Sat, 20 Jan 1996 10:43:05 +1100 (EST)


On 19 Jan 1996, Hamacher wrote:

> When using the new Performer 2.0 feature pfLPointState for lightpoints,
> the maximum point size of pixels seems to be 4.0 (or smaller ?).

3.5 pixels.

> I set PFLPS_SIZE_MODE_ON and PFLPS_SIZE_MAX_PIXEL to 10.0f.

Yup.

> I work on an ONYX RE2 and get a maximum supported pointsize of
> 10.0 pixels with glGetFloatv( GL_POINT_SIZE_RANGE, ..).

Not knowing much about OpenGL I don't know what that figure
represents. It doesn't seem to match up to anything I know about
RE^2's point styles.

Regardless...

> Do I make something wrong?

No.

> Is this this a Performer limitation ?

No. Quite the opposite.

> Or a bug

No. It's a feature.

> something in the hardware

Yup.

The story is this (for all you of you who've never heard me go on about
this before! ;)

On an RE^2:

aliased points are square and can be as big as 255 pixels.

pntsmooth'ed points can be squares with round corners or circles can go
up to 255 pixels (thou only acceptably up to about 64) and are S L O W...

According to the GL doco, when you're multisamling, points are square
and pntsmooth won't work. (this seems to be true)

Performer, has a magic backdoor method of rendering, wait for it,

        FAST HIGH QUALITY ROUND LIGHTPOINTS

and under 2.0 they can even scale by themselves!

Ripper! (this is Australian for most excellent)

There's only one catch thou....

The biggest they get is about 3.5 pixels :(

This I gather is a limitation of the RE^2 itself.

Hey, look at it this way, before Performer you couldn't (well *I*
couldn't) get round points while multi-sampling.

If you need bigger points, *and* you need to multi-sample, *and* square
is not acceptable for lightpoints, they look toward other ways of
rendering your lightpoints... (billboard or whatever meets your
requirements best)

Good luck.

+----------------------------------------------------------------------------+
  Simon Bennett simonb++at++wormald.com.au
  Wormald Technology Advanced Systems Engineering Ph: +61 2 9981 0611 (x512)

          Meeting - an event where you take minutes and waste hours.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:16 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.