POV-Ray : Newsgroups : povray.unix : Linked pov files Server Time
8 Jul 2024 19:44:21 EDT (-0400)
  Linked pov files (Message 1 to 10 of 10)  
From: nelson sandalwood
Subject: Linked pov files
Date: 30 Sep 2002 17:33:46
Message: <3d98c33a@news.povray.org>
hi, I am having a problem with running povray from a seconf pc via nfs.

I have linked my /usr/lb/povray-3.5 from one machine to the actuall
directory on the other machine, and done the same for the directory that
I am workingfrom,

So from a terminal I can do "less /usr/local/Rendering/some_pov_files" on
both machines and it works/.

same for the /usr/lib/includes.

yet running povray from the lnked machine it tells me it cant open any
include files like colors.inc etc.

Yet as the user i can read them but povray cant

Any clues?


-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

From: Le Forgeron
Subject: Re: Linked pov files
Date: 1 Oct 2002 03:04:10
Message: <3D9948EA.8030607@free.fr>
nelson sandalwood wrote:

> hi, I am having a problem with running povray from a seconf pc via nfs.
> 
> I have linked my /usr/lb/povray-3.5 from one machine to the actuall
> directory on the other machine, and done the same for the directory that
> I am workingfrom,
> 
> So from a terminal I can do "less /usr/local/Rendering/some_pov_files" on
> both machines and it works/.
> 
> same for the /usr/lib/includes.
> 
> yet running povray from the lnked machine it tells me it cant open any
> include files like colors.inc etc.
> 
> Yet as the user i can read them but povray cant
> 
> Any clues?


Yes, what does your local ~/.povrayrc gives as library path ?


Post a reply to this message

From: nelson sandalwood
Subject: Re: Linked pov files
Date: 1 Oct 2002 04:03:26
Message: <3d9956ce$1@news.povray.org>
On Tue, 01 Oct 2002 19:04:10 +1200, Le Forgeron wrote:

 
> Yes, what does your local ~/.povrayrc gives as library path ?
 

it list /usr/lib/povray-3.5 and /usr/lib/povray-3.5/includes

This is the same on both machines,

/usr/lib/povray-3.5 on one machine is a link via nfs to the
/usr/lib/povray-3.5 on theother machine.  Readble as normal users.

-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

From: Steve
Subject: Re: Linked pov files
Date: 2 Oct 2002 06:18:12
Message: <slrnaplgoq.s5.steve@zeropps.org.uk>
On Tue, 01 Oct 2002 20:06:34 +1200, nelson sandalwood wrote:
 
> it list /usr/lib/povray-3.5 and /usr/lib/povray-3.5/includes
> 
> This is the same on both machines,
> 
> /usr/lib/povray-3.5 on one machine is a link via nfs to the
> /usr/lib/povray-3.5 on theother machine.  Readble as normal users.
> 

What happens if you try rendering a short scene that dowsn't require
include files?

camera{
       location <0,0,-13>
       look_at <0,0,0>
      }
       
box{
    <-1,-1,-1>,<1,1,1>
    pigment{color rgb <1,0.5,0.5>}
    rotate<45,45,45>
    translate x*-5
   }

sphere{0,1
       translate x*4  
       pigment{color rgb <0.5,1,1>}
      }

light_source{<-40,30,-30>,1}
light_source{<40,-10,-10>,1}


-- 
%HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
Steve                                web http://www.zeropps.uklinux.net/
                                             or http://start.at/zero-pps
 10:45am  up 96 days, 21:11,  2 users,  load average: 1.02, 1.01, 1.00


Post a reply to this message

From: nelson sandalwood
Subject: Re: Linked pov files
Date: 2 Oct 2002 16:15:44
Message: <3d9b53f0@news.povray.org>
On Wed, 02 Oct 2002 22:18:12 +1200, Steve wrote:

> What happens if you try rendering a short scene that dowsn't require
> include files?

Works fine, (your example had a few extra '}' in it for some reason)


 

-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

