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 / 1748
1747  |  1749
Subject: 
Re: Problem with LGEO
Newsgroups: 
lugnet.cad.ray
Date: 
Sun, 9 Mar 2003 23:28:26 GMT
Viewed: 
4338 times
  
In lugnet.cad.ray, Orion Pobursky writes:
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.

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
   #version 3.5;
after line 9 "#declare Colors_Inc_Temp = version;"

See also http://news.lugnet.com/cad/ray/?n=1421
/Lars



Message has 1 Reply:
  Re: Problem with LGEO
 
(...) Great stuff Lars! Works like a charm. Thank a mill. (22 years ago, 10-Mar-03, to lugnet.cad.ray)

Message is in Reply To:
  Re: Problem with LGEO
 
(...) 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 (...) (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