|
|
Le 04/08/2019 à 20:55, Kima a écrit :
> Consider a simple cube as
>
> superellipsoid{ <.25,0.25>
> texture{ pigment{ color rgb<0.65,1,0.1>}
> finish { phong 1}
> }
>
> I put an image on its surface as
>
>
> superellipsoid{ <.25,0.25>
> texture{ pigment{
>
> image_map{ png "ad.png"
> map_type 0
> interpolate 2
> once
> }
>
> }
> finish { phong 1}
> }
>
> }
>
> I have two problems:
>
> 1. How can I keep the pigment color underneath to have a closed where has not
> been wrapped by the image?
>
> 2. Wrapping starts from the left corner of the object, and I lose the curvature
> on the left side, but it is OK on the right side. According to
> http://www.f-lohmueller.de/pov_tut/backgrnd/p_sky9.htm the image covers +Z and
> goes to +X. Is it possible to put the image on the center of +Z to let the
> excess image covers both -X and +X?
>
>
what about using a "warp{ cubic }" ?
http://wiki.povray.org/content/Reference:Warp#Mapping_using_warps
Post a reply to this message
|
|