Hi Sajjad,

Marcus Lindblom wrote:
> Sajjadul Islam wrote:
>> Hello Carsten,
>>
>> I am not sure if that is the way it should be working or not - the
>> planetary system.

Well, it was never meant to be a high-quality, fature-complete simulator for 
the 
solar system, for that try Celestia.

>> While revolving around the earth, the moon goes behind the earth, in
>> that case the earth is in between moon and the sun and the moon should
>> not be illuminated then - at least for that fraction of time.
>>
>> What should i do with the light to get that implemented?
>>   
> You need to generate Shadows, i.e. use ShadowViewport. See the shadow 
> tutorials.

Yup.

>> In addition if i need to include thousands to millions of stars all
>> around the galaxy how these shells could be incorporated within the
>> scene graph?
>>   
> A SkyCube with a pre-rendered starfield would probably be the easiest 
> way to do this. Render with near & far plane as 1.0 (see DepthChunk) to 
> always get it "behind" everything else.

Alternatively you can use a SkyBackground, which does the same thing.

Yours

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to