|
![](/i/fill.gif) |
On Thu, 22 May 2003 22:43:38 EDT, Loop wrote:
>
> Hi thanks for the reply
>
> I'm a complete novice at Linux so im sorry if i sound vague. I don't seem
> to be able to run Povray when i click on the icon, but when i try to open
> the file in Konsole it does something but ends up with the error message I
> said earlier. When i try to open another file by typing [povray
> whatever.pov] the same problem occurs. I've gone through the readme files
> and to the best of knowledge have done what they've said. The problem
> seems to be the .ini file. Sorry about the vagueness but this is the first
> thing i've tried to install on the machine.
> Hope this makes a it little clearer.
Are you running pov from a directory where you have write access?
Create a pov file in your home directory and call it steve.pov
and insert the following text
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve
then save the file in your home directory and then in an xterm or console
or whatever do:
povray steve.pov
Now if you're still getting that error message then there's something wrong
somewhere.
my .povryrc file contains:
Library_Path=/usr/local/lib/povray-3.5/include
;;Library_Path=/home/sjlen/pov
;;Library_Path=/home/sjlen/povincludes
;; Image size.
Width=800 ;; (+Wn)
Height=600 ;; (+Hn)
;; Partial trace of the image.
;; Values range from top left to bottom right.
;; Can use either 0.0 to 1.0 as fraction of height/width, or
;; whole numbers as rows and columns.
;Start_Row=0.1 ;; (+SR0.n / +SRn)
;End_Row=0.2 ;; (+ER0.n / +ERn)
;Start_Column=45 ;; (+SC0.n / +SCn)
;End_Column=90 ;; (+EC0.n / +ECn)
;; Test for trace abort. Use 'q' or 'Q' to abort if enabled. Not
;; really needed on Unix as you can always use the Interrupt signal.
Test_Abort=true ;; (+/-X)
Test_Abort_Count=100 ;; (+Xn)
;; Output quality. (Ray tracer actions).
;; 0-1 Quick colours. Full ambient lighting only.
;; 2-3 Quick colours. Diffuse and ambient lighting only.
;; 4 Quick colours. Render shadows. No extended lights.
;; 5 Quick colours. Render shadows including extended lights.
;; 6-7 Texture patterns.
;; 8 Reflected, refracted and transmitted rays.
;; 9 Compute media.
;; 10 Compute radiosity but no media.
;; 11 Compute radiosity and media.
Quality=9 ;; (+Qn)
;; Anti-aliasing controls.
Antialias=false ;; (+/-An)
;Sampling_Method=0.01
;; Display the image while tracing controls.
Display=true ;; (+/-D)
Pause_When_Done=false ;; (+/-P)
;; Internal animation loop control.
;; The 'clock' definition within the source changes from 0 to 1 for each
;; frame of the animation. If cyclic animation is enabled it steps from
;; 0 to a fraction below 1 (actually 1 - 1/Final_Frame).
;;Initial_Frame=1 ;; (+KFIn)
;;Final_Frame=24 ;; (+KFFn)
;;Cyclic_Animation=true ;; (+/-KC)
;; File output type control.
;; T Uncompressed Targa-24
;; C Compressed Targa-24
;; P UNIX PPM
;; N PNG (8-bits per colour RGB)
;; Nc PNG (``c'' bit per colour RGB where 5 <= c <= 16)
Output_to_File=true
Output_File_Type=P ;; (+/-Ftype)
;; Define the Gamma output responce of the monitor.
;; This is about correct for most Unix an PC monitors.
Display_Gamma=2.2 ;; (Not available as command line switch)
;;;;;;;;; End of .povrayrc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
This .povrayrc file is the Linux equivelant to the POVRAY.INI in windows as
far as I can remember, and the file is kept in my home directory. All .files
are hidden files so to see them in a console or xterm you need to use the -a
switch with ls, so to see all the files in your come directory do:
ls -a ~/
The "-a" means show all files, "ls" means "list files" and "~/" means home
directory. You can get to your home directory form anywhere on the system by
doing:
cd
That by itsself brings you to the home directory of the user who
you're logged in as.
I hope some of that helps.
--
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve
Post a reply to this message
|
![](/i/fill.gif) |