|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|