|
|
See my post on your second thread for a similar solution. Bob and Gail are right,
this isn't a bug, but it isn't the clearest idea in the docs sometimes.
Josh
"Greg M. Johnson" wrote:
> My memory is a bit foggy of all the things I tried. I probably should go home
> for lunch and post to this ng the actual tracings, but the problem went
> something like this:
>
> ///THIS IS WICKEDLY DISTORTED
> box{<0,0,0>,<1.,1,0.001>
> pigment{
> image_map{
> tga "c:\My Documents\left2.tga"
> once
> }
> }
> finish {ambient 1 diffuse 0}
> translate <-0.5,-0.5,-0.05>
> scale 14
> translate -17*x -1.5*y +3*z
> }
>
> // CHANGE If my aspect ratio were 0.126 : 1.0 x:y, then
>
> box{<0,0,0>,<0.126 , 1.0 ,0.001>
>
> didn't work either! Help!
> Let's fix this in mega 0.5!!!!!!
>
> Gail Shaw wrote:
>
> > Greg M. Johnson wrote in message <38DF5802.32786C20@my-dejanews.com>...
> > >Nope. I once tried changing the size of the box to fit the aspect ratio of
> > the
> > >image, and still got something stupidly distorted.
> >
> > Did you change the size before or after applying the image
> >
> > >Do we have to beg for a fix in mega 0.5, or isn't there SOME way to get pov
> > to
> > >'decal' this without crazy distortions?
> > >
> >
> > It's not a bug.
> >
> > Please assume that img1.gif is 100*500 pixels.
> >
> > box {
> > <0,0,0>,<1,5,0.01> // box starts with correct ratio
> > pigment {
> > image_map {
> > gif "img1.gif"
> > }
> > scale <1,5,1> // scaling the pigment
> > }
> > }
> >
> > The above code hasn't been tested, but I think it's right.
> >
> > Gail
> > ********************************************************************
> > * gsh### [at] monotixcoza * Reality.dat not found *
> > * http://www.rucus.ru.ac.za/~gail/ * Attempting to reboot universe *
> > ********************************************************************
> > * Document program code? Why do you think it's called code? *
> > ********************************************************************
--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."
Post a reply to this message
|
|