POV-Ray : Newsgroups : povray.binaries.images : invisable but reflecting Server Time
19 Aug 2024 20:10:12 EDT (-0400)
  invisable but reflecting (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: invisable but reflecting
Date: 15 Nov 2000 21:20:31
Message: <chrishuff-7846A8.21204515112000@news.povray.org>
In article <3a13385f$1@news.povray.org>, "Adam Roben" <yod### [at] homecom> 
wrote:

> Now, I may be completely off-base on this, but it seems to me that 
> there is a much simpler way to do this than using no_image, etc.  Put 
> a dark-red sphere out of the camera's view.  Resize it so that it 
> appears to be the same size as the marble and green spheres when 
> looking from the mirror sphere's position.  Then reposition the 
> dark-red sphere so that it appears to be inbetween the marble and 
> green spheres.  Doesn't this seem possible?

Possible in some cases...but easier?!?
It will probably take a bit of trial and error to get right. It won't 
work with some mirror surfaces or if you have a heavy normal, and it 
will only work with the camera position you designed the scene with. And 
if you have another mirror behind everything...and what about shadows?

The bounding method is fairly simple, works in nearly all cases, can be 
set up without guesswork, and will not require redoing the scene every 
time you move something. It will also work with oddball mirrors(torii, 
CSG, multiple flat mirrors, etc.)

The no_image, no_reflection, etc. keywords are the simplest and easiest 
solution...just add the keyword to the object and you get the intended 
result. You can't get any simpler than that...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Pete
Subject: Re: invisable but reflecting
Date: 15 Nov 2000 21:58:55
Message: <522.353T1495T12424216PeterC@nym.alias.net>
Jerome M. Berger wrote:

>       Or else he used a bounding box to make the middle sphere visible from
>the mirror but not the camera

        Yup.  That's what I did.  I put the bounding sphere for the
red sphere around the *reflecting* sphere.  This works (as you saw)
but I am not entirely happy with it because it clobbers the shadow.
It would be cool for the invisable sphere to cast a shadow as well
as being reflected in the mirror.
        BTW, that was done in (official) Povray 3.1, no fancy MEGA
tricks.


Pete


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: invisable but reflecting
Date: 16 Nov 2000 04:44:58
Message: <3A13AC9A.41E79420@tapasmail.net>
Pete wrote:
> 
>         Yup.  That's what I did.  I put the bounding sphere for the
> red sphere around the *reflecting* sphere.  This works (as you saw)
> but I am not entirely happy with it because it clobbers the shadow.
> It would be cool for the invisable sphere to cast a shadow as well
> as being reflected in the mirror.
	Bound it with a union of:
* a sphere around the mirror, like you have
* and a sphere whose center is at the same place as the light source and
with a very small radius...

	This way it should be reflected and cast a shadow (and AFAIK this can't
be done with any combination of no_image, no_reflection...)


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: invisable but reflecting
Date: 16 Nov 2000 06:54:38
Message: <3A13CB0C.E3F75F94@atos-group.com>

> 
> Pete wrote:
> > It would be cool for the invisable sphere to cast a shadow as well
> > as being reflected in the mirror.
>         Bound it with a union of:
> * a sphere around the mirror, like you have
> * and a sphere whose center is at the same place as the light source and
> with a very small radius...
> 
>         This way it should be reflected and cast a shadow (and AFAIK this can't
> be done with any combination of no_image, no_reflection...)
> 

Simply using no_image, you would still have shadow and reflection...


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: invisable but reflecting
Date: 16 Nov 2000 09:32:19
Message: <3A13EFF1.9D087C8E@tapasmail.net>

> 
> Simply using no_image, you would still have shadow and reflection...
	I thought no_image removed also the shadows?


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: invisable but reflecting [jpeg 16kbu]
Date: 17 Nov 2000 02:38:07
Message: <3A14E06F.10F4DF7A@atos-group.com>

> 

> >
> > Simply using no_image, you would still have shadow and reflection...
>         I thought no_image removed also the shadows?
> 

Well, look at this quickie (not as good as the initial poster of this thread)

The 'colors' of each finite object indicate the use of 
no_shadow, no_image and no_reflection  

Alas, the superellipsoid would be cyan...


Post a reply to this message


Attachments:
Download 'l.jpg' (16 KB)

Preview of image 'l.jpg'
l.jpg


 

From: Jérôme M  Berger
Subject: Re: invisable but reflecting [jpeg 16kbu]
Date: 17 Nov 2000 09:54:34
Message: <3A1546A8.717373B3@enst.fr>

> 
> Well, look at this quickie (not as good as the initial poster of this thread)
> 
> The 'colors' of each finite object indicate the use of
> no_shadow, no_image and no_reflection
> 
	All right, I shouldn't speak about what I haven't tried...


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: Pete
Subject: Re: invisable but reflecting
Date: 17 Nov 2000 20:18:51
Message: <134.355T57T13393274PeterC@nym.alias.net>
Jerome Grimbert wrote:

>Simply using no_image, you would still have shadow and reflection...

which only works in Mega POV, correct?


Post a reply to this message

From: Pete
Subject: Re: invisable but reflecting
Date: 17 Nov 2000 20:18:53
Message: <381.355T1801T13384982PeterC@nym.alias.net>
Jerome M. Berger wrote:

>       Bound it with a union of:
>* a sphere around the mirror, like you have
>* and a sphere whose center is at the same place as the light source and
>with a very small radius...

>       This way it should be reflected and cast a shadow (and AFAIK this
>can't be done with any combination of no_image, no_reflection...)

        That worked!  Thanks!


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: invisable but reflecting
Date: 20 Nov 2000 05:33:03
Message: <3A18FDDF.3F6CAA39@enst.fr>
Pete wrote:
> 
> which only works in Mega POV, correct?
	Correct, does that mean you're not using MegaPov? You don't know what
you're missing...


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

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