POV-Ray : Newsgroups : povray.beta-test : Portfolio Server Time
2 Nov 2024 07:25:27 EDT (-0400)
  Portfolio (Message 1 to 2 of 2)  
From: Bonsai
Subject: Portfolio
Date: 10 Jan 2002 02:43:42
Message: <3c3d462e$1@news.povray.org>
Hi,

the POV-File o_shapes.pov in scenes\portfolio has a little bug that causes a
incorrect rendering of the portfolio for shapes. This is because of the
false numbers in the case-commands for the two first shapes:

<--- current (buggy) version --->

   #switch(frame_number)
      #case(99)
         object {
            Bevelled_Text("crystal.ttf", "ABC", 10, 35, 0.1, 0.3, 0, 0)
            scale 2
            translate <-1.4,-0.5,0>
            pigment {rgb 1}
            finish{specular 0.4}
         }
      #break
      #case(0)
         object {
            Circle_Text("crystal.ttf", "Circle Text", 1, 0, 0.3, 0.95, 0,
Align_Center, 10)
            scale 0.75
            pigment {rgb <1,0.1,0>}
            finish{specular 0.4}
         }
      #break

<--- end of current version --->

simply change it to this

<--- correct version --->
   #switch(frame_number)
      #case(0)
         object {
            Bevelled_Text("crystal.ttf", "ABC", 10, 35, 0.1, 0.3, 0, 0)
            scale 2
            translate <-1.4,-0.5,0>
            pigment {rgb 1}
            finish{specular 0.4}
         }
      #break
      #case(1)
         object {
            Circle_Text("crystal.ttf", "Circle Text", 1, 0, 0.3, 0.95, 0,
Align_Center, 10)
            scale 0.75
            pigment {rgb <1,0.1,0>}
            finish{specular 0.4}
         }
      #break
<--- end of correction --->

So long,

Bonsai

--
<--------------------------->
   ___ __ __  _ ___ ___  _
  | _ )  \  \( )  _) _ )( )
  | _ \() |\ \ |\ \/ _ \| |
  |___/__/_)\__)___)/ \_)_)

       www.b0n541.net
<--------------------------->


Post a reply to this message

From: ingo
Subject: Re: Portfolio
Date: 10 Jan 2002 07:56:33
Message: <Xns91928E0F580Bseed7@povray.org>
in news:3c3d462e$1@news.povray.org Bonsai wrote:

> the POV-File o_shapes.pov in scenes\portfolio has a little bug

Will be changed,

thanks,

Ingo


Post a reply to this message

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