On 1/30/07, Thomas Teufel <[EMAIL PROTECTED]> wrote:
> Hello!
>
> There are three different textures displayed on the surface of the
> "terrain"-map.
>
> Can you tell me where exactly it is defined which texture is selected
> for a specific color on the material map?
>
> I already did understand how the textures in the world file of terrain
> work.
> But I didn't find something like a color code that marks one color at
> the material map. :/

There is a palette define. So the materialmap is an indexed image.
Color 0 corresponds to palette entry 0 (for example stone.jpg). Color
1 corresponds to palete entry 1 (example grass.jpg). And so on.

Greetings,


>
> Thank you,
> Thomas
>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Crystal-main mailing list
> Crystal-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe: mailto:[EMAIL PROTECTED]
>


-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to