Problem with Modeler Sky Type and SDK

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Problem with Modeler Sky Type and SDK // Tech Forum

1  |  

Post by remnar // Aug 25, 2008, 9:32am

remnar
Total Posts: 105
Again I know that Modeler is not supported and will be gone in the next version. However I don't want to see these problems moved over.

I have 4 lights in the scene: 1 local, 1 infinite, and 2 sky.

The local light is set to clear sky.

The infinite light is set to intermediate sky.

The 2 skylights are set to over cast.

When I click on the local light and the infinite light, I see they both retain their sky type. However if I click on either one of them, their sky type is passed over to both sky lights (clicking on the sky lights shows this). If I call the function tsxLightGetSkyType on the local or infinite lights, it always returns CIE_OVERCAST no matter which one I set it to. When the sky lights sky type is mimicking the other light type I click on, the function still returns CIE_OVERCAST, unless I manually change the SkyLight sky type. Sounds confusing doesn't it? This time it's not a Delphi compiler error. I also tested using a tester plugin in vc++.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn