POV-Ray : Newsgroups : povray.beta-test : Some existing uv_mapping flipped. Porting Cylinder, cone uv_mapping. : Re: Some existing uv_mapping flipped. Porting Cylinder, cone uv_mapping. Server Time
26 Apr 2024 14:03:33 EDT (-0400)
  Re: Some existing uv_mapping flipped. Porting Cylinder, cone uv_mapping.  
From: Le Forgeron
Date: 25 Oct 2016 12:56:06
Message: <580f8ea6@news.povray.org>
Le 23/10/2016 à 17:05, William F Pokorny a écrit :
> In working to port Jérôme's new cylinder and cone uv_mapping to the
> 3.7.1 master branch, I found the mapping to be upside-down (V flipped)
> to what I expected.
> 
> I decided to look at all(1) the uv_mapping, map_type image mapping and
> warp based mapping to see where things stood. I found the torus
> uv_mapping flipped left-right (U flipped) and the just added lemon also
> flipped in V but everything else having a consistent orientation. See
> the attached figure.
> 
> A github pull request #131 has been submitted for Jérôme's cone and
> cylinder uv_mapping except flipped to the usual V orientation and as
> shown in the figure.
> 
> I'll work on updates & pull requests to align the lemon (B) and torus
> (A) uv_mapping, but I'll wait a day or two should there be other opinions.
> 
> Bill P.
> (1) - Except the box/cubic mapping.
> 
> 
> 
You should also have a look at box uv_mapping... it's strange too.

You can read it from the inside.

I will investigate each object uv_mapping of hgpovray later, and might
change it (in term of flipping).

Target: being able to read the text on an image. The same image, on all
objects


Post a reply to this message


Attachments:
Download 'refimgobject_sphere.png' (533 KB) Download 'refimgobject_box.png' (729 KB) Download 'environment.inc.txt' (4 KB) Download 'clipped_oriented.pov.txt' (3 KB)

Preview of image 'refimgobject_sphere.png'
refimgobject_sphere.png

Preview of image 'refimgobject_box.png'
refimgobject_box.png

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