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 / 2760
2759  |  2761
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Light is too bright!
Newsgroups: 
lugnet.cad.ray
Date: 
Sun, 25 Mar 2007 21:51:04 GMT
Viewed: 
15110 times
  
In lugnet.cad.ray, Tore Eriksson wrote:
> In lugnet.cad.ray, Anders Isaksson wrote:
> > Tore Eriksson wrote:
> > > > 
> > > > Is there a way to make the red tail-lights shine a little less
> > > > brightly?
> > > http://web.telia.com/~u66203131/LDA/@spf5050.jpg
> > 
> > The easiest way to fix that is to modify the light sources in the .pov code.
> > They should probably be less bright, you can multiply the whole RGB triple
> > by a constant less than 1:
> > 
> > ... 0.4 * <r, g, b>
> > 
> > It would also help changing the 'fade_distance' and 'fade_power' to make
> > them not shine so far.
> > 
> > Or you could change them to 'spotlight' and adjust the 'falloff' value
> > instead. I think that's what I would do.
> 
> Thank you, Anders, I think that should do it. But the thing is, in LDA I try to
> do everything before running it all trough L3P. Adding post-processing to the
> steps already involved in LDA is not very appealing to me. And after the most
> unfortunate ban of inline POV code in official LDraw parts, I almost haven't
> touched any POV code by hand. Let's see if I can create a number of light
> objects with inline POV code - or maybe let LDA create them inside the LDraw
> frame files! At least I have some options to experiment with (instead of
> sleeping tonight...).
> 
> Thanks, Anders
> /Tore

Hi Tore,

Try something like the following

Tim

------- SOFLIGHT.DAT -------

0 Soft Pov-RAY Light Source
0 Name: SOFLIGHT.DAT
0 Author: Tim Gould based on work by James Jessiman
0 Unofficial part

0 L3P IFPOV
0 light_source { <0,0,0> color rgb <1,1,1>*0.4 }
0 L3P ELSEPOV
2 24 0 4 0 0 1 0
2 24 4 0 0 1 0 0
2 24 0 0 4 0 0 1
2 24 0 -4 0 0 -1 0
2 24 -4 0 0 -1 0 0
2 24 0 0 -4 0 0 -1
0 L3P ENDPOV
0



Message has 1 Reply:
  Re: Light is too bright!
 
(...) I just did before I read your post! (Just called it test.dat instead...) And it really works, the problem is POV will not inline the light into the position of SOFLIGHT.DAT but rather <0,0,0> of the POV world. This makes it more complicated, (...) (20 years ago, 25-Mar-07, to lugnet.cad.ray)

Message is in Reply To:
  Re: Light is too bright!
 
(...) Thank you, Anders, I think that should do it. But the thing is, in LDA I try to do everything before running it all trough L3P. Adding post-processing to the steps already involved in LDA is not very appealing to me. And after the most (...) (20 years ago, 25-Mar-07, to lugnet.cad.ray)

17 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
    

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