Subject:
|
Re: Light is too bright!
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sun, 25 Mar 2007 22:35:18 GMT
|
Viewed:
|
7941 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad.ray, Timothy Gould wrote:
> 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
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, but I don't think it's impossible.
Thanks!
/Tore
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Light is too bright! [DAT]
|
| (...) 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 (...) (17 years ago, 25-Mar-07, to lugnet.cad.ray)
|
17 Messages in This Thread: ![Light is too bright! -Tore Eriksson (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: Light is too bright! -Tore Eriksson (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: Light is too bright! -Anders Isaksson (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: Light is too bright! -Tore Eriksson (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: Light is too bright! -Timothy Gould (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Light is too bright! -Travis Cobbs (25-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: Light is too bright! -Tore Eriksson (25-Mar-07 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Light is too bright! -Anders Isaksson (26-Mar-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Tore Eriksson (15-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Anders Isaksson (15-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Tore Eriksson (15-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Tore Eriksson (16-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Anders Isaksson (16-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Tore Eriksson (16-Oct-07 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: New POV-dat: 3062bL46.dat - Brick 1 x 1 Round Yellow with POV Light -Daniel Collis (6-Feb-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![DatShine v2.01 - First Windows Version -Tore Eriksson (14-May-11 to lugnet.cad.ray)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|