POV-Ray : Newsgroups : povray.unix : MDK 8.2 & POV3.5 Server Time
28 Jul 2024 14:30:23 EDT (-0400)
  MDK 8.2 & POV3.5 (Message 1 to 8 of 8)  
From: paul
Subject: MDK 8.2 & POV3.5
Date: 12 May 2002 20:11:46
Message: <3CDF04AC.6070906@psu.edu>
Hi folks, I am happy  to finally be able to actually write to this 
group, I am a Linux Convert! (from windows 2000, which is still on my 
drive, but used only bu my wife :-)

Anyway, I have used pov for windows for eons. I just downloaded the new 
beta (RC4 I think) for linux and can't get the d%mn thing to work!

After extractin the tar, I installed it "./install", as su. This put it 
in /usr/local/lib/povray-3.4.99.4

Then added the environment variable 
"POVINI=/usr/local/lib/povray-3.4.99.4/" to /etc/profile (for BASH)

then added the line
"Library_Path=/usr/local/lib/povray-3.4.99.4/include" to povray.ini.

Having done all this, nothing renders, well, nothing that relies on an 
include file. So POV is not seeing the include files, what else do I 
need to do?


thanks

paul


Post a reply to this message

From: Ken Cecka
Subject: Re: MDK 8.2 & POV3.5
Date: 12 May 2002 21:03:51
Message: <3cdf10f7@news.povray.org>
Well,  it's not a real solution, but I've just been adding 
+L/usr/local/lib/povray-3.4.99.2/include/ to my command-line which solves 
the problem :)  Haven't dug into how to do this correctly yet though with 
.povrayrc or something like that.

Ken

paul wrote:

> Hi folks, I am happy  to finally be able to actually write to this
> group, I am a Linux Convert! (from windows 2000, which is still on my
> drive, but used only bu my wife :-)
> 
> Anyway, I have used pov for windows for eons. I just downloaded the new
> beta (RC4 I think) for linux and can't get the d%mn thing to work!
> 
> After extractin the tar, I installed it "./install", as su. This put it
> in /usr/local/lib/povray-3.4.99.4
> 
> Then added the environment variable
> "POVINI=/usr/local/lib/povray-3.4.99.4/" to /etc/profile (for BASH)
> 
> then added the line
> "Library_Path=/usr/local/lib/povray-3.4.99.4/include" to povray.ini.
> 
> Having done all this, nothing renders, well, nothing that relies on an
> include file. So POV is not seeing the include files, what else do I
> need to do?
> 
> 
> thanks
> 
> paul


Post a reply to this message

From: paul
Subject: Re: MDK 8.2 & POV3.5
Date: 12 May 2002 23:22:21
Message: <3CDF3156.4070805@psu.edu>
Thanks Ken,

That works great. I guess I am not smart enough yet to figure out how to
get povray.ini working :-)

Could anyone explain to me how to get povray.ini and .povrayrc etc all 
working together?

Please forgive my questions, I haven't used a command line since 1991!

-paul



Ken Cecka wrote:
 > Well,  it's not a real solution, but I've just been adding
 > +L/usr/local/lib/povray-3.4.99.2/include/ to my command-line which 
solves
 > the problem :)  Haven't dug into how to do this correctly yet though 
with
 > .povrayrc or something like that.
 >
 > Ken
 >
 > paul wrote:
 >
 >
 >>Hi folks, I am happy  to finally be able to actually write to this
 >>group, I am a Linux Convert! (from windows 2000, which is still on my
 >>drive, but used only bu my wife :-)
 >>
 >>Anyway, I have used pov for windows for eons. I just downloaded the new
 >>beta (RC4 I think) for linux and can't get the d%mn thing to work!
 >>
 >>After extractin the tar, I installed it "./install", as su. This put it
 >>in /usr/local/lib/povray-3.4.99.4
 >>
 >>Then added the environment variable
 >>"POVINI=/usr/local/lib/povray-3.4.99.4/" to /etc/profile (for BASH)
 >>
 >>then added the line
 >>"Library_Path=/usr/local/lib/povray-3.4.99.4/include" to povray.ini.
 >>
 >>Having done all this, nothing renders, well, nothing that relies on an
 >>include file. So POV is not seeing the include files, what else do I
 >>need to do?
 >>
 >>
 >>thanks
 >>
 >>paul
 >>
 >


Post a reply to this message

From: Thomas Willhalm
Subject: Re: MDK 8.2 & POV3.5
Date: 13 May 2002 02:05:12
Message: <3cdf5798@news.povray.org>
Paul,

