POV-Ray : Newsgroups : povray.newusers : how to draw sth on the surface of a ball : Re: how to draw sth on the surface of a ball Server Time
4 Nov 2024 13:02:29 EST (-0500)
  Re: how to draw sth on the surface of a ball  
From: Christopher James Huff
Date: 2 Oct 2003 20:06:10
Message: <cjameshuff-76D02F.20053902102003@netplex.aussie.org>
In article <web.3f7ca32d77d9a3bdfceeb1e0@news.povray.org>,
 "mudong" <nomail@nomail> wrote:

> below is what i got so far, but I just have no clue how to draw the mouth, I
> don't know which tool to use to draw sth on a surface, could somebody
> please help, many thanks!!!!!!

Uh...what is "sth"? The actual letters, "sth"? I suggest the text object 
used together with the object pattern. Something like:

sphere {< 0, 0, 0>, 1
    texture {
        pigment {
            object {
                text {ttf "crystal.ttf", "sth", 1.01, 0
                    scale < 0.3, 0.3, 1>
                    translate <-0.15,-0.15,-1>
                }
                pigment {color rgb 0.5}
                pigment {color rgb 1}
            }
        }
    }
}

You could also use the macros in transforms.inc to position it more 
precisely, and warps to wrap it around the sphere.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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