![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Attached is both the render & the .pov file. My problem is that all
light in the scene (Besides the light from the sky, etc.) comes from
<0,0,0>. Hopefully, someone can take a gander at the code & the image
and tell me where I messed up.
Post a reply to this message
Attachments:
Download 'cornell-mansion.jpg' (141 KB)
Download 'us-ascii' (11 KB)
Preview of image 'cornell-mansion.jpg'
![cornell-mansion.jpg](/povray.binaries.images/attachment/%3C3D9DF3CB.9060205%40yahoo.com%3E/cornell-mansion.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi,
I assume your problem is that you don't want the light to come from <0,0,0>
? If so, the reason is that you define your lightsources at origin and
translate the looks_like objects.
It should be the other way around.
So you define your lightsources where they're supposed to be, and keep your
looks_like objects at origin.. They will translate along with the
light_source.
Regards,
Hugo
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Looks like what happened is the scale .375 after each of the translates of
the looks_like shifted the chandelier object from where it ought to be.
Otherwise maybe this would have been okay, just the long way around of doing
it. Hugo is right, it can be better to define it all at the origin and move
from there.
"Hugo" <hua### [at] post3 tele dk> wrote in message
news:3d9df527$1@news.povray.org...
>
> If so, the reason is that you define your lightsources at origin and
> translate the looks_like objects.
>
> It should be the other way around.
>
> So you define your lightsources where they're supposed to be, and keep
your
> looks_like objects at origin.. They will translate along with the
> light_source.
This could sound confusing to some people but I know what is meant. Seems
Daniel tried setting the lights up by thinking ahead. If you use the origin
<0,0,0> for the light, as Hugo said, you can at least create the looks_like
beforehand based around that and then do scale, rotate, translate or any
workable combination of those. Not as easy to configure a looks_like object
for a placement that could end up being anywhere.
--
Farewell,
Bob
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"hughes, b." <omn### [at] charter net> wrote in message
news:3d9e5ee0$1@news.povray.org...
> Looks like what happened is the scale .375 after each of the translates of
> the looks_like shifted the chandelier object from where it ought to be.
> Otherwise maybe this would have been okay, just the long way around of
doing
> it. Hugo is right, it can be better to define it all at the origin and
move
> from there.
>
> "Hugo" <hua### [at] post3 tele dk> wrote in message
> news:3d9df527$1@news.povray.org...
> >
> > If so, the reason is that you define your lightsources at origin and
> > translate the looks_like objects.
> >
> > It should be the other way around.
> >
> > So you define your lightsources where they're supposed to be, and keep
> your
> > looks_like objects at origin.. They will translate along with the
> > light_source.
>
> This could sound confusing to some people but I know what is meant. Seems
> Daniel tried setting the lights up by thinking ahead. If you use the
origin
> <0,0,0> for the light, as Hugo said, you can at least create the
looks_like
> beforehand based around that and then do scale, rotate, translate or any
> workable combination of those. Not as easy to configure a looks_like
object
> for a placement that could end up being anywhere.
> --
> Farewell,
> Bob
>
>
Thanks-- it's much better now.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |