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 / 1733
1732  |  1734
Subject: 
Re: Problem with LGEO
Newsgroups: 
lugnet.cad.ray
Date: 
Fri, 7 Mar 2003 21:44:25 GMT
Viewed: 
4289 times
  
In lugnet.cad.ray, David Rabadan writes:
In lugnet.cad.ray, Lars C. Hassing writes:
In lugnet.cad.ray, David Rabadan writes:
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:


You must also tell PovRay where to find the LGEO parts,
see http://www.hassings.dk/l3/l3p.html#lgeo3
/Lars

Hey thanks Lars, I got a little further this time.  Now I get this:
Macros require #version 3.1 or later but #version 3.00 is set.

// Takes Hue value as input, returns RGB vector.
#macro CH2RGB (H)

and it stops there.

Find this line:
#if (version >= 3.1) #local L3_Temp_Vers = version; #version 3.0; #end //
Avoid most warnings from LGEO

and change it to this:
#if (version >= 3.1) #local L3_Temp_Vers = version; #version 3.1; #end //
Avoid most warnings from LGEO

You'll get some warnings from POV but it should still render the scene.

-Orion



Message has 2 Replies:
  Re: Problem with LGEO
 
(...) Thanks Orion, that did it. And thanks again to Lars. Take care. (22 years ago, 9-Mar-03, to lugnet.cad.ray)
  Re: Problem with LGEO
 
(...) This fix is like wetting your pants; you'll have the same problem with the next POV file. The correct solution is to fix the PovRay include file colors.inc (probably C:\Program Files\POV-Ray for Windows v3.5\include\colors.inc) by inserting (...) (22 years ago, 9-Mar-03, to lugnet.cad.ray)

Message is in Reply To:
  Re: Problem with LGEO
 
(...) Hey thanks Lars, I got a little further this time. Now I get this: Macros require #version 3.1 or later but #version 3.00 is set. // Takes Hue value as input, returns RGB vector. #macro CH2RGB (H) and it stops there. (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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