Tomi Pieviläinen | 6 Mar 2012 11:17
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

> What's your Linux "flavor"?  Where did you install the lgeo files?

Ubuntu oneiric, and to ~/lgeo. I actually have the same problem on
windows 7 too.

> It might not all apply to you, but some time ago I wrote something
> about LeoCAD and PovRay on my blog:
> http://blog.nielshorn.net/2009/12/lego-pov-ray-on-linux/

Hm, seems like it doesn't use the leocad's povray export at all. I'll
try via l3p too. Thanks for the hint.

> Are you using the beta version of PovRay? It's *much* faster on
> newer machines, as it uses parallel processing on multi-core
> processors.

I just took the stable available on the distribution repos; 3.6.1.
I'll think about betas etc. once I get even a single render to work.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
(Continue reading)

Niels Horn | 6 Mar 2012 11:22
Picon
Gravatar

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 7:17 AM, Tomi Pieviläinen
<tomi.pievilainen+leocad@...> wrote:
>> What's your Linux "flavor"?  Where did you install the lgeo files?
>
> Ubuntu oneiric, and to ~/lgeo. I actually have the same problem on
> windows 7 too.
>
>> It might not all apply to you, but some time ago I wrote something
>> about LeoCAD and PovRay on my blog:
>> http://blog.nielshorn.net/2009/12/lego-pov-ray-on-linux/
>
> Hm, seems like it doesn't use the leocad's povray export at all. I'll
> try via l3p too. Thanks for the hint.
>
>> Are you using the beta version of PovRay? It's *much* faster on
>> newer machines, as it uses parallel processing on multi-core
>> processors.
>
> I just took the stable available on the distribution repos; 3.6.1.
> I'll think about betas etc. once I get even a single render to work.
>
> --
> Tomi Pieviläinen, +358 400 487 504

Yes, I use l3p, as I have used that for many, many years...

The "stable" version of PovRay is more like a "stale" version - it has
been out since 2004 I think :)
The "betas" receive an update about once a year.

(Continue reading)

Tomi Pieviläinen | 6 Mar 2012 11:30
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

> Keep me updated on your progress!

I tried a really simple scene with just three 5 long beams with two long pins, but l3p doesn't like it:

./l3p -o leocad/Untitled.ldr 
SKIPPING "/home/hukka/lego/ldraw/LDConfig.ldr" Line 276: Illegal color code: 0 !COLOUR Main_Colour                                          
CODE  16   VALUE #7F7F7F   EDGE #333333
SKIPPING "/home/hukka/lego/ldraw/LDConfig.ldr" Line 277: Illegal color code: 0 !COLOUR Edge_Colour                                          
CODE  24   VALUE #7F7F7F   EDGE #333333
Processing leocad/Untitled.ldr
Could not find 32316.dat Referenced by Untitled.ldr
Could not find 32556.dat Referenced by Untitled.ldr
Empty model.
L3P v1.4 BETA 20080930 (Linux i386)  (C) 1998-2008 Lars C. Hassing SP.lars <at> AM.hassings.dk
*** Abnormal termination.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Niels Horn | 6 Mar 2012 11:33
Picon
Gravatar

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 7:30 AM, Tomi Pieviläinen
<tomi.pievilainen+leocad@...> wrote:
>> Keep me updated on your progress!
>
> I tried a really simple scene with just three 5 long beams with two long pins, but l3p doesn't like it:
>
> ./l3p -o leocad/Untitled.ldr
> SKIPPING "/home/hukka/lego/ldraw/LDConfig.ldr" Line 276: Illegal color code: 0 !COLOUR Main_Colour
                                          CODE  16   VALUE #7F7F7F   EDGE #333333
> SKIPPING "/home/hukka/lego/ldraw/LDConfig.ldr" Line 277: Illegal color code: 0 !COLOUR Edge_Colour
                                          CODE  24   VALUE #7F7F7F   EDGE #333333
> Processing leocad/Untitled.ldr
> Could not find 32316.dat Referenced by Untitled.ldr
> Could not find 32556.dat Referenced by Untitled.ldr
> Empty model.
> L3P v1.4 BETA 20080930 (Linux i386)  (C) 1998-2008 Lars C. Hassing SP.lars@...
> *** Abnormal termination.
>
>
> --
> Tomi Pieviläinen, +358 400 487 504

hmmm... Did you install the LDRAW data files?
If so, where?

--
Niels Horn
Tomi Pieviläinen | 6 Mar 2012 11:36
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

> hmmm... Did you install the LDRAW data files?  If so, where?

$ find . -iname 32316.dat
./lego/ldraw/parts/32316.dat

$ echo $LDRAWDIR
/home/hukka/lego/ldraw/

I also tried setting the DIR to ldraw/parts, but that didn't help much. I still get:

$ ./l3p -o leocad/Untitled.ldr 
Processing leocad/Untitled.ldr
Could not find 32316.dat Referenced by Untitled.ldr
Could not find 32556.dat Referenced by Untitled.ldr
Empty model.
L3P v1.4 BETA 20080930 (Linux i386)  (C) 1998-2008 Lars C. Hassing SP.lars <at> AM.hassings.dk
*** Abnormal termination.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad

Gmane