POV-Ray : Newsgroups : povray.documentation.inbuilt : 3.4.2 Sor code doesn't work Server Time
19 Nov 2024 03:49:04 EST (-0500)
  3.4.2 Sor code doesn't work (Message 1 to 6 of 6)  
From: Chen Lin
Subject: 3.4.2 Sor code doesn't work
Date: 14 Jul 2002 22:37:05
Message: <3d323551@news.povray.org>
In the first demonstration code of the SOR object, the one that creates a
"gold cup", the inside of the cup doesn't turn out to be what it should be.
Instead of the "gold" texture in the cup, there is a dull monotonous, single
color gray hole where it should be. I'm sure I made no errors typing the
code because after a while, I went and copy and pasted it into the editor,
whereupon it still had the same results! Everything except the texture
inside the cup works.

Considering the fact that I actually am still doing the beginning tutorials,
you can see I don't know enough to fix this error if there is one. I am
presuming of course that this is a documentation bug that was caused by the
update from 3.0 to 3.5, but I may be wrong, it could be a program bug. Can
someone else try it?


Post a reply to this message

From: Tom Melly
Subject: Re: 3.4.2 Sor code doesn't work
Date: 15 Jul 2002 10:08:24
Message: <3d32d758$1@news.povray.org>
"Chen Lin" <lin### [at] ivwnetcom> wrote in message
news:3d323551@news.povray.org...
> In the first demonstration code of the SOR object, the one that creates a
> "gold cup", the inside of the cup doesn't turn out to be what it should be.

<snip>

Huh? It worked fine!.... Well, actually the problem isn't the gold, but the fact
that the gold hasn't got anything to reflect (a good indication of this is the
boring base - except where it is reflecting the stem of the cup).

Try adding something like:

sky_sphere {
  pigment {
    wrinkles scale 0.05
    color_map { [0 Blue] [1 White] }
  }
}

to your scene (with the above example, make sure that you have no other
sky_sphere statement, and that #include "colors.inc" comes before the sky
sphere).


Post a reply to this message

From: Tom Melly
Subject: Re: 3.4.2 Sor code doesn't work
Date: 15 Jul 2002 10:12:14
Message: <3d32d83e$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3d32d758$1@news.povray.org...

BTW for doc-writers, I don't blame Chen for being a little thrown by this one
(and it is in the beginners tutorial section).

The easiest option might be to texture the cup with a texture that relies less
on reflection?


Post a reply to this message

From: Tom Melly
Subject: Re: 3.4.2 Sor code doesn't work
Date: 15 Jul 2002 10:16:34
Message: <3d32d942@news.povray.org>
"Chen Lin" <lin### [at] ivwnetcom> wrote in message
news:3d323551@news.povray.org...

This was probably the right place to post under the circs., but I'm not sure how
many people read this group or how often.

In future you might want to post to new-users and cross-post to docs.?


Post a reply to this message

From: ingo
Subject: Re: 3.4.2 Sor code doesn't work
Date: 15 Jul 2002 13:33:02
Message: <Xns924CC77FE37D1seed7@povray.org>
in news:3d32d83e$1@news.povray.org Tom Melly wrote:

> BTW for doc-writers,

I'll have a look.

Ingo


Post a reply to this message

From: Robert Chaffe
Subject: Re: 3.4.2 Sor code doesn't work
Date: 15 Jul 2002 23:23:09
Message: <3d33919d@news.povray.org>
"Chen Lin" <lin### [at] ivwnetcom> wrote in message news:3d323551@news.povray.org...
> In the first demonstration code of the SOR object, the one that creates a
> "gold cup", the inside of the cup doesn't turn out to be what it should be.
> Instead of the "gold" texture in the cup, there is a dull monotonous, single
> color gray hole where it should be. I'm sure I made no errors typing the
> code because after a while, I went and copy and pasted it into the editor,
> whereupon it still had the same results! Everything except the texture
> inside the cup works.
>
> Considering the fact that I actually am still doing the beginning tutorials,
> you can see I don't know enough to fix this error if there is one. I am
> presuming of course that this is a documentation bug that was caused by the
> update from 3.0 to 3.5, but I may be wrong, it could be a program bug. Can
> someone else try it?

The example image does appear different than the result of the example script.

Add the keyword  open  after the last coordinate in the sor, immediately before the
texture, and it should produce the example
image.

--
Robert Chaffe
http://www.donovansweb.com/~chaffe/


Post a reply to this message

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