Take a look at the manual where it talks about procedural textures.
Also, my font example is the same, if you want to look at it. It draws an
image onto another image which is then drawn on the walls.
http://fadedearth.infinityanalog.com/project_tools/blendstylebmfont/blendsty
lebmfont.zip

----- Original Message -----
From: "Patrick Ye" <[EMAIL PROTECTED]>
To: "CS developers and users list" <crystal-main@lists.sourceforge.net>
Sent: Wednesday, December 12, 2007 5:25 AM
Subject: [CsMain] Code examples for dynamically blending 2 texture files?


> Hi guys,
>
> I'm wondering if there are any C++/python code examples for
> dynamically blending multiple texture files together?
>
> Here is what I'd like to do for my little game. Each character in the
> game has a default color, which is basically a 128x128 RGBA image with
> its alpha being 128 (semi-transparent). I have some buildings in the
> game, each building is a genmesh object that contains a single texture
> file. I'd like to dynamically combine the default texture file of the
> buildings with the color texture files of the characters so that I
> know which building is owned by which character. I'm just not quite
> sure how to do this and the documentation doesn't seem to have any
> examples I can use.
>
> Any help would be greatly appreciated.
>
> Thanks a lot.
>
> Patrick
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Crystal-main mailing list
> Crystal-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe:
mailto:[EMAIL PROTECTED]


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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