|
![](/i/fill.gif) |
Sorry about the file size, I'm still learning what to keep and what to throw
away. The Y axis inversion is a result of the ldraw standard, so anything I
make with the ldraw lego tools will be this way. Where was the
media{scattering } attribute added, to the antenna part or maybe the light
source?
Thanks
Kelly
Alain <ele### [at] netscape net> wrote:
> dksmall nous illumina en ce 2008-10-31 16:26 -->
> > I've looked over several posts about getting an sci-fi laser effect, but it's
> > just not working for me. Here's a stripped down version with just a few parts
> > in it. I can't get the light source to fill the neon green part. Eventually I
> > would add a cylinder to extend the beam out of the part if I can get this
> > working.
> >
> <code snipped>
> You could have provided a much simplified code using a pair of cylinders, and
> keep only the actual materials used.
>
> The cylinder light is actualy UNDER the element shown.
>
> Anyway, adding media{scattering{1, rgb 0.01}} made your beam very visible, after
> toning down the other lights a lot as this media fills the whole scene.
>
> What you can do, is to add a long cylinder extending your laser, fill it with
> some scettering media. You can also not use the light_source and instead use
> some emissive media with a cylindrical pattern where the actual coloration of
> the beam can change between a very bright center beam to a more diffuse fringe.
>
> By the way, can you tell me WHY you work with all negative Y values? The beam
> start at <10,-135,80>
> All your scene is upside down... the sky vector is -y
>
>
> --
> Alain
> -------------------------------------------------
> Hard work pays off in the future. Laziness pays off now.
Post a reply to this message
|
![](/i/fill.gif) |