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 / 2680
2679  |  2681
Subject: 
Re: Bugs in rad_def.inc
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 3 Aug 2006 05:24:40 GMT
Viewed: 
7293 times
  
There are more then one issue with the files and code specified in the tutorial. I found them all, so here is the required fixes to make them work.

Step 1.) Assuming you have downloaded the proper files: Begin by opening the POV-Ray master ini file from the edit master POVRAY.ini option from the tools menu in POV-Ray. Place the tag:

Library_Path="drive:\whatever the path is\lg_colors"

You should now have the following tags in the ini file

Library_Path="drive:\whatever the path is\LGEO"

Library_Path="drive:\whatever the path is\lg_colors"


Step 2.) To use the new colors find the two #include tags for LGEO library which are defs. and color. add a “s” to the color one to make it “colors.inc.” Save the file and render away using the new color definitions. It any errors occur see step 3.

Step 3.) **Ignore if everything works fine.** If the colors ini causes an error that says “unable to open the first color inc file”, it is because the formatting in the file got screwed up and needs fixing. It may be as simple as removing some duplicate “#includes”

Also if the Radiosity lighting command string causes an error on this line: Rad Settings(LDRAW RAD LEVEL, LDRAW RAD NORMAL, LDRAW RAD MEDIA), it is because of a formatting that split of some of the defs. It is another easy fix.

I hope this helps anyone who has problems following the tutorial.

Jeffrey Jarvis



Message has 2 Replies:
  Re: Bugs in rad_def.inc
 
(...) details removed (...) Thanks everyone for pointing these out. I will update this info on the BrickJournal web site as well so other people don't run into the same problem. As for the copy through Notepad, I have done that so long that I take (...) (18 years ago, 3-Aug-06, to lugnet.cad.ray, FTX)
  Re: Bugs in rad_def.inc
 
Thanks a bunch Jeffrey It seemed like anohter one of those offending type " 's had snuck into my povray.ini-file, thanks for making me check again, everything is working now!!! Cheers NB (18 years ago, 9-Aug-06, to lugnet.cad.ray, FTX)

Message is in Reply To:
  Bugs in rad_def.inc
 
I'm trying to follow Koyan's rendering-tutorial in the Brickjournal 4: Been slowly progressing through the multiple downloads necessary, both those that were mentioned in the text (Todd's colours) and those who weren't (they're hidden here if you (...) (18 years ago, 2-Aug-06, to lugnet.cad.ray)

13 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