On Sunday 23 October 2005 22:16, Ralf Gerlich wrote:
> Hi,
>
> Arnt Karlsen schrieb:
> > On Sat, 22 Oct 2005 11:27:56 +0200, Ralf wrote in message
> >
> >>I'd say we need different texture-names for lakes which freeze in the
> >>winter and those that don't.
> >
> > ..aye.  Delay lake freezing around river mouths and speed thawing there,
> > the currents.  We want Artic ocean 'n bay 'n fjord freezing too?  ;o)
>
> Erm, ok...working on custom scenery all the time I forgot that the VMAP0
> data does not give us this information. %-)
>

Does VMAP0 data has different data for salt water and freshwater?

If yes, then:
// Beginning Pseudocode 

if (water==freshwater)
{
   if (temperature < 0 )
   {
      usetexture(freshwater_freezed);
   }
   else
   {
     usetexture(freshwater_unfreezed);
   }
}
else
{
  usetexture(saltwater);
}



This is not a perfect solution, but better than nothing in most cases. :)

Best Regards,
 Oliver C.

   

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to