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 / 1841
1840  |  1842
Subject: 
Re: Can anyone help by suggesting some lighting tips?
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 26 Jun 2003 20:03:31 GMT
Viewed: 
1631 times
  
In lugnet.cad.ray, Orion Pobursky wrote:
   In lugnet.cad.ray, Allan Bedford wrote: snip
  
   copy and paste it to the beginning of the color defs in your pov file

Here’s where I’m getting confused. Do you mean copy the file name into the .pov file? Would that then become an include statement at the beginning of the file?

   and rename it to the color you are replaceing

Again, I’m not sure what is meant here. Do you mean to rename the file? Or rename the file reference within the .pov file? Or am I completely off track? :)


I found a much easier way to include these colors

Add the following lines after the radiosity include statement. If you don’t add them after the radiosity include, the colors will be overrriden by the rad color file.
#include "<LUGNET Color>.inc"
#declare <L3PColor> = material{ texture{ <LUGNET Color> } }
Where:

<LUGNET Color>
is the name of the LUGNET Color you want to use


<L3PColor>
is the name of the L3P color decalre you want to override. Typically this is in the form of ”Color” + Ldraw Color Number

Note the the above declares are case sensitive

If you have any more question, please ask.

--Orion

Ok,

I quickly whipped up an include file for all the LDraw colors in the LUGNET Color Guide library.

Find it here: http://ldraw.pobursky.com

under the Program Addins Section. It’s down at the bottom.



Message has 2 Replies:
  Re: Can anyone help by suggesting some lighting tips?
 
(...) Ah, O.K. I think I see how this works. You're effectively telling POV-RAY, "here's a color file I want you to use. Now, here's what color you should assign that file to. In other words, when I say RED from now on, I want you to use that LUGNET (...) (21 years ago, 26-Jun-03, to lugnet.cad.ray, FTX)
  Re: Can anyone help by suggesting some lighting tips?
 
(...) On your site, you mention the following: The declaration of this file should be made just before the color declares in you POV model file. Based on previous suggestions, I'm now using radio-1.inc for the radiosity settings etc. It includes an (...) (21 years ago, 26-Jun-03, to lugnet.cad.ray, FTX)

Message is in Reply To:
  Re: Can anyone help by suggesting some lighting tips?
 
In lugnet.cad.ray, Allan Bedford wrote: <snip> (...) I found a much easier way to include these colors Add the following lines after the radiosity include statement. If you don't add them after the radiosity include, the colors will be overrriden by (...) (21 years ago, 26-Jun-03, to lugnet.cad.ray, FTX)

33 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