POV-Ray : Newsgroups : povray.general : text on superellipsoid : Re: text on superellipsoid Server Time
20 Apr 2024 01:01:58 EDT (-0400)
  Re: text on superellipsoid  
From: Kima
Date: 28 May 2018 11:20:00
Message: <web.5b0c1d4ce3ae2cc73ce674f0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> You need to scale it thicker to extend past the outer surface of the
> superellipsoid
>
> Then scale smaller in x/y and translate to center.
>
> As a useful tool for future difference{}
>
> make the "parent" object transparent (t~0.95)
> make the subtractive child object a bright contrasting solid color.
>
> Calculate the bounding boxes of the two objects and keep track of where they
> truly are.
>
> Make a union of the two objects to see that they will "work" in the difference
> you envision.
>
> THEN rewrite the scene as a difference, rather than a union.
>
> (or do both, side-by-side)
>
>
> {It would also be helpful to debug faster if you provide a completely renderable
> scene - with camera location, etc.}
>
> try this:
>
> difference {
>
> superellipsoid{ <1.00,0.25>
>   texture{ pigment{ color rgb<0.65,1,0.1>}
>            finish { phong 1}
>          }
> }
>
> text{ ttf "timrom.ttf", "text", 2, 0
>       texture{ pigment{ color rgb<1,0.9,0.5>}
>                finish { phong 1 reflection 0.1}}
>                scale 0.5
>                translate -x*0.3
>                translate -z*1
> }
>
> }

Wonderful! Works perfectly. Thank you very much.


Post a reply to this message

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