|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
High!
While testing my new "greypat2mesh" macro with various pigment pattern,
I had to notice the eval_pigment obviously doesn't allow the use of
uv_mapping with the pigment to be evaluated - I alway get the error
message "The 'uv_mapping' pattern cannot be used as part of a pigment
function!". Strange... because uv_mapping is rather a pattern modifier
than a pattern itself!
Is there a way to work this around and avoid the ugly distortions when
using a pattern on a sphere without uv_mapping for the mesh calculation?
See you in Khyberspace!
Yadgar
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> High!
>
> While testing my new "greypat2mesh" macro with various pigment pattern,
> I had to notice the eval_pigment obviously doesn't allow the use of
> uv_mapping with the pigment to be evaluated - I alway get the error
> message "The 'uv_mapping' pattern cannot be used as part of a pigment
> function!". Strange... because uv_mapping is rather a pattern modifier
> than a pattern itself!
This is not really correct, uv-mapping is a way to map a pattern on an
object surface. Naturally eval_pigment() (or pigment/pattern functions
in general) can't make use of it in any way.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
From: Jörg 'Yadgar' Bleimann
Subject: Re: eval_pigment and uv_mapping?
Date: 30 Nov 2003 17:51:27
Message: <3FCA8324.D3FB307B@gmx.de>
|
|
|
| |
| |
|
|
High!
Christoph Hormann schrieb:
> This is not really correct, uv-mapping is a way to map a pattern on an
> object surface. Naturally eval_pigment() (or pigment/pattern functions
> in general) can't make use of it in any way.
What are the underlying (mathematical?) reasons for this behaviour?
See you in Khyberspace!
Yadgar
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3FCA8324.D3FB307B@gmx.de>,
> > This is not really correct, uv-mapping is a way to map a pattern on an
> > object surface. Naturally eval_pigment() (or pigment/pattern functions
> > in general) can't make use of it in any way.
>
> What are the underlying (mathematical?) reasons for this behaviour?
UV-mapping maps a texture to a surface using the UV coordinates of the
evaluated point on that surface. Without a surface, there are no UV
coordinates, and thus no UV mapping. Similarly, the slope pattern only
works when applied to a surface.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |