POV-Ray : Newsgroups : povray.binaries.scene-files : CSG Text Server Time
2 Sep 2024 10:12:58 EDT (-0400)
  CSG Text (Message 1 to 3 of 3)  
From: Theo
Subject: CSG Text
Date: 10 Mar 2002 10:28:24
Message: <3c8b7b8a@news.povray.org>
Here are the sources for the CSG letters as in the p.b.images.

Regards, Theo


Post a reply to this message


Attachments:
Download 'us-ascii' (32 KB) Download 'us-ascii' (6 KB) Download 'us-ascii' (3 KB)

From: Weinzierl Stefan
Subject: Re: CSG Text
Date: 11 Mar 2002 03:56:37
Message: <3C8C7107.7050705@t-online.de>
Theo

> Here are the sources for the CSG letters as in the p.b.images.
> 
> Regards, Theo


I've replaced the digit '1' with the following code, because it was a 
little bit to small...

Also I attached a macro(message, space) where strings can be handled 
very easy.

Stefan


// *** The digit 1. 
***********************************************************
#declare Digit_1_Width  = .7;
#declare Digit_1_Height = 2.4;
#declare Digit_1_Depth  = 0.4;
#declare Digit_1 =
  merge {
    // The standing right side.
    sphere { < 0.0, 2.0, 0.0> StdInnerRadius }
    cylinder { y*2.0, 0.0, StdInnerRadius}
    sphere { < 0.0, 0.0, 0.0> StdInnerRadius }

    // The small extention at the top left.
    merge {
       cylinder { 0.0, -y*0.5, StdInnerRadius }
       sphere { < 0.0, -0.5, 0.0> StdInnerRadius }

       rotate z*-45
       translate y*2.0
    }

    translate x*.3

    // Put the digit on the origin.
    translate <StdInnerRadius, StdInnerRadius, StdInnerRadius>
  }


Post a reply to this message


Attachments:
Download 'us-ascii' (5 KB)

From: Theo
Subject: Re: CSG Text
Date: 12 Mar 2002 19:44:17
Message: <3c8ea0e0@news.povray.org>
Stefan,

> I've replaced the digit '1' with the following code, because it was a
> little bit to small...
> 
> Also I attached a macro(message, space) where strings can be handled
> very easy.
> 

Thanks for these additions, I will include them in the next version.

In the included animation example I use a macro rotate the letters. I hope 
to post the result tomorrow.

Regards, Theo


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB) Download 'us-ascii' (4 KB)

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