|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi group,
I have the following problem:
The reflection statement causes all light colors to be reflected on a
surface. But shouldn't metallic surfaces only reflect one color? I can do
this with a color vector like reflection <.4,0,0> or reflection Red*.4 .
But what if the pigment isn't a only single color but a texture pattern? Is
there a way to use the pigment color as reflection color too?
tia, Daniel
--
Daniel Pirch
dpi### [at] gmxnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
WyzPov has a feature which does this, so does the Superpatch. It is
called metallic reflection.
WyzPov is here: http://www.worldaxes.com/paul_fam/wyzpov/INDEX.HTM
The Superpatch is here: http://www2.fwi.com/~parkerr/superpatch/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 9 Oct 1999 19:39:04 +0200, "Daniel Pirch" <dpi### [at] gmxnet>
wrote:
>hi group,
>I have the following problem:
>The reflection statement causes all light colors to be reflected on a
>surface. But shouldn't metallic surfaces only reflect one color? I can do
>this with a color vector like reflection <.4,0,0> or reflection Red*.4 .
>But what if the pigment isn't a only single color but a texture pattern? Is
>there a way to use the pigment color as reflection color too?
>
>tia, Daniel
Aside from using wyzpov or the SuperPatch, you can try to fake it
using a texture map. The idea is to blend between the two textures
having the same pigment but different finished, and the texture_map
pattern must be the same as that of the pigment. For example:
#declare B = pigment { bozo color_map { {[0 Red][1 Blue]} } }
#declare MetallicBozo=
texture
{
bozo
texture_map
{
[0 pigment { B } finish { reflection Red }]
[1 pigment { B } finish { reflection Blue}]
}
}
You might need to declare the textures used in the texture map body
before you use them, but that's a cosmetic fix.
Peter Popov
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
good idea, thank you peter.
Peter Popov <pet### [at] usanet> wrote in message
news:G6v=N0mrnENsq=M2KRer62v63=Oz@4ax.com...
> On Sat, 9 Oct 1999 19:39:04 +0200, "Daniel Pirch" <dpi### [at] gmxnet>
> wrote:
>
> >hi group,
> >I have the following problem:
> >The reflection statement causes all light colors to be reflected on a
> >surface. But shouldn't metallic surfaces only reflect one color? I can do
> >this with a color vector like reflection <.4,0,0> or reflection Red*.4
.
> >But what if the pigment isn't a only single color but a texture pattern?
Is
> >there a way to use the pigment color as reflection color too?
> >
> >tia, Daniel
>
> Aside from using wyzpov or the SuperPatch, you can try to fake it
> using a texture map. The idea is to blend between the two textures
> having the same pigment but different finished, and the texture_map
> pattern must be the same as that of the pigment. For example:
>
> #declare B = pigment { bozo color_map { {[0 Red][1 Blue]} } }
>
> #declare MetallicBozo=
> texture
> {
> bozo
> texture_map
> {
> [0 pigment { B } finish { reflection Red }]
> [1 pigment { B } finish { reflection Blue}]
> }
> }
>
> You might need to declare the textures used in the texture map body
> before you use them, but that's a cosmetic fix.
>
>
> Peter Popov
> ICQ: 15002700
--
Daniel Pirch
dpi### [at] gmxnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|