POV-Ray : Newsgroups : povray.general : uv mapping for isosurfaces - when? : Re: uv mapping for isosurfaces - when? Server Time
2 Aug 2024 00:15:29 EDT (-0400)
  Re: uv mapping for isosurfaces - when?  
From: Zeger Knaepen
Date: 22 Feb 2005 12:36:47
Message: <421b6daf@news.povray.org>
"Christopher James Huff" <cja### [at] gmailcom> wrote in message
news:cjameshuff-53CA25.10221222022005@news.povray.org...
> There are many surfaces that simply can't be seamlessly mapped to a 2D
> plane. The sphere is the simplest example. How would your hypothetical
> algorithm UV map a sphere?

I'm confused, uv-mapping a sphere isn't difficult, is it?

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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