POV-Ray : Newsgroups : povray.newusers : Mobius and image_map : Re: Mobius and image_map Server Time
28 Sep 2024 18:01:39 EDT (-0400)
  Re: Mobius and image_map  
From: Le Forgeron
Date: 2 Feb 2012 03:06:03
Message: <4f2a43eb@news.povray.org>
Le 02/02/2012 02:40, Trips a écrit :
> I tried all of the map_type's defined in the documentation, but in all cases the
> projection is highly distorted.
> 
> If you create an 800x100 pixel white image with a blue circle in the middle for
> "surface.png", you'll see what I mean.
> 
> How can I correct the projection?

You are using a projection with an object (y along cylinder with
spherical caps) that goes through the origin.

As the projection is centred at the origin, it is normal that you get a
distortion. (excepted for type 0: planar projection)

Move your projection (translate the pigment, or translate the object,
apply pigment, and translate back the whole thing) and may be also check
the projection direction: map_type 0 is a plane in x-y, does it match
your expectation ?

Also, you repeat your textured object to generate your strip, which
might have a side effect on final aspect.

You should try to tune with a "once" in the mapping.

-- 
A good Manager will take you
through the forest, no mater what.
A Leader will take time to climb on a
Tree and say 'This is the wrong forest'.


Post a reply to this message

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