To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1728
1727  |  1729
Subject: 
Problem with LGEO
Newsgroups: 
lugnet.cad.ray
Date: 
Fri, 7 Mar 2003 16:12:54 GMT
Viewed: 
4006 times
  
Hello everyone.  I have been trying to render mocs with
L3P Add-On version 1.3.8 and POV-Ray version 3.5 but every time
I check the "use LGEO library" field and run the render I get the
following error in POV-Ray:

parse error: cannot open include file lg_defs.inc

I have told L3P Add-on where the files are and the file in question is
were it should be.
here is the part were POV-Ray fails:

// Generated by L3P v1.3 20010120  (C) 1998-2001 Lars C. Hassing
lch@ccieurope.com
// WWW: http://home16.inet.tele.dk/hassing/l3p.html
// WWW: http://www.ldraw.org/download/software/l3p
// Date: Wed Feb 26 07:49:59 2003
// Input file: E:\PA003\pa003.dat
// ModelDir: E:\PA003\
// LDRAWDIR: d:\apps\LDRAW\LDRAW
// LGEODIR: d:\apps\lgeo
// Commandline: d:\apps\l3p\L3P.exe E:\PA003\pa003.dat E:\PA003 -cg0,50,0
-ld -b1.000,1.000,1.000 -bu -sw0.5 -q3 -lgeo -o


#declare QUAL = 3;  // Quality level, 0=BBox, 1=no refr, 2=normal, 3=studlogo

#declare SW = 0.5;  // Width of seam between two bricks

#declare STUDS = 1;  // 1=on 0=off

#declare BUMPS = 1;  // 1=on 0=off


#declare BUMPNORMAL = normal { bumps 0.01 scale 20 }
#declare AMB = 0.4;
#declare DIF = 0.4;


#declare O7071 = sqrt(0.5);

#declare L3Logo = union {
sphere {<-59,0,-96>,6}
cylinder {<-59,0,-96>,<59,0,-122>,6 open}
sphere {<59,0,-122>,6}
cylinder {<59,0,-122>,<59,0,-84>,6 open}
sphere {<59,0,-84>,6}

sphere {<-59,0,-36>,6}
cylinder {<-59,0,-36>,<-59,0,1>,6 open}
sphere {<-59,0,1>,6}
cylinder {<0,0,-49>,<0,0,-25>,6 open}
sphere {<0,0,-25>,6}
sphere {<59,0,-62>,6}
cylinder {<59,0,-62>,<59,0,-24>,6 open}
sphere {<59,0,-24>,6}
cylinder {<-59,0,-36>,<59,0,-62>,6 open}

sphere {<-35.95,0,57>,6}
torus {18.45,6 clipped_by{plane{<40,0,-9>,0}} translate<-40,0,39>}
cylinder {<-44.05,0,21>,<35.95,0,3>,6 open}
torus {18.45,6 clipped_by{plane{<-40,0,9>,0}} translate<40,0,21>}
cylinder {<44.05,0,39>,<0,0,49>,6 open}
sphere {<0,0,49>,6}
cylinder {<0,0,49>,<0,0,34>,6 open}
sphere {<0,0,34>,6}

torus {18.45,6 clipped_by{plane{<40,0,-9>,0}} translate<-40,0,99>}
cylinder {<-44.05,0,81>,<35.95,0,63>,6 open}
torus {18.45,6 clipped_by{plane{<-40,0,9>,0}} translate<40,0,81>}
cylinder {<44.05,0,99>,<-35.95,0,117>,6 open}

scale 4.5/128
}


#if (version >= 3.1) #local L3_Temp_Vers = version; #version 3.0; #end //
Avoid most warnings from LGEO
#include "lg_defs.inc"

Can somebody help?
Thanks in advance.



Message has 1 Reply:
  Re: Problem with LGEO
 
(...) You must also tell PovRay where to find the LGEO parts, see (URL) (22 years ago, 7-Mar-03, to lugnet.cad.ray)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR