POV-Ray : Newsgroups : povray.newusers : Can't get this mapped properly. : Re: Can't get this mapped properly. Server Time
4 Sep 2024 22:15:12 EDT (-0400)
  Re: Can't get this mapped properly.  
From: hughes b
Date: 21 Jul 2002 23:00:09
Message: <3d3b7539@news.povray.org>
Should just be a matter of using a planar image_map, unless you're seeing
too much distortion from curvature.  And that's a real possibility since
your scene script shows the sphere isn't flattened out any.
Getting the image_map on there is simple enough, just needs centering,
scaling and rotating.

texture {
    pigment {
        image_map {
            sys "help-1.bmp" // gif is not supported in v3.5
            once // prevent tiling
            interpolate 2 // smoother
            }
        translate -0.5
        scale <1,1,1> // however needed to fit
        rotate 90*x // to place onto y plane
    }
}

This texture needs to overlay the underlying one, layered texture-style,
second place. You could put the texturing into the union of the whole object
since it is all centered on the y axis.

If you are going to need uv mapping or a uv warp, so that the surface is
conformed to better, I think someone else will have to advise you on that.
Or just look it up in the v3.5 scene help.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.