> Then added the environment variable
> "POVINI=/usr/local/lib/povray-3.4.99.4/" to /etc/profile (for BASH)

POVINI should point to the defaults ini-file, not to a directory.

> then added the line
> "Library_Path=/usr/local/lib/povray-3.4.99.4/include" to povray.ini.

This should be fine, so probably povray doesn't find povray.ini.

What I do is to put a povray.ini in the current directory where I run 
povray. So, I don't have to change any system files (and rechange them the 
next time I upgrade the system).

Happy tracing
Thomas


Post a reply to this message

From: Felix Wiemann
Subject: Re: MDK 8.2 & POV3.5
Date: 13 May 2002 08:56:02
Message: <3cdfb7e2@news.povray.org>
paul wrote:
> [problem with library path]

OK, my suggestions:
Let POVINI point to the file itself (as Thomas said).
Put a linefeed behind the last line of povray.ini.
Don't use povray-3.4.99.4 but povray35. It expects to find povray.ini 
there, so it might be much easier to just rename the directory than to 
set environment variables.
-- 
Felix Wiemann


Post a reply to this message

From: Steve
Subject: Re: MDK 8.2 & POV3.5
Date: 13 May 2002 18:44:31
Message: <slrnae0d25.ck6.steve@zeropps.org.uk>
On Sun, 12 May 2002 23:21:58 -0400, paul wrote:
> Thanks Ken,
> 
> That works great. I guess I am not smart enough yet to figure out how to
> get povray.ini working :-)
> 
> Could anyone explain to me how to get povray.ini and .povrayrc etc all 
> working together?
> 
> Please forgive my questions, I haven't used a command line since 1991!

I don't know anything about povray.ini, but I have .povrayrc in my home
directory and use that the way I would use a povray.ini file in windows.

I don't have to do anything special on the command line to use include
files, in .povrayrc I have:

Library_Path=/usr/local/lib/povray31                    ;; (+Ldir)
Library_Path=/usr/local/lib/povray31/include
Library_Path=/usr/local/lib/povray-3.4.99.2/include/
Library_Path=/home/sjlen/pov/

-- 
sphere{z*5,1pigment{rgb.5}finish{reflection.3specular.5}}box{<-50,-3,-50>
<50,-2,50>pigment{checker/*\__\\__/  * \_\\__*/scale 2}finish{ambient.7}}
light_source/*__\\__\\__\\__\\__\(    ~ )\__\\__\\__\\__\\*/{<2,5,1>*4,1} 
/*\\__\\__\\__\\__\\__\\__\\__\\__\~  -/__\\__\\__\\__\\__\\*//* Steve */


Post a reply to this message

From: jgentry
Subject: Re: MDK 8.2 & POV3.5
Date: 14 May 2002 13:17:33
Message: <3ce146ad$1@news.povray.org>
paul wrote:
> Thanks Ken,
> 
> That works great. I guess I am not smart enough yet to figure out how to
> get povray.ini working :-)
> 
> Could anyone explain to me how to get povray.ini and .povrayrc etc all 
> working together?
> 
> Please forgive my questions, I haven't used a command line since 1991!
> 
> -paul
> 
> 
> 

Paul,

The .povrayrc file in your home directory *is* your povray.ini file.  It 
is the first file that povray looks for to sort out what it's supposed 
to do (for lack of a better way to put it).

To get povray working, simply install as you did, copy the povray.ini 
file included in the installation to your home directory as .povrayrc,


[yoursys@localhost povray35]$ mv povray.ini ~/.povrayrc


and edit the new .povrayrc file to your specifications.

I don't know about setting all the environments as you have been.  I've 
never done it and things have worked well for me.

Here's what my .povrayrc file looks like for RC4:

+FN
+O/home/jgentry/povfiles/
+P
+A0.3
+L/usr/local/lib/povray-3.4.99.4
+L/usr/local/lib/povray-3.4.99.4/include
+L/home/jgentry/povfiles/include
+L/home/jgentry/povfiles

Everything above these lines are stock from the original povray.ini file.

Good luck and good tracing.  I hope you're better at it than I am! :-)

--Jeff


Post a reply to this message

From: Paul Jones
Subject: Re: MDK 8.2 & POV3.5
Date: 15 May 2002 08:30:15
Message: <3ce254d7$1@news.povray.org>
Thanks everyone, I have finally gotten POV to work really well!! The trick
was using the .povrayrc file in my home directory.
thanks again!

-paul


Post a reply to this message

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