On Sun, Oct 12, 2008 at 11:04 PM, Syd wrote:
> Hello,
> Still waiting for final word from the boss , to commit the scenery
> rgb to png texture changes , but while waiting ran into an issue with
> Sky textures. It seems these texture names are constructed in the code ,
> and I'm still trying to sort that out ...
> I get "Cannot find image file" errors with:
> overcast.rgb
> overcast_top.rgb
> broken.rgb
> scattered.rgba
> few.rgba
> cirrus.rgba
> moon.rgba
> sun.rgba
> inner_halo.rgba
> outer_halo.rgba
>
> This after changing the sky textures to png, and changing the file
> extensions in the code to png.
> There seems to be a specific reason for rgb and rgba , but dont see it yet.
> Should these textures be left as they are ?.It would seem strange to
> have everything else png's except these .
> If anyone can shed some light on the sky issue I'd appreciate it .
> <https://lists.sourceforge.net/lists/listinfo/flightgear-devel>
Just real quickly, ".rgba" signifies to our .rgb loader than the texture
contains an alpha channel. Important for clouds. But I don't believe png
textures require a distinct extension to include an alpha channel.
Curt.
--
Curtis Olson: http://baron.flightgear.org/~curt/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel