POV-Ray : Newsgroups : povray.newusers : problems from example file : Re: problems from example file Server Time
28 Jun 2024 20:53:03 EDT (-0400)
  Re: problems from example file  
From: Le Forgeron
Date: 20 Jan 2012 13:37:29
Message: <4f19b469$1@news.povray.org>
Le 20/01/2012 17:56, bnrj.rudra nous fit lire :
> Dear all,
> I am very new to povray, running it in a x86_64 machine(with binary file) but I
> also have glibc for i686

You might enjoy better experience by compiling it locally, as you seems
to be using linux.


> 
> rpm -qa|grep glibc-2
> glibc-2.14.90-24.fc16.4.i686
> glibc-2.14.90-24.fc16.4.x86_64
> 
> I tried to run the first example from
> http://library.thinkquest.org/3285/tutorial/simple.html

> $ povray 1.pov
> povray: cannot open the user configuration file
> /home/rudra/.povray/3.6/povray.conf: No such file or directory

Not a problem, just a warning: you do not have a personal configuration,
so you will be using the system one instead.
(would you have one, the system one would be overloaded with your
setting when used by you).

You can create the missing directories & files if you want:

 $ mkdir -p $HOME/.povray/3.6
 $ touch $HOME/.povray/3.6/povray.conf



> Parsing Options
>   Input file: 1.pov (compatible to version 3.61)

>   Library paths:
>     /usr/local/share/povray-3.6
>     /usr/local/share/povray-3.6/ini
>     /usr/local/share/povray-3.6/include
> Output Options
>   Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
>   Output file: /home/rudra/povray/1.png, 24 bpp PNG

> Using 24 bit TrueColor visual
> Using default window background
> Mapping background image
> X error: BadMatch
> X error: BadGC

You need the 32 bit libraries for X11... in shared version.

 $ type povray
 $ ldd ......./povray
might give you the list of needed libraries.


> 
>   0:00:00 Rendering line 1 of 240
> X error: BadMatch
> X error: BadGC
> 

> The problem is, as it tells, no .povray directory  is generated. so no question
> of povray.conf. my 1.png is just a dark red circle.
> please suggest where I went wrong.
> 

Nothing wrong, the sphere is red and dark, at the center of the image,
it looks like a disc. (a circle is the boundary of a disc... )


Post a reply to this message

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