|
|
"Gena" <gen### [at] yahoocom> wrote in message
news:411c3c06$1@news.povray.org...
> The following code doesn't work:
>
> #include "shapes.inc"
>
> #declare F = function {
> pigment {
> image_map {
> png "foo.png"
> map_type 0
> }
> }
> }
>
> object {
> HF_Cylinder (F, off, off,
> <60,60>, on, "", <0.5, 0.0, 0.5>, <0.5, 1.0, 0.5>, 0.4, 0.3)
> texture {
> pigment {color rgb 1}
> }
> }
It would seem that the macro needs the addition of .gray to H variable, as
in:
#declare PArr[J][K] = P + H.gray*Dir*Depth;
or added to each of the two instances of it before that line.
I'm not sure why this would be nonfunctional for image maps in usual usage,
since I had thought those macros already considered for images. Maybe
someone else can speak as to what is going on about that.
Bob H.
Post a reply to this message
|
|