 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Micha Riser" <mri### [at] gmx net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Jaime Vives Piqueres" <jai### [at] ignorancia org> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Bill DeWitt wrote:
>
> "Jaime Vives Piqueres" <jai### [at] ignorancia org> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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] ignorancia org> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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] yahoo com> 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] ignorancia org> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Mahalis" <don### [at] fakey com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Bill DeWitt wrote:
>
> "Mahalis" <don### [at] fakey com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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] aol com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"JRG" <jrg### [at] hotmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This is not true with the right finish.
In fact most of my gold textures use this pigment.
"Bill DeWitt" <bde### [at] cfl rr com> ha scritto nel messaggio
news:3bc210d6@news.povray.org...
>
> "JRG" <jrg### [at] hotmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"JRG" <jrg### [at] hotmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Mon, 8 Oct 2001 16:58:58 -0400, Bill DeWitt wrote:
>
>"JRG" <jrg### [at] hotmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bill DeWitt" <bde### [at] cfl rr com> 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] euskalnet net
http://www.geocities.com/txemijendrix
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |