|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all,
wonder if someone can point me in the right direction for how to fade an
object into/out of visibility.
I can do rgbt and modify the t but have some complex (for me) objects so not
sure how to do it for the whole union'd object rather than on a per-pigment
basis. Ideally I just want to change what % of light rays passing through
the volume of the objects are affected by them
Sorry if that was a tad unclear - Any help greatly appreciated
-Simon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 26 May 2007 22:58:12 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk> wrote:
>Hi all,
>
>wonder if someone can point me in the right direction for how to fade an
>object into/out of visibility.
>
>I can do rgbt and modify the t but have some complex (for me) objects so not
>sure how to do it for the whole union'd object rather than on a per-pigment
>basis. Ideally I just want to change what % of light rays passing through
>the volume of the objects are affected by them
>
>Sorry if that was a tad unclear - Any help greatly appreciated
>
>-Simon
>
>
You could add a variable to all the rgbt values you want to fade.
#declare FadeValue =0;
colour rgbt <1.0, 0.5, 0.2, .6*FadeValue>
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks very much, I'll have to do that. Was hoping there was a neater way
Thanks again!
S
"Stephen" <mcavoysATaolDOTcom@> wrote in message
news:r0dh53h9dbq1r82c3aoi66aj8opdr81no3@4ax.com...
> On Sat, 26 May 2007 22:58:12 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk>
> wrote:
>
>>Hi all,
>>
>>wonder if someone can point me in the right direction for how to fade an
>>object into/out of visibility.
>>
>>I can do rgbt and modify the t but have some complex (for me) objects so
>>not
>>sure how to do it for the whole union'd object rather than on a
>>per-pigment
>>basis. Ideally I just want to change what % of light rays passing through
>>the volume of the objects are affected by them
>>
>>Sorry if that was a tad unclear - Any help greatly appreciated
>>
>>-Simon
>>
>>
> You could add a variable to all the rgbt values you want to fade.
>
> #declare FadeValue =0;
>
> colour rgbt <1.0, 0.5, 0.2, .6*FadeValue>
>
>
> Regards
> Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 27 May 2007 09:57:17 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk> wrote:
>Thanks very much, I'll have to do that. Was hoping there was a neater way
I don't think that there is.
Remember to "Merge" any object that you are going to fade out to get rid of
internal surfaces. Help - 3.4.6.5 Merge
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Much appreciated - I'll have a look at that now :)
"Stephen" <mcavoysATaolDOTcom@> wrote in message
news:ufji535jehjpm0ha8valurh9kcp85ath21@4ax.com...
> On Sun, 27 May 2007 09:57:17 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk>
> wrote:
>
>>Thanks very much, I'll have to do that. Was hoping there was a neater way
>
> I don't think that there is.
> Remember to "Merge" any object that you are going to fade out to get rid
> of
> internal surfaces. Help - 3.4.6.5 Merge
>
> Regards
> Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stephen <mcavoysATaolDOTcom@> wrote:
> Remember to "Merge" any object that you are going to fade out to get rid of
> internal surfaces. Help - 3.4.6.5 Merge
Note that merge only removes the surfaces inside the object. It doesn't
make the inner side of the outer surfaces invisible. This may or may not
become a problem, depending on the effect you want to achieve.
A completely transparent interior_texture might be worth a try if you
want to make the inner sides invisible.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 27 May 2007 07:50:29 -0400, Warp <war### [at] tagpovrayorg> wrote:
>Stephen <mcavoysATaolDOTcom@> wrote:
>> Remember to "Merge" any object that you are going to fade out to get rid of
>> internal surfaces. Help - 3.4.6.5 Merge
>
> Note that merge only removes the surfaces inside the object. It doesn't
>make the inner side of the outer surfaces invisible. This may or may not
>become a problem, depending on the effect you want to achieve.
A good point. That probably explains a few of my failures.
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It's working (ish) with the objects. I have a sky sphere and want to fade
that too....
#local p_image=
pigment{
image_map{
jpeg SkySphere
map_type 1
interpolate 2
}
}
#local p_image_filtered=
pigment{
image_map{
jpeg SkySphere
map_type 1
interpolate 2
filter all light_filter
}
}
Any suggestions how I coul re-work this?
"Stephen" <mcavoysATaolDOTcom@> wrote in message
news:s4vi53dqvcjldjegnql3i21nrok4kd3gnh@4ax.com...
> On 27 May 2007 07:50:29 -0400, Warp <war### [at] tagpovrayorg> wrote:
>
>>Stephen <mcavoysATaolDOTcom@> wrote:
>>> Remember to "Merge" any object that you are going to fade out to get rid
>>> of
>>> internal surfaces. Help - 3.4.6.5 Merge
>>
>> Note that merge only removes the surfaces inside the object. It doesn't
>>make the inner side of the outer surfaces invisible. This may or may not
>>become a problem, depending on the effect you want to achieve.
>
> A good point. That probably explains a few of my failures.
>
>
> Regards
> Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Simon" <povray@*NOSPAM*SOWare.co.uk> schreef in bericht
news:4658ad5a@news.povray.org...
> Hi all,
>
> wonder if someone can point me in the right direction for how to fade an
> object into/out of visibility.
>
> I can do rgbt and modify the t but have some complex (for me) objects so
> not
> sure how to do it for the whole union'd object rather than on a
> per-pigment
> basis. Ideally I just want to change what % of light rays passing through
> the volume of the objects are affected by them
>
> Sorry if that was a tad unclear - Any help greatly appreciated
>
Hi Simon,
I think that instead of union {}, you should use merge{}probably because
otherwise, by making the (collection) of objects transparent, you will see
the inner limits of the individual objects constituting the union. Merge is
specific for transparent objects.
Now concerning your question, if each constituent object has its own
pigment, I would make a #declare T = yourvalue; and use that in every
pigment inside the union/merge block. If the union/merge block has only one
pigment, then it is much easier of course :-)
I hope this answers your question. Post an image in p.b.i. if in doubt.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 27 May 2007 14:41:24 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk> wrote:
>It's working (ish) with the objects. I have a sky sphere and want to fade
>that too....
I've never obtained satisfactory results when trying to fade an object. So I
might not be the best person to help you further. :-(
But I've just checked this and it looks like Pov can only use one sky_sphere.
The last in the scene is the one it uses.
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |