POV-Ray : Newsgroups : povray.general : "No pigment type given" Server Time
1 Nov 2024 11:17:19 EDT (-0400)
  "No pigment type given" (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: John M  Dlugosz
Subject: "No pigment type given"
Date: 22 Sep 1999 23:11:03
Message: <37e99a47@news.povray.org>
I get this message with no line number or other indication of =where=.  Is
it saying that I left a texture out or something, and where might I find it?

--John


Post a reply to this message

From: Ken
Subject: Re: "No pigment type given"
Date: 22 Sep 1999 23:18:15
Message: <37E99B4F.B8955C8A@pacbell.net>
"John M. Dlugosz" wrote:
> 
> I get this message with no line number or other indication of =where=.  Is
> it saying that I left a texture out or something, and where might I find it?
> 
> --John

 It usualy occurs when you are creating objects with CSG operations and
forget to attach a pigment to one of them. Sometimes they are easy to
locate and other times they can hide rather effectively. I've been using
the program for few years now and still get that warning on occasion.

For example this should cause a warning like you are seeing:

intersection {
      sphere { <0,0,0>,1 pigment { rgb 1 }}
       plane { y,0 }
             }

As you can see the plane has no pigment so the parser issues a no pigment
warning. You could get around this by specifying a pigment for both objects
or even more effeciently by adding a pigment to the intersection instead.

example:

intersection {
    sphere { <0,0,0>,1 }
     plane { y,0       }
   pigment { rgb 1     }
}

  Although it's a basic example it illustrates well what to look for.


-- 
Ken Tyler

See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Larry Fontaine
Subject: Re: "No pigment type given"
Date: 22 Sep 1999 23:34:14
Message: <37E99DE9.EC95390F@isd.net>
Is it possible to specify a default pigment in case one isn't specified? I thought
I saw that once somewhere...

Ken wrote:

> "John M. Dlugosz" wrote:
> >
> > I get this message with no line number or other indication of =where=.  Is
> > it saying that I left a texture out or something, and where might I find it?
> >
> > --John
>
>  It usualy occurs when you are creating objects with CSG operations and
> forget to attach a pigment to one of them. Sometimes they are easy to
> locate and other times they can hide rather effectively. I've been using
> the program for few years now and still get that warning on occasion.
>
> For example this should cause a warning like you are seeing:
>
> intersection {
>       sphere { <0,0,0>,1 pigment { rgb 1 }}
>        plane { y,0 }
>              }
>
> As you can see the plane has no pigment so the parser issues a no pigment
> warning. You could get around this by specifying a pigment for both objects
> or even more effeciently by adding a pigment to the intersection instead.
>
> example:
>
> intersection {
>     sphere { <0,0,0>,1 }
>      plane { y,0       }
>    pigment { rgb 1     }
> }
>
>   Although it's a basic example it illustrates well what to look for.
>
> --
> Ken Tyler
>
> See my 1000+ Povray and 3D Rendering and Raytracing Links at:
> http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ken
Subject: Re: "No pigment type given"
Date: 22 Sep 1999 23:36:13
Message: <37E99F86.1D52B907@pacbell.net>
Larry Fontaine wrote:
> 
> Is it possible to specify a default pigment in case one isn't specified? I thought
> I saw that once somewhere...

#default {
  pigment { rgb <1,0,0>}
 }

-- 
Ken Tyler

See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Nieminen Juha
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 06:27:03
Message: <37ea0077@news.povray.org>
You should not forget the (now known) bug in povray:
  If you apply a material block to each component of a CSG, povray will
(wrongly) report that there's no pigment type given.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Greg M  Johnson
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 13:15:19
Message: <37EA5F92.20B47617@my-dejanews.com>
I have a gripe with povray that may or may not be related to his question:

It will often want to install itself under  a directory called
"C:\POV-Ray_for_Windows\"  If you put your scene files one or two levels below
this directory, you are even further stuck.  When error messages print out on
the message screen, povray does not let the text wrap around NOR does it allow a
scrool bar for messages far to the right.  The result is that the only
information you will get about your fatal error is something like:

Filename C:\POV-Ray for Windows\scene-files\boidscenefile01.pov:  You idiot, you
made the mistake of...........


John M. Dlugosz wrote:

> I get this message with no line number or other indication of =where=.  Is
> it saying that I left a texture out or something, and where might I find it?
>
> --John


Post a reply to this message

From: TonyB
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 19:28:11
Message: <37eab78b@news.povray.org>
I installed it as D:\POV-RAY 3.1\


Post a reply to this message

From: John M  Dlugosz
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 21:19:59
Message: <37ead1bf@news.povray.org>
Good example:  I use a couple planes for clipping a more complex object.
I'll look for things like that.

--John

Ken <tyl### [at] pacbellnet> wrote in message
news:37E99B4F.B8955C8A@pacbell.net...
>
>
> "John M. Dlugosz" wrote:
> >
> > I get this message with no line number or other indication of =where=.
Is
> > it saying that I left a texture out or something, and where might I find
it?
> >
> > --John
>
>  It usualy occurs when you are creating objects with CSG operations and
> forget to attach a pigment to one of them. Sometimes they are easy to
> locate and other times they can hide rather effectively. I've been using
> the program for few years now and still get that warning on occasion.
>
> For example this should cause a warning like you are seeing:
>
> intersection {
>       sphere { <0,0,0>,1 pigment { rgb 1 }}
>        plane { y,0 }
>              }
>
> As you can see the plane has no pigment so the parser issues a no pigment
> warning. You could get around this by specifying a pigment for both
objects
> or even more effeciently by adding a pigment to the intersection instead.
>
> example:
>
> intersection {
>     sphere { <0,0,0>,1 }
>      plane { y,0       }
>    pigment { rgb 1     }
> }
>
>   Although it's a basic example it illustrates well what to look for.
>
>
> --
> Ken Tyler
>
> See my 1000+ Povray and 3D Rendering and Raytracing Links at:
> http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: John M  Dlugosz
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 21:22:52
Message: <37ead26c@news.povray.org>
I don't have that particular problem because the window is wide enough and
the font small enough.  IAC, I have my "work" in a different tree from my
programs.  IAK, the output is:

...

Drat, can't select text in the Messages window either.  Never mind.

--John


Greg M. Johnson <gre### [at] my-dejanewscom> wrote in message
news:37EA5F92.20B47617@my-dejanews.com...
> I have a gripe with povray that may or may not be related to his question:
>
> It will often want to install itself under  a directory called
> "C:\POV-Ray_for_Windows\"  If you put your scene files one or two levels
below
> this directory, you are even further stuck.  When error messages print out
on
> the message screen, povray does not let the text wrap around NOR does it
allow a
> scrool bar for messages far to the right.  The result is that the only
> information you will get about your fatal error is something like:
>
> Filename C:\POV-Ray for Windows\scene-files\boidscenefile01.pov:  You
idiot, you
> made the mistake of...........
>
>
> John M. Dlugosz wrote:
>
> > I get this message with no line number or other indication of =where=.
Is
> > it saying that I left a texture out or something, and where might I find
it?
> >
> > --John
>
>
>


Post a reply to this message

From: Ken
Subject: Re: "No pigment type given"
Date: 23 Sep 1999 21:26:34
Message: <37EAD2C3.6869F446@pacbell.net>
"John M. Dlugosz" wrote:

> Drat, can't select text in the Messages window either.  Never mind.
> 
> --John

  When the message window is open choose --> edit --> copy pane.
This will allow you to copy the visible contents of the message
window into memory.

-- 
Ken Tyler

See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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