POV-Ray : Newsgroups : povray.general : problem Server Time
15 Oct 2026 13:38:50 EDT (-0400)
  problem (Message 1 to 26 of 26)  
From: Kevin Loney
Subject: problem
Date: 7 Oct 2001 15:40:12
Message: <3bc0af9c$1@news.povray.org>
I've been using povray for close to 2 years and I'm having a prolem thats
probably very simple to solve, but can't seem to do it.

I'll create my scene, add lights and camera. when I run it It displays
nothing. I've tried using this code (in 3.1g and 3.5b), and nothing just a
black image. Am i doing something wrong?

camera {
    location <5, 5, 5>
    look_at <0, 0, 0>
}

light_source {
    <45, 35, 25> color 1
}

sphere {
    <0, 0, 0>, 1
    pigment {
        color 1
    }
}


--
Kevin
http://www.geocities.com/qsquared_1999/


Post a reply to this message

From: Micha Riser
Subject: Re: problem
Date: 7 Oct 2001 15:54:37
Message: <3bc0b2fd$1@news.povray.org>
Kevin Loney wrote:
> 
> sphere {
> <0, 0, 0>, 1
> pigment {
> color 1
> }
> }
> 

"color 1" is interpretated as color rgbft 1 which makes the sphere 
compleatly transparent. Use "color rgb 1" or "color White" instead.

- Micha


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 7 Oct 2001 17:23:23
Message: <3bc0c7cb$1@news.povray.org>
"Micha Riser" <mri### [at] gmxnet> wrote in message
news:3bc0b2fd$1@news.povray.org...
> Kevin Loney wrote:
> >
> > sphere {
> > <0, 0, 0>, 1
> > pigment {
> > color 1
> > }
> > }
> >
>
> "color 1" is interpretated as color rgbft 1 which makes the sphere
> compleatly transparent. Use "color rgb 1" or "color White" instead.

    Or just pigment {rgb 1 }


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: problem
Date: 7 Oct 2001 17:34:20
Message: <3BC0CA63.153FB729@ignorancia.org>
Bill DeWitt escribió:
>     Or just pigment {rgb 1 }

  Or use colors.inc, and then pigment{White}. That's very clear... I
don't understand why people don't use colors.inc more often. I almost
never type "rgb": I'm feel lost finding colors that way. 

--
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 7 Oct 2001 17:38:03
Message: <3bc0cb3b$1@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
news:3BC0CA63.153FB729@ignorancia.org...
> Bill DeWitt escribió:
> >     Or just pigment {rgb 1 }
>
>   Or use colors.inc, and then pigment{White}. That's very clear... I
> don't understand why people don't use colors.inc more often. I almost
> never type "rgb": I'm feel lost finding colors that way.

    Funny, I never even use colors.inc anymore. I had a color picker for a
while, but then I got used to rgb and can pretty much type out my color
first or second try. Especially since I rarely want rgb 1 but might want rgb
<1.1, 0.9, 0.9 >


Post a reply to this message

From: Ken
Subject: Re: problem
Date: 7 Oct 2001 17:56:07
Message: <3BC0D0D2.8B0C4562@pacbell.net>
Bill DeWitt wrote:
> 
> "Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
> news:3BC0CA63.153FB729@ignorancia.org...
> > Bill DeWitt escribió:
> > >     Or just pigment {rgb 1 }
> >
> >   Or use colors.inc, and then pigment{White}. That's very clear... I
> > don't understand why people don't use colors.inc more often. I almost
> > never type "rgb": I'm feel lost finding colors that way.
> 
>     Funny, I never even use colors.inc anymore. I had a color picker for a
> while, but then I got used to rgb and can pretty much type out my color
> first or second try. Especially since I rarely want rgb 1 but might want rgb
> <1.1, 0.9, 0.9 >

I find it easier to type rgb 1 that it is to type White. Also, you don't
have to spend time typing #include "colors.inc" into every scene file you
make.

-- 
Ken Tyler


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 7 Oct 2001 18:12:33
Message: <3bc0d351@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote :
>
> I find it easier to type rgb 1 that it is to type White. Also, you don't
> have to spend time typing #include "colors.inc" into every scene file you
> make.

    There's that, but I have insert menus for that (or did, I am still