From: Steve
Subject: Re: Linked pov files
Date: 3 Oct 2002 05:25:59
Message: <slrnapo37q.3uv.steve@zeropps.org.uk>
On Thu, 03 Oct 2002 08:18:54 +1200, nelson sandalwood wrote:
> On Wed, 02 Oct 2002 22:18:12 +1200, Steve wrote:
> 
>> What happens if you try rendering a short scene that dowsn't require
>> include files?
> 
> Works fine, (your example had a few extra '}' in it for some reason)

Strange did you post it into an old scene or create a new POV file?

If it now renders fine without include files then I'd suggest that you
have a permission problem with the include files, make those directories
and files world readable. 

Beware I had an include problem that looked like something different but 
it turned out that I had entries like:

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

When I commented out the 3.1 library paths then the problem went away. 
This issue is probably addressed in the docs I had't got as far as 
checking when I found the solution. 

-- 
%HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
Steve                                web http://www.zeropps.uklinux.net/
                                             or http://start.at/zero-pps
 10:19am  up 97 days, 20:46,  2 users,  load average: 1.20, 1.25, 1.12


Post a reply to this message

From: nelson sandalwood
Subject: Re: Linked pov files
Date: 3 Oct 2002 15:42:49
Message: <3d9c9db9$1@news.povray.org>
On Thu, 03 Oct 2002 21:25:59 +1200, Steve wrote:

> Strange did you post it into an old scene or create a new POV file?

A new file.

> If it now renders fine without include files then I'd suggest that you
> have a permission problem with the include files, make those directories
> and files world readable.

Yes, I had thought that but Ican do less
/usr/lib/povray-3.5/include/colors.inc without a problem.
 

> When I commented out the 3.1 library paths then the problem went away.
> This issue is probably addressed in the docs I had't got as far as
> checking when I found the solution.
 
Yes. Iencountered that problem on the main machine some time ago.  What I
am trying to do isget a basic two machine render farm (or farmlet I guess
;-) goingwithout needing to copy changes to each machine but I can'teven
get a second one going. Sad.

-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

From: nelson sandalwood
Subject: Re: Linked pov files
Date: 3 Oct 2002 15:48:01
Message: <3d9c9ef1@news.povray.org>
On Thu, 03 Oct 2002 21:25:59 +1200, Steve wrote:

Ok, I can makeit workby doing +L/usr/lib/povray-3.5/include

Why wontit read the ini file commands on one machine but it will on the
other. They are the same file. not just copies. 
 

-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

From: Steve
Subject: Re: Linked pov files
Date: 3 Oct 2002 18:08:32
Message: <slrnappfnu.59p.steve@zeropps.org.uk>
On Fri, 04 Oct 2002 07:51:18 +1200, nelson sandalwood wrote:
> On Thu, 03 Oct 2002 21:25:59 +1200, Steve wrote:
> 
> Ok, I can makeit workby doing +L/usr/lib/povray-3.5/include
> 
> Why wontit read the ini file commands on one machine but it will on the
> other. They are the same file. not just copies. 
>  

But when you're logged into a different machine your home directory is 
different so it'll be using a different .rc file try consolidating your
account so that you have one login and one home direcotry or a common
home directory.  

-- 
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: nelson sandalwood
Subject: Re: Linked pov files
Date: 3 Oct 2002 20:16:44
Message: <3d9cddec@news.povray.org>
On Fri, 04 Oct 2002 10:08:32 +1200, Steve wrote:

  
> But when you're logged into a different machine your home directory is
> different so it'll be using a different .rc file try consolidating your
> account so that you have one login and one home direcotry or a common
> home directory.
 

I have taken care of that, they are different users, but useing identical
rc files.

I am worndering if it's something about povray not following links maybe?

I removed the /usr/lib/povray-3.5 link (that linked tothe same
ontheoriginal machine via nfs) and straight copied the directory over.
Now it works.  What I wantto do is save having multiple copies of files,
that way I know each machineis rendering from the same data.  While it
works with my own files one day I imagine there will be a change to the
standard includes andI'll have toremeber to copy them to each machine.

-- 
 
 *   nelson sandalwood
 *   -----------------
 *       zoism.org


Post a reply to this message

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