Thread: [Plib-users] ssgaSky and Scaling ofthe scene
Brought to you by:
sjbaker
From: Michael W. <mic...@ti...> - 2004-08-06 20:19:00
|
Hi all, I am using ssgSky to build the sky in my simulation. I have build it from the sky-example of plib. My problem is now: The scene is build in the dimension 'kilometer' and the sky and his objects in demension 'meter'. The sky looks very good. But my airplane never can fly over the clouds. If I reduce the scaling of the sky and his objects to the dimension 'kilometer' the clouds come to near and not scattered. How can I combine the dimension 'kilometer' in the scene with the dimension 'meter' of the sky ? Michael |
From: Nick M. <nic...@ka...> - 2004-08-10 04:10:46
|
What are your sky settings ? Example: sky->build(80000, 80000, nplanets, planet_data, nstars, star_data); sky->addCloud(*"data/scattered.rgba"*, /// texture / 80000, /// span / 3000, /// elevation, / 100, /// thickness / 100); /// transition /I assume you have reduced the h_radius & v_radius parameters for build(), thus have you also reduced the addCloud() 'span' parameter ? Cheers, Nick Michael Wessels wrote: >Hi all, >I am using ssgSky to build the sky in my simulation. I have build it from >the sky-example of plib. >My problem is now: >The scene is build in the dimension 'kilometer' and the sky and his objects >in demension 'meter'. The sky looks very good. But my airplane never can fly >over the clouds. >If I reduce the scaling of the sky and his objects to the dimension >'kilometer' the clouds come to near and not scattered. > >How can I combine the dimension 'kilometer' in the scene with the dimension >'meter' of the sky ? > >Michael > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >plib-users mailing list >pli...@li... >https://lists.sourceforge.net/lists/listinfo/plib-users > > |
From: Michael W. <mic...@ti...> - 2004-08-10 18:21:45
|
Hi Nick, I have multiplied all sky and clouds parameter with 0.001,alo the span parameter. . I have found in the source for building the clouds the parameter scale = 4000. Do you know what it's mean. Best regards Michael ----- Original Message ----- From: "Nick McEvoy" <nic...@ka...> To: <pli...@li...> Sent: Tuesday, August 10, 2004 5:19 AM Subject: sec:uRe: [Plib-users] ssgaSky and Scaling ofthe scene > What are your sky settings ? > > Example: > sky->build(80000, 80000, nplanets, planet_data, nstars, star_data); > sky->addCloud(*"data/scattered.rgba"*, /// texture > / 80000, /// span > / 3000, /// elevation, > / 100, /// thickness > / 100); /// transition > > /I assume you have reduced the h_radius & v_radius parameters for build(), > thus have you also reduced the addCloud() 'span' parameter ? > > Cheers, > Nick > > Michael Wessels wrote: > > >Hi all, > >I am using ssgSky to build the sky in my simulation. I have build it from > >the sky-example of plib. > >My problem is now: > >The scene is build in the dimension 'kilometer' and the sky and his objects > >in demension 'meter'. The sky looks very good. But my airplane never can fly > >over the clouds. > >If I reduce the scaling of the sky and his objects to the dimension > >'kilometer' the clouds come to near and not scattered. > > > >How can I combine the dimension 'kilometer' in the scene with the dimension > >'meter' of the sky ? > > > >Michael > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by OSTG. Have you noticed the changes on > >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > >one more big change to announce. We are now OSTG- Open Source Technology > >Group. Come see the changes on the new OSTG site. www.ostg.com > >_______________________________________________ > >plib-users mailing list > >pli...@li... > >https://lists.sourceforge.net/lists/listinfo/plib-users > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |