POV-Ray : Newsgroups : povray.general : cannot open png file : Re: cannot open png file Server Time
1 Aug 2024 04:18:04 EDT (-0400)
  Re: cannot open png file  
From: cpmac
Date: 5 Apr 2006 06:40:01
Message: <web.44339dd5f7526d8d94b2128b0@news.povray.org>
"cpmac" <web### [at] cpmaccom> wrote:
> Hello
> I'm trying to experiment with including bimaps.
> I've used the following code but get the message
> parse error cannot open png file.
> The file renders correctly if I put a simple pigment instead of the texture.
>
> What am I doing wrong?

I've partly resolved the problem. The slash before the file name shouldn't
be there.
But now I have no error message and see no panel. Just the floor and the
background.



> #declare panel= prism {
>     linear_sweep
>     linear_spline
>     0, // sweep the following shape from here ...
>     0.01, // ... up through here
>     4, // the number of points making up the shape ...
>     <0,0>, <2,0>, <2,2>, <0,2>
>      texture {
>     pigment{ image_map { png "/noddy2.png" }
>     }
>  rotate<-90,0,0>
>  translate<0,6,0>
>  scale 0.5
>   }


Post a reply to this message

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