[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [www-vrml] combining textures and materials
Hello Reinhard and hermetic,
Any grayscale texture can yield the needed effect. If a texture is
grayscale, it doesn't replace the Material's diffuseColor but is multiplied
by it. It works not only with GIF, but also with JPEG and I guess many other
formats. Grayscale JPEG image with material shows OK in Cortona, BS and
Cosmo.
But the texture must be prepared carefully. Once I've converted a
grayscale image to "indexed 16 color" in ACDSee, and it became
non-grayscale, i.e. some colors became a bit coloured. Had to convert it
again in Photoshop.
If you use Cortona, you can get many more color effects using
AdvancedAppearance. For example, it can multiply colors of two textures; if
one of them is a 1x1 PixelTexture, the other one is multiplied by its color,
even if it was not grayscale.
Sergey Bederov
-----Original Message-----
From: swe@cyworx.com [mailto:swe@cyworx.com]
Sent: Thursday, March 10, 2005 2:30 PM
To: Reinhart Viane
Cc: www-vrml@web3d.org
Subject: Re: [www-vrml] combining textures and materials
Hi Reinhard,
guess what you mean works on some plugins only (bxx and cortona sadly not
xj3d duh!)
You need to use a greyscale .gif
greetings
hermetic_cab
> Eg. The material of a box is blue and the texture is a jpg or something.
>
> Combined the image is shown blue-ish. (like a blue filter over it)
>
> Of the material would be green then the texture would be green-ish
>
>
>
> I've seen it b4 but I can't reproduce it.
>
> Anyone knows how?
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html