|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Pigment {checker texture{...} texture{...}} doesn't work... any ways to
fix it? or checker only works
for colors?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
box {-1,1
texture {checker
texture {pigment {granite color_map {[0 color rgb 0][1 color rgb
1]}}}
texture {pigment {wrinkles color_map {[0 color rgb 0][1 color
rgb 1]}}}
}
}
Bob
"Eitan Tal" <eit### [at] netvisionnetil> wrote in message
news:38AB03B2.AA13DE53@netvision.net.il...
| Pigment {checker texture{...} texture{...}} doesn't work... any ways to
| fix it? or checker only works
| for colors?
|
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 16 Feb 2000 22:08:18 +0200, Eitan Tal
<eit### [at] netvisionnetil> wrote:
>Pigment {checker texture{...} texture{...}} doesn't work... any ways to
>fix it? or checker only works
>for colors?
How about a comma between the two texture entries?
Peter Popov
pet### [at] tagpovrayorg
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>
> On Wed, 16 Feb 2000 22:08:18 +0200, Eitan Tal
> <eit### [at] netvisionnetil> wrote:
>
> >Pigment {checker texture{...} texture{...}} doesn't work... any ways to
> >fix it? or checker only works
> >for colors?
>
> How about a comma between the two texture entries?
You can't use texture statements inside a pigment statement.
texture { checker
texture {...}
texture {...}
}
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 16 Feb 2000 16:26:08 -0800, Ken <tyl### [at] pacbellnet> wrote:
>
>
>You can't use texture statements inside a pigment statement.
Yes you can. This works:
sphere
{ 0, 5
texture { checker texture { T_Wood1 }, texture { T_Wood2 } }
}
It also works if you replace the texture identifies with texture
declarations. It even works with the comma left out even though
technically it should parse it as a two-layer texture and a void
texture (i.e. the second entry in the checker pattern should default
to whatever it defaults for textures)
Peter Popov
pet### [at] tagpovrayorg
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>
> On Wed, 16 Feb 2000 16:26:08 -0800, Ken <tyl### [at] pacbellnet> wrote:
>
> >
> >
> >You can't use texture statements inside a pigment statement.
>
> Yes you can. This works:
>
> sphere
> { 0, 5
> texture { checker texture { T_Wood1 }, texture { T_Wood2 } }
> }
Your missing the point, Peter. The original posters example was:
pigment {checker texture{...} texture{...}}
You said to add a comma. It just won't work because he is trying to
use textures in a pigment statement. I was right when I said you
were wrong :)
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 16 Feb 2000 18:01:20 -0800, Ken <tyl### [at] pacbellnet> wrote:
>Your missing the point, Peter. The original posters example was:
>
>pigment {checker texture{...} texture{...}}
>
>You said to add a comma. It just won't work because he is trying to
>use textures in a pigment statement. I was right when I said you
>were wrong :)
I admit. Guilty. Please have mercy oh mighty Ken. How dare I doubt
your knowledge! :)
Upon a second look I see why I missed that pigment word the first
time. It's capitalized. My POV-keyword-only filter must have rejected
it.
Peter Popov
pet### [at] tagpovrayorg
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
> I admit. Guilty. Please have mercy oh mighty Ken. How dare I doubt
> your knowledge! :)
You are free to doubt my knowlege because I sure do sometimes.
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
huh? that sphere he mentioned worked here.
is there some difference between metals and woods? because as long as I can
use
texture....
Ken wrote:
> Peter Popov wrote:
>
> > I admit. Guilty. Please have mercy oh mighty Ken. How dare I doubt
> > your knowledge! :)
>
> You are free to doubt my knowlege because I sure do sometimes.
>
> --
> Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Eitan Tal wrote:
>
> huh? that sphere he mentioned worked here.
> is there some difference between metals and woods? because as long as I can
> use
> texture....
You can use textures inside a texture statement like the one example
that Peter provided.
This IS OK - texture { checker texture{...} texture{....} }
You cannot use textures inside a pigments statement like the example
you provided.
This is NOT OK - pigment { checker texture{....} texture{....} }
If you need to use different pigment patterns inside a pigment statement
you could do it like this this example illustrates -
#declare Pig1 = pigment{checker color rgb 0 color rgb 1}
#declare Pig2 = pigment{hexagon color red 1 color green 1 color blue 1}
box { -1,1
pigment { checker
pigment { Pig1 scale .5 }
pigment { Pig2 rotate 90*x scale .5 }
}
}
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |