|
![](/i/fill.gif) |
Oh, and never mind that 'once' keyword for spherical 'map_type 1',
doesn't do anything.
Bob
Bob Hughes <inv### [at] aol com> wrote in message
news:37c43a94@news.povray.org...
> Change the "rotate <0,180,180>", it's turning the whole thing upside
> down and around. Try 'rotate <0,180,0> instead to see. Also be
careful
> of using multiple vector values in a rotation rather than multiple
> individual rotations. You can't control the order otherwise.
>
> Bob
>
> Chuck Roberts <rob### [at] accn org> wrote in message
> news:37C438BC.100EE10A@accn.org...
> > Here is the pertinent code:
> > #version 3
> > #include "colors.inc"
> > global_settings
> > {assumed_gamma 1.0
> > }
> > #default {texture {pigment { color Red } } };
> > // ----------------------------------------
> > camera
> > {
> > location <0.0, 1.5, -6.0>
> > direction 1.5*z
> > right 4/3*x
> > look_at <1.0, 0.0, 0.0>
> > }
> >
> > file://Earth
> > sphere
> > {<0,0,0> 1
> > texture { pigment
> > {
> > image_map
> > {
> > sys "earthmap.bmp" // supports gif, tga, png, sys (bmp)
> > map_type 1 // 1=spherical mapping
> > file://interpolate 2 // smooth it
> > once // don't tile image, just one copy
> >
> > }
> > // transform it to unit-size (-1 to +1)
> > // translate <0,180,0>
> > // scale .7 // make it unit-sized
> > rotate<0,180,180> file://rotate on Y axis over n
frames
> > }
> > finish {ambient 0.3}
> > }
> > scale 1
> > }
>
>
Post a reply to this message
|
![](/i/fill.gif) |