|
|
hi,
"6digit" <eob### [at] gmailcom> wrote:
> ...
> > Could you please advise on scaling the object because I am having trouble scaling
it.
will try :-).
say your input photo/image is 1920x1080 pixels. then, to get from "square"
image_map to correct proportion, a 'scale <1.92,1.08,1>' would restore the
aspect[*]. as for where to place the 'scale', fwiw, I tend to make it part of
the 'texture' or 'pigment' containing the map. eg:
plane {
z,1
texture {
pigment { ...the image_map... }
}
scale <1.92,1.08,1>
}
[*] approximate/close is often good enough. for instance, for one of my
project's, the source jpg is 624x351 and I use a 'scale <10,6,1>'
regards, jr.
Post a reply to this message
|
|
|
|
oops.
"jr" <cre### [at] gmailcom> wrote:
> plane {
> z,1
> texture {
> pigment { ...the image_map... }
> }
> scale <1.92,1.08,1>
> }
should have been:
plane {
z,1
texture {
pigment { ...the image_map... }
scale <1.92,1.08,1>
}
}
(typing.. :-))
regards, jr.
Post a reply to this message
|
|