working on new ones). Mostly I find "white" or "blue" to -not- be what I
want. I want the box of crayons that have the 63 million colors.


Post a reply to this message

From: Ken
Subject: Re: problem
Date: 7 Oct 2001 18:51:00
Message: <3BC0DDAF.9FDCF831@pacbell.net>
Bill DeWitt wrote:

>     There's that, but I have insert menus for that (or did, I am still
> working on new ones). Mostly I find "white" or "blue" to -not- be what I
> want. I want the box of crayons that have the 63 million colors.

Same here. I am prefectly comfortable describing my own colors as needed.
But that is the beauty of POV-Ray. People can use it anyway they want
and if some people find using colors.inc easier than designing their own
colors then more power to them.

-- 
Ken Tyler


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 7 Oct 2001 19:11:38
Message: <3bc0e12a$1@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote :
>
> Same here. I am prefectly comfortable describing my own colors as needed.

    I might be tempted by a color select box  on the tool bar of the editor.
Something that if you clicked on the one out of 16 or somewhere on the
rainbow box it would then type in "rgb <n.nn, n.nn, n.nn >. But anything
else is just too time consuming for the value returned. I dont' even use the
insert menu pigments becuas it takes longer than typing a rgb value.

> But that is the beauty of POV-Ray. People can use it anyway they want
> and if some people find using colors.inc easier than designing their own
> colors then more power to them.

    Sure, and it is good while learning to do other things.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: problem
Date: 8 Oct 2001 04:01:21
Message: <3BC15D57.1B966040@ignorancia.org>
Bill DeWitt escribió:
> working on new ones). Mostly I find "white" or "blue" to -not- be what I
> want. I want the box of crayons that have the 63 million colors.

  Oh, well... I never said I use the colors in colors.inc as they are!
;) I use them as a palette of known colors to mix. It is easy for me to
think on something like "White*.9+Red*.1" when a I want a light pink. I
don't care if it's longer and I don't mind typing '#include
"colors.inc"': it is worth for me.

--
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

From: Chaps
Subject: Re: problem
Date: 8 Oct 2001 06:42:48
Message: <3bc18328@news.povray.org>
For me colors.inc is a gift from god!

As I am colour blind, I feel much more confortable with Turquoise than rgb
stuff.
In any case I have absolutly no opinion on the result!

Chaps


"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
news:3BC15D57.1B966040@ignorancia.org...
> Bill DeWitt escribió:
> > working on new ones). Mostly I find "white" or "blue" to -not- be what I
> > want. I want the box of crayons that have the 63 million colors.
>
>   Oh, well... I never said I use the colors in colors.inc as they are!
> ;) I use them as a palette of known colors to mix. It is easy for me to
> think on something like "White*.9+Red*.1" when a I want a light pink. I
> don't care if it's longer and I don't mind typing '#include
> "colors.inc"': it is worth for me.
>
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org/


Post a reply to this message

From: Mahalis
Subject: Re: problem
Date: 8 Oct 2001 09:37:34
Message: <3bc1ac1e@news.povray.org>
Always the first line I ever type in a POV scene, whatever it is, is
'#include "colors.inc"'. If I don't like a color, I guess what its rgb value
is and fiddle it a bit.

"Chaps" <cha### [at] yahoocom> wrote in message
news:3bc18328@news.povray.org...
> For me colors.inc is a gift from god!
>
> As I am colour blind, I feel much more confortable with Turquoise than rgb
> stuff.
> In any case I have absolutly no opinion on the result!
>
> Chaps
>
>
> "Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
> news:3BC15D57.1B966040@ignorancia.org...
> > Bill DeWitt escribió:
> > > working on new ones). Mostly I find "white" or "blue" to -not- be what
I
> > > want. I want the box of crayons that have the 63 million colors.
> >
> >   Oh, well... I never said I use the colors in colors.inc as they are!
> > ;) I use them as a palette of known colors to mix. It is easy for me to
> > think on something like "White*.9+Red*.1" when a I want a light pink. I
> > don't care if it's longer and I don't mind typing '#include
> > "colors.inc"': it is worth for me.
> >
> > --
> > Jaime Vives Piqueres
> >
> > La Persistencia de la Ignorancia
> > http://www.ignorancia.org/
>
>


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 8 Oct 2001 10:05:49
Message: <3bc1b2bd$1@news.povray.org>
"Mahalis" <don### [at] fakeycom> wrote in message
news:3bc1ac1e@news.povray.org...
> Always the first line I ever type in a POV scene, whatever it is, is
> '#include "colors.inc"'. If I don't like a color, I guess what its rgb
value
> is and fiddle it a bit.

    I haven't ever checked, but isn't there a parse time hit for including
