POV-Ray : Newsgroups : povray.general : Discs Server Time
6 Nov 2024 08:16:23 EST (-0500)
  Discs (Message 1 to 5 of 5)  
From: Anthony Bouttell
Subject: Discs
Date: 8 Feb 1998 20:59:55
Message: <34df6152.602115766@news.povray.org>
G'day all.
I'm having a problem using the disc object. It doesn't want to be
seen. Here's the code I'm using and every time I run POVRAY nothing
shows up. In addition to this, can I use the "union" or "merge"
modifiers on discs ?

//==================================

#include "colors.inc"

Global_settings { ambient_light color White }
light_source { <12, 12.5335, 12> color rgb <1,1,1> }

#declare Test_A = disc{<0,0,0>,.999,5 color Green rotate<-45,45,-45>}
	
camera {
   perspective
   location <0, 40.335,0>
   look_at <0,0,0>
   angle30
}
 Test_A


Post a reply to this message

From: Lance Birch
Subject: Re: Discs
Date: 9 Feb 1970 01:47:08
Message: <01bd351e$835ad120$be163acb@b>
Try adding the normal <0,1,0>.  Hope this helps.  (more info can be found
in the POV docs)

-- 
Lance Birch
Remove the smiley to e-mail.
http://www1.tpgi.com.au/users/ambient/lance


Post a reply to this message

From: Anthony Bouttell
Subject: Re: Discs
Date: 9 Feb 1998 21:23:26
Message: <34e3ba0d.690367295@news.povray.org>
On Mon, 09 Feb 1998 01:59:55 GMT, bou### [at] rogerswaveca (Anthony
Bouttell) wrote:

>G'day all.
>I'm having a problem using the disc object. It doesn't want to be
>seen. Here's the code I'm using and every time I run POVRAY nothing
>shows up. In addition to this, can I use the "union" or "merge"
>modifiers on discs ?
>
>//==================================
>
>#include "colors.inc"
>
>Global_settings { ambient_light color White }
>light_source { <12, 12.5335, 12> color rgb <1,1,1> }
>
>#declare Test_A = disc{<0,0,0>,.999,5 color Green rotate<-45,45,-45>}
The big whoops I discovered, after actually reading the contents of
the message Window, has to do with the use of, "color", I should of
said :

#declare Test_A = disk{<0,0,0>,.999,5 texture{pigment{color Green}}
rotate<-45,-45,-45>}

( actually the <0,0,0> could have been coded 0 } 
>	
>camera {
>   perspective
>   location <0, 40.335,0>
>   look_at <0,0,0>
>   angle30
>}
> Test_A


Post a reply to this message

From: Tristan Wibberley
Subject: Re: Discs
Date: 12 Feb 1970 08:36:34
Message: <01bd37b2$8ef3f160$181657a8@W_tristan.gb.tandem.com>
I hope that realising an error didn't stop you from reading the replies
(Lance's in particular) because a disc needs a normal which points in some
direction.

-- 
Tristan Wibberley

(Remove the '.NO_LUNCHEON_MEAT' from my
email address to reply.)

Anthony Bouttell <bou### [at] rogerswaveca> wrote in article
<34e3ba0d.690367295@news.povray.org>...
| On Mon, 09 Feb 1998 01:59:55 GMT, bou### [at] rogerswaveca (Anthony
| Bouttell) wrote:
| 
| >G'day all.
| >I'm having a problem using the disc object. It doesn't want to be
| >seen. Here's the code I'm using and every time I run POVRAY nothing
| >shows up. In addition to this, can I use the "union" or "merge"
| >modifiers on discs ?
| >
| >//==================================
| >
| >#include "colors.inc"
| >
| >Global_settings { ambient_light color White }
| >light_source { <12, 12.5335, 12> color rgb <1,1,1> }
| >
| >#declare Test_A = disc{<0,0,0>,.999,5 color Green rotate<-45,45,-45>}
| The big whoops I discovered, after actually reading the contents of
| the message Window, has to do with the use of, "color", I should of
| said :
| 
| #declare Test_A = disk{<0,0,0>,.999,5 texture{pigment{color Green}}
| rotate<-45,-45,-45>}
| 
| ( actually the <0,0,0> could have been coded 0 } 
| >	
| >camera {
| >   perspective
| >   location <0, 40.335,0>
| >   look_at <0,0,0>
| >   angle30
| >}
| > Test_A 
| 
|


Post a reply to this message

From: Marco Bonetti
Subject: Re: Discs
Date: 10 Feb 1998 03:41:56
Message: <34e02005.0@news.povray.org>
Anthony wrote

>I'm having a problem using the disc object. It doesn't want to be
>seen. Here's the code I'm using and every time I run POVRAY nothing
[snip]
>#declare Test_A = disc{<0,0,0>,.999,5 color Green rotate<-45,45,-45>}


Just add the pigment keyword, like this:
#declare Test_A = disc {<0,0,0>,.999,5 pigment{color Green}
rotate<-45,45,-45>}

HTH,
                                                                - Marco


Post a reply to this message

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