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:04:24 EST (-0500)
  Re: how to draw sth on the surface of a ball  
From: mudong
Date: 2 Oct 2003 23:25:01
Message: <web.3f7ceb43d648f0f1fceeb1e0@news.povray.org>
Thanks a lot, what I actually want is a curve(a smiling mouth) on the
sphere, how to do that? thank you so much.

Mudong


Christopher James Huff wrote:
>In article <web.3f7ca32d77d9a3bdfceeb1e0[at]news.povray.org>,
> "mudong" <nomail[at]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.