POV-Ray : Newsgroups : moray.win : Light sources in groups Server Time
29 Jul 2024 14:24:22 EDT (-0400)
  Light sources in groups (Message 1 to 6 of 6)  
From: Robert Crews
Subject: Light sources in groups
Date: 17 Jan 1999 02:53:36
Message: <36A19798.EBF08D8@worldnet.att.net>
Is there any way to include a light source in an object group?  When I
attempt to do so, the light source in the POV code is listed with the
rest of the scene lighting, not in the group it is inteded to be in.  Is
there a setting or something for this?

Robert


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Light sources in groups
Date: 17 Jan 1999 07:35:35
Message: <36a1d3f2.8607006@194.174.214.110>
Hi Robert Crews, you recently wrote in moray.win:

> Is there any way to include a light source in an object group?  
No, Moray always extracts the light source and lists them at the
beginning of the scene.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Simon de Vet
Subject: Re: Light sources in groups
Date: 17 Jan 1999 10:30:24
Message: <36A20266.F53603F3@istar.ca>
Lutz Kretzschmar wrote:

> Hi Robert Crews, you recently wrote in moray.win:
>
> > Is there any way to include a light source in an object group?
> No, Moray always extracts the light source and lists them at the
> beginning of the scene.

Awww.. that's a real shame.

I've made a ship with a lot of little warning lights. I can animate the
ship (having it rotate) but because of this little feature, the lights
stay stationary.

Maybe I'll just have to learn more about POV before I try this again. As
is, having it rotate is the pinnacle of my coding career :)

Simon
http://home.istar.ca/~sdevet


Post a reply to this message

From: Ken
Subject: Re: Light sources in groups
Date: 17 Jan 1999 11:35:14
Message: <36A210BC.EE9C9A33@pacbell.net>
Simon de Vet wrote:

> Lutz Kretzschmar wrote:
>
> > Hi Robert Crews, you recently wrote in moray.win:
> >
> > > Is there any way to include a light source in an object group?
> > No, Moray always extracts the light source and lists them at the
> > beginning of the scene.
>
> Awww.. that's a real shame.
>
> I've made a ship with a lot of little warning lights. I can animate the
> ship (having it rotate) but because of this little feature, the lights
> stay stationary.
>
> Maybe I'll just have to learn more about POV before I try this again. As
> is, having it rotate is the pinnacle of my coding career :)
>
> Simon
> http://home.istar.ca/~sdevet

You mean to tell me that you can make the images you do and you don't
know how to open pov to translate and rotate a few lights ?
It's time to learn the pov scripting language for sure.

I'm a Pov snob !

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Simon de Vet
Subject: Re: Light sources in groups
Date: 17 Jan 1999 17:23:22
Message: <36A26331.D41C3D2E@istar.ca>
Ken wrote:

> Simon de Vet wrote:
>
> > Lutz Kretzschmar wrote:
> >
> > > Hi Robert Crews, you recently wrote in moray.win:
> > >
> > > > Is there any way to include a light source in an object group?
> > > No, Moray always extracts the light source and lists them at the
> > > beginning of the scene.
> >
> > Awww.. that's a real shame.
> >
> > I've made a ship with a lot of little warning lights. I can animate the
> > ship (having it rotate) but because of this little feature, the lights
> > stay stationary.
> >
> > Maybe I'll just have to learn more about POV before I try this again. As
> > is, having it rotate is the pinnacle of my coding career :)
> >
> > Simon
> > http://home.istar.ca/~sdevet
>
> You mean to tell me that you can make the images you do and you don't
> know how to open pov to translate and rotate a few lights ?

No, I sure don't!

I can translate things, and I can rotate things, but I don't know how to deal
with the lights. Can you put them into the group in POV (I don't think so,
since POV has CSG, but not groups, and lights cannot work CSG)? Otherwise it
would require some math, or something different, and I don't know what to do.

Perhaps it would be easier to just keep the object and lights stationary, and
rotate the camera around it. I tihnk I know how to do this, with a little
trig.

Any help? :)

Simon
http://home.istar.ca/~sdevet


Post a reply to this message

From: Nathan Kopp
Subject: Re: Light sources in groups
Date: 17 Jan 1999 23:22:05
Message: <36A2B794.26982074@Kopp.com>
Simon de Vet wrote:
> 
> Ken wrote:
> >
> > You mean to tell me that you can make the images you do and you don't
> > know how to open pov to translate and rotate a few lights ?
> 
> No, I sure don't!
> 

Just find the light's declaration and add the same translations/rotations
to it that you added to the CSG for your ship.

-Nathan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.