POV-Ray : Newsgroups : povray.newusers : Invisible plane to shade objects Server Time
22 Dec 2024 21:24:41 EST (-0500)
  Invisible plane to shade objects (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: gregtom6
Subject: Invisible plane to shade objects
Date: 6 Apr 2011 14:10:00
Message: <web.4d9cabb55d1d79dcdca78c960@news.povray.org>
Hy everybody!

How can I create an invisible plane to shade objects? I need this, because
there's an another object, what have a lot of point lights, and their power are
too strong.


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Invisible plane to shade objects
Date: 6 Apr 2011 14:30:01
Message: <web.4d9cb04181a50bad81c811d20@news.povray.org>
"gregtom6" <gre### [at] freemailhu> wrote:
> Hy everybody!
>
> How can I create an invisible plane to shade objects? I need this, because
> there's an another object, what have a lot of point lights, and their power are
> too strong.

The following flags can be set in any objects individually or together:

no_image: object is not visible directly, but produces shadows and is visible in
reflections

no_reflection:  object is visible, but not in reflections

no_shadow: object does not produce a shadow


In your case it looks like you would want to add the no_image and no_reflection
flags to your plane.

See 3.4.9.7 & 3.4.9.9 of the docs for more info.

-tgq


Post a reply to this message

From: Alain
Subject: Re: Invisible plane to shade objects
Date: 6 Apr 2011 14:32:14
Message: <4d9cb1ae@news.povray.org>

> Hy everybody!
>
> How can I create an invisible plane to shade objects? I need this, because
> there's an another object, what have a lot of point lights, and their power are
> too strong.
>
>
>

How about reducing the power of your point_lights, or beter, combine 
them into one area_light? Good if they are aranged into a squarish, 
circular or spherical pattern.

The area_light would have the advantage of been faster, especialy if you 
use the adaptive feature.
Add circular to have it act as if it was a disk.
Also add orient to have it acts like a sperical light.

Anyway, you can add no_image to any object. The affected object will 
still cast shadows and be visible in reflection. If you also want it to 
eacape reflection, then also add no_reflection.



Alain


Post a reply to this message

From: Jim Holsenback
Subject: Re: Invisible plane to shade objects
Date: 6 Apr 2011 14:36:40
Message: <4d9cb2b8$1@news.povray.org>
On 04/06/2011 03:06 PM, gregtom6 wrote:
> Hy everybody!
>
> How can I create an invisible plane to shade objects? I need this, because
> there's an another object, what have a lot of point lights, and their power are
> too strong.
>
>
>
You can vary the see through properties of the plane (or any other 
object) with pigment identifiers ... rgbt or rgbf is what you should be 
looking for:

http://wiki.povray.org/content/Documentation:Reference_Section_2.1#Specifying_Colors

But maybe you don't need to shade with an object. You could vary the 
strength of the light source ...

http://wiki.povray.org/content/Documentation:Tutorial_Section_2.1#The_Light_Source

maybe fade distance might be helpful, but have a look at the entire 
tutorial just to get a feel for what's going on.


Post a reply to this message

From: gregtom6
Subject: Re: Invisible plane to shade objects
Date: 6 Apr 2011 15:25:00
Message: <web.4d9cbd9c81a50baddca78c960@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Hy everybody!
> >
> > How can I create an invisible plane to shade objects? I need this, because
> > there's an another object, what have a lot of point lights, and their power are
> > too strong.
> >
> >
> >
>
> How about reducing the power of your point_lights, or beter, combine
> them into one area_light? Good if they are aranged into a squarish,
> circular or spherical pattern.
>
> The area_light would have the advantage of been faster, especialy if you
> use the adaptive feature.
> Add circular to have it act as if it was a disk.
> Also add orient to have it acts like a sperical light.
>
> Anyway, you can add no_image to any object. The affected object will
> still cast shadows and be visible in reflection. If you also want it to
> eacape reflection, then also add no_reflection.
>
>
>
> Alain
The lightning object is a spaceship, and it has got a lot of point lights. If I
reduce the fade distance and/or fade power, that won't light the ship.
The lights are enough strong on the ship, but too strong, if an object is too
close to the ship.


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Invisible plane to shade objects
Date: 6 Apr 2011 17:30:40
Message: <4d9cdb80@news.povray.org>
gregtom6 wrote:

> The lightning object is a spaceship, and it has got a lot of point lights. If I
> reduce the fade distance and/or fade power, that won't light the ship.
> The lights are enough strong on the ship, but too strong, if an object is too
> close to the ship.

In case you want to render a realistic image, you can't have it both
ways. If you think it looks odd, then something may be wrong about other
setup. If there are lights directly on the ship they would not provide
much light to the hull, as the angle of incidence will be very small.
So if you think the ship should be bright, the hull itself needs to
be glowing (ambient/emissive) or you need an external light source
such as a star.


Post a reply to this message

From: gregtom6
Subject: Re: Invisible plane to shade objects
Date: 7 Apr 2011 08:35:01
Message: <web.4d9daee181a50bad692e56d30@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> gregtom6 wrote:
>
> > The lightning object is a spaceship, and it has got a lot of point lights. If I
> > reduce the fade distance and/or fade power, that won't light the ship.
> > The lights are enough strong on the ship, but too strong, if an object is too
> > close to the ship.
>
> In case you want to render a realistic image, you can't have it both
> ways. If you think it looks odd, then something may be wrong about other
> setup. If there are lights directly on the ship they would not provide
> much light to the hull, as the angle of incidence will be very small.
> So if you think the ship should be bright, the hull itself needs to
> be glowing (ambient/emissive) or you need an external light source
> such as a star.

No. I want only small light sources on the hull, to light small areas.
My ship has got a lot of small point lights, and it seems to be there're a lot
of lamps on the ship.


Post a reply to this message

From: gregtom6
Subject: Re: Invisible plane to shade objects
Date: 7 Apr 2011 13:45:01
Message: <web.4d9df7c481a50bad3ef509f10@news.povray.org>
"gregtom6" <gre### [at] freemailhu> wrote:
> Christian Froeschlin <chr### [at] chrfrde> wrote:
> > gregtom6 wrote:
> >
> > > The lightning object is a spaceship, and it has got a lot of point lights. If I
> > > reduce the fade distance and/or fade power, that won't light the ship.
> > > The lights are enough strong on the ship, but too strong, if an object is too
> > > close to the ship.
> >
> > In case you want to render a realistic image, you can't have it both
> > ways. If you think it looks odd, then something may be wrong about other
> > setup. If there are lights directly on the ship they would not provide
> > much light to the hull, as the angle of incidence will be very small.
> > So if you think the ship should be bright, the hull itself needs to
> > be glowing (ambient/emissive) or you need an external light source
> > such as a star.
>
> No. I want only small light sources on the hull, to light small areas.
> My ship has got a lot of small point lights, and it seems to be there're a lot
> of lamps on the ship.

Ok, I finally solved this problem. When I gave 0 value to fade distance, it went
wrong, but when I changed that to 1, it solved the problem:)


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Invisible plane to shade objects
Date: 7 Apr 2011 14:20:01
Message: <web.4d9dff5e81a50bad1218473e0@news.povray.org>
"gregtom6" <gre### [at] freemailhu> wrote:
> "gregtom6" <gre### [at] freemailhu> wrote:
> > Christian Froeschlin <chr### [at] chrfrde> wrote:
> > > gregtom6 wrote:
> > >
> > > > The lightning object is a spaceship, and it has got a lot of point lights. If
I
> > > > reduce the fade distance and/or fade power, that won't light the ship.
> > > > The lights are enough strong on the ship, but too strong, if an object is too
> > > > close to the ship.
> > >
> > > In case you want to render a realistic image, you can't have it both
> > > ways. If you think it looks odd, then something may be wrong about other
> > > setup. If there are lights directly on the ship they would not provide
> > > much light to the hull, as the angle of incidence will be very small.
> > > So if you think the ship should be bright, the hull itself needs to
> > > be glowing (ambient/emissive) or you need an external light source
> > > such as a star.
> >
> > No. I want only small light sources on the hull, to light small areas.
> > My ship has got a lot of small point lights, and it seems to be there're a lot
> > of lamps on the ship.
>
> Ok, I finally solved this problem. When I gave 0 value to fade distance, it went
> wrong, but when I changed that to 1, it solved the problem:)

Yes, as per recent discussions, fade distance should be small, but not that
small!

-tgq


Post a reply to this message

From: Alain
Subject: Re: Invisible plane to shade objects
Date: 7 Apr 2011 17:05:47
Message: <4d9e272b$1@news.povray.org>

> Christian Froeschlin<chr### [at] chrfrde>  wrote:
>> gregtom6 wrote:
>>
>>> The lightning object is a spaceship, and it has got a lot of point lights. If I
>>> reduce the fade distance and/or fade power, that won't light the ship.
>>> The lights are enough strong on the ship, but too strong, if an object is too
>>> close to the ship.
>>
>> In case you want to render a realistic image, you can't have it both
>> ways. If you think it looks odd, then something may be wrong about other
>> setup. If there are lights directly on the ship they would not provide
>> much light to the hull, as the angle of incidence will be very small.
>> So if you think the ship should be bright, the hull itself needs to
>> be glowing (ambient/emissive) or you need an external light source
>> such as a star.
>
> No. I want only small light sources on the hull, to light small areas.
> My ship has got a lot of small point lights, and it seems to be there're a lot
> of lamps on the ship.
>
>

In that case, you can use spot_light that point at the hull's areas that 
you want illuminated.
Just remenber that the radius is in degrees, not in units around the 
point_at location. (I've seen scenes with that mistake)

You can still use fade_distance and fade_power for those.
As a bonus, you may get some speed improvements as you will save on the 
shadow ray tests.



Alain


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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