POV-Ray : Newsgroups : povray.newusers : inverse Server Time
27 Nov 2024 23:36:34 EST (-0500)
  inverse (Message 1 to 6 of 6)  
From: PeterKetting
Subject: inverse
Date: 15 Mar 2002 13:48:42
Message: <3c92420a@news.povray.org>
Can anyone please explain the proper use of the inverse keyword? The POV-Ray
helpfile doesn't realy go into detail about it and I wonder if it is the key
to create more complex CSG objects.


Post a reply to this message

From: Christoph Hormann
Subject: Re: inverse
Date: 15 Mar 2002 13:53:52
Message: <3C924341.39EA7118@gmx.de>
PeterKetting wrote:
> 
> Can anyone please explain the proper use of the inverse keyword? The POV-Ray
> helpfile doesn't realy go into detail about it and I wonder if it is the key
> to create more complex CSG objects.


difference {
  object { ... }
  object { ... }
}

is the same as

intersection {
  object { ... }
  object { ...  inverse }
}

There are no CSG constructions that are impossible without 'inverse' but
it sometimes makes life much easier.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Mar. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From:
Subject: Re: inverse
Date: 15 Mar 2002 13:56:05
Message: <0pg49u4iab8bjr5v0l0hapr06ekmqr9ufl@4ax.com>
On Fri, 15 Mar 2002 13:49:14 -0500, "PeterKetting"
<pet### [at] myrealboxcom> wrote:
> Can anyone please explain the proper use of the inverse keyword?

From 3.5 documentation: "When the inverse keyword is used the inside of the
shape is flipped to become the outside and vice versa." 

> The POV-Ray
> helpfile doesn't realy go into detail about it

So please specify what was complicated in above sentence :-)

> I wonder if it is the key
> to create more complex CSG objects.

Yes. It is one of components.

ABX


Post a reply to this message

From: Jan Walzer
Subject: Re: inverse
Date: 15 Mar 2002 18:42:58
Message: <3c928702@news.povray.org>
wasn't there also an "inverse"-keyword for transformations ? ...

please let me cancel this post, if it's absolute nonsense ...


Post a reply to this message

From: Christopher James Huff
Subject: Re: inverse
Date: 15 Mar 2002 20:30:23
Message: <chrishuff-DC376A.20301115032002@netplex.aussie.org>
In article <3c928702@news.povray.org>, "Jan Walzer" <jan### [at] lzernet> 
wrote:

> wasn't there also an "inverse"-keyword for transformations ? ...
> 
> please let me cancel this post, if it's absolute nonsense ...

There is in MegaPOV and POV-Ray 3.5. If you use "inverse" in the 
transform {} block, you get the inverse of the transforms in that block. 
This is part of the updated transform syntax.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Tom Melly
Subject: Re: inverse
Date: 18 Mar 2002 07:17:48
Message: <3c95daec$1@news.povray.org>
"PeterKetting" <pet### [at] myrealboxcom> wrote in message
news:3c92420a@news.povray.org...

<snip>

A sphere is probably the easiest shape to understand the concept of inverse.

sphere{0,1} = a solid sphere centred at <0,0,0> with a radius of 1 pov unit
sphere{0,1 inverse} =  a solid pov-universe with a small spherical hole at the
center....


Post a reply to this message

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