How to create the Sun?

New Message Reply Date view Thread view Subject view Author view

Nuno Godinho (mgo++at++minerva.inesc.pt)
Mon, 06 May 1996 12:01:42 +0100


Hi.

I would like to represent the Sun. I don't want it to cast light. Just
need a yellow sphere crossing the sky.

Now I am using a pfGeode sphere but I get a shaded Sun.

What is, in your opinion, the best way to do this?

Some ideas I have:

-Should I be using a pfBillboard instead? Since the sun is spherical I
only need a circle, right? But this doesn't solve my shade problem!

-using pfLPointState with a single huge yellow light point should be
        the straight forward solution.
        Don't know if it's possible. The example lpstate.c is too
        complex and actually I'm a bit scared with pfLPointState.
        Is it possible to create a big light point? In the manual
        it mentions SMALL points only.

-I tried to disable lighting on the Sun object but I just got a
        white circle crossing the sky

-I'm considering pointing a light projector directly at the Sun so that
I don't see any shades but this seems like confusing what should be
simple!

please help me

thanks
        Nuno


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:52 PDT

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