unused files? In a lengthy animation it probably makes a difference.


Post a reply to this message

From: Dave Dunn
Subject: Re: problem
Date: 8 Oct 2001 10:12:37
Message: <3BC1B466.60E00C33@aol.com>
Kevin Loney wrote:

> I'll create my scene, add lights and camera. when I run it It displays
> nothing. I've tried using this code (in 3.1g and 3.5b), and nothing just a
> black image. Am i doing something wrong?

The problem appears to be the use of "color 1." The keyword "color" is an
artifact of an earlier version of POV-Ray. You might want to consider using
"rgb 1" or "rgb <1,1,1>" (without the quotes, of course) in its place.


Post a reply to this message

From: Ken
Subject: Re: problem
Date: 8 Oct 2001 10:32:07
Message: <3BC1BA48.D6F824E4@pacbell.net>
Bill DeWitt wrote:
> 
> "Mahalis" <don### [at] fakeycom> wrote in message
> news:3bc1ac1e@news.povray.org...
> > Always the first line I ever type in a POV scene, whatever it is, is
> > '#include "colors.inc"'. If I don't like a color, I guess what its rgb
> value
> > is and fiddle it a bit.
> 
>     I haven't ever checked, but isn't there a parse time hit for including
> unused files? In a lengthy animation it probably makes a difference.

On a 386 with 4 megs of memory it was a problem. With modern machines
the impact is not a consideration.

-- 
Ken Tyler


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 8 Oct 2001 11:09:21
Message: <3bc1c1a1$1@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote :
>
> On a 386 with 4 megs of memory it was a problem. With modern machines
> the impact is not a consideration.

    On a PII 400, rendering 256 frames of a sphere with and without
colors.inc.

6m 23s with
6m 15s without

    Probably have to be several large includes on very many frames for it to
be a consideration.


Post a reply to this message

From: JRG
Subject: Re: problem
Date: 8 Oct 2001 16:15:39
Message: <3bc2096b@news.povray.org>
Dave Dunn wrote:
>
>
>The keyword "color" is an
> artifact of an earlier version of POV-Ray.

How this?
I wouldn't define the keyword "color" an artifact. The problem here is
simply that color 1= color rgbft 1 so that the object is completely
transparent.

--
Jonathan.


Post a reply to this message

From: Dave Dunn
Subject: Re: problem
Date: 8 Oct 2001 16:20:27
Message: <3BC20A9D.1D678E1C@aol.com>
JRG wrote:

> How this?
> I wouldn't define the keyword "color" an artifact. The problem here is
> simply that color 1= color rgbft 1 so that the object is completely
> transparent.

Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
"color" keyword was required when creating a color definition. Since this
is no longer the case, the keyword, in povese, has been deprecated.


Post a reply to this message

From: JRG
Subject: Re: problem
Date: 8 Oct 2001 16:36:16
Message: <3bc20e40@news.povray.org>
Are you saying that every time I wrote #declare gold = color rgb <1,.6,.2>;
I was wasting my time? Oh my god... and I'm still alive?
;-)

Yet I wouldn't define it an *artifact*. Obsolete syntax is a better
definition IMO.

--
Jonathan.


"Dave Dunn" <poi### [at] aolcom> ha scritto nel messaggio
news:3BC20A9D.1D678E1C@aol.com...
>
>
> JRG wrote:
>
> > How this?
> > I wouldn't define the keyword "color" an artifact. The problem here is
> > simply that color 1= color rgbft 1 so that the object is completely
> > transparent.
>
> Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
> "color" keyword was required when creating a color definition. Since this
> is no longer the case, the keyword, in povese, has been deprecated.
>


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 8 Oct 2001 16:47:18
Message: <3bc210d6@news.povray.org>
"JRG" <jrg### [at] hotmailcom> wrote :
>
> Are you saying that every time I wrote #declare gold = color rgb
<1,.6,.2>;
> I was wasting my time?

    Only in that <1,.6,.2> is a horrid gold.


