|
|
(running 3.7.1 beta 8)
In the in-built documentation "3.3.1.6.5 Functions"...
In the section "min_extent/max_extent', concerning the new 3.7xx feature of
reading the pixel resolution of an image, the example given there seems to be
missing something. Part of it is written like this...
......
#declare Resolution = max_extent ( MatteImage );
#declare MatteNormalizationScale =
;
There's nothing following MatteNormalizationScale except a semi-colon (which
naturally produces a fatal parse error, when I place an image_map pigment into
the preceeding max_extent). Should it instead be written as...
#declare MatteNormalizationScale = Resolution;
??
(Personally, I don't know, as I haven't tried using the feature yet.)
*However*, the remainder of that example says...
box { 0, <1,1,0.001 pigment { MatteImage }
scale MatteNormalizationScale // Fit matte to unit square
scale MatteSceneScale // Size matte for scene
}
....in which case, MatteNormalizationScale = Resolution would not seem to
make sense, as it does not "Fit matte to unit square ". (The matte image is
*already* fit to the unit square, by default.)
Some clarification(s) needed?
Post a reply to this message
|
|