POV-Ray : Newsgroups : povray.programming : Primitive BOX, how to wrap a texture? : Primitive BOX, how to wrap a texture? Server Time
4 Oct 2024 13:03:09 EDT (-0400)
  Primitive BOX, how to wrap a texture?  
From: GioSeregni
Date: 12 Nov 2023 08:30:00
Message: <web.6550d2d966418b42d0d0a7c459126100@news.povray.org>
First of all, I apologize for the naivety of the question.
I am not able to get the surfaces of the BOX with the actual texture.

Example:

box{<0.5000,1.0000,0.2500>,<-3,-1.0000,-0.2500>
 texture {pigment {image_map
 {png "130PINK" map_type 1
 interpolate 2
}
 scale 1.30
}}
 rotate<0,360.0000,0> translate<46.7000,-0.0900,14.0700>
}

Well, Map 0 fails on some faces, Map 1 and map 2 deform the texture.
How can I wrap a texture correctly?
I studied the UV Mapping, but I practically understood nothing.
How should I correct my example to get the same texture uniformly on all faces?
A huge thank you if anyone helps me.

BR
Giovanni


Post a reply to this message

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