Post a reply to this message

From: Christoph Hormann
Subject: Re: problem
Date: 8 Oct 2001 16:50:07
Message: <3BC2123B.75D3A344@gmx.de>
Dave Dunn wrote:
> 
> Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
> "color" keyword was required when creating a color definition. Since this
> is no longer the case, the keyword, in povese, has been deprecated.

But bear in mind the following thing:

pigment { color rgb 1 } 
pigment { rgb 1 } 
pigment { color 1 } 

all work (although differ), but

pigment { 1 } 

does not.  

So you can't really say the 'color' keyword is no more required in all
cases.

Also it isn't deprecated since that would mean it is suggested to no more
use it.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: JRG
Subject: Re: problem
Date: 8 Oct 2001 16:50:27
Message: <3bc21193@news.povray.org>
This is not true with  the right finish.
In fact most of my gold textures use this pigment.

"Bill DeWitt" <bde### [at] cflrrcom> ha scritto nel messaggio
news:3bc210d6@news.povray.org...
>
> "JRG" <jrg### [at] hotmailcom> wrote :
> >
> > Are you saying that every time I wrote #declare gold = color rgb
> <1,.6,.2>;
> > I was wasting my time?
>
>     Only in that <1,.6,.2> is a horrid gold.
>
>


Post a reply to this message

From: Ron Parker
Subject: Re: problem
Date: 8 Oct 2001 16:51:49
Message: <slrn9s44fe.34c.ron.parker@fwi.com>
On Mon, 08 Oct 2001 16:20:45 -0400, Dave Dunn wrote:
>
>
>JRG wrote:
>
>> How this?
>> I wouldn't define the keyword "color" an artifact. The problem here is
>> simply that color 1= color rgbft 1 so that the object is completely
>> transparent.
>
>Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
>"color" keyword was required when creating a color definition. Since this
>is no longer the case, the keyword, in povese, has been deprecated.

Not true.  See what happens when you try skipping it in a colour_map.
(though it's true that it's an artifact of some sort: everyone knows that
the proper way to spell it is with the U, as it's spelled in the POV source.)

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

From: Bill DeWitt
Subject: Re: problem
Date: 8 Oct 2001 16:59:03
Message: <3bc21397$1@news.povray.org>
"JRG" <jrg### [at] hotmailcom> wrote in message
news:3bc21193@news.povray.org...
> This is not true with  the right finish.
> In fact most of my gold textures use this pigment.

    If I label my jokes no one falls for them.


Post a reply to this message

From: Ron Parker
Subject: Re: problem
Date: 8 Oct 2001 17:01:06
Message: <slrn9s450t.35c.ron.parker@fwi.com>
On Mon, 8 Oct 2001 16:58:58 -0400, Bill DeWitt wrote:
>
>"JRG" <jrg### [at] hotmailcom> wrote in message
>news:3bc21193@news.povray.org...
>> This is not true with  the right finish.
>> In fact most of my gold textures use this pigment.
>
>    If I label my jokes no one falls for them.

Indeed.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

From: Txemi Jendrix
Subject: Re: problem
Date: 8 Oct 2001 21:06:12
Message: <3bc24d84$1@news.povray.org>
"Bill DeWitt" <bde### [at] cflrrcom> escribió en el mensaje
news:3bc0e12a$1@news.povray.org...
>     I might be tempted by a color select box  on the tool bar of the
editor.
> Something that if you clicked on the one out of 16 or somewhere on the
> rainbow box it would then type in "rgb <n.nn, n.nn, n.nn >. But anything
> else is just too time consuming for the value returned. I dont' even use
the
> insert menu pigments becuas it takes longer than typing a rgb value.

You can try DotColor3.0 (it's freeware) in colour mixer mode to get the
exact colour with the exact rgb values .
Maybe you can find it useful.
this is the link:
http://www.inetis.com/freeware.asp
--
Txemi Jendrix
tji### [at] euskalnetnet
http://www.geocities.com/txemijendrix


Post a reply to this message

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