POV-Ray : Newsgroups : povray.general : contained_by problem... Server Time
6 Aug 2024 14:20:31 EDT (-0400)
  contained_by problem... (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: Mahalis
Subject: Re: contained_by problem...
Date: 31 Mar 2002 13:30:16
Message: <3ca755b8$1@news.povray.org>
You probably used clipped_by or bounded_by- most likely the latter. Try one of those
instead of an iso keyword.
"Patrick Dugan" <pat### [at] netinsnet> wrote in message
news:3ca74c15@news.povray.org...
>
> I *thought* I used contained_by with other objects in the past, but perhaps
> the syntax has changed since then.
>
> No the object was copied here verbatim.  If I comment out this object the
> infinite goes to zero.  With it the infinite goes to 1.
>
>
>
> "Ken" <tyl### [at] pacbellnet> wrote in message
> news:3CA74A84.D41629C3@pacbell.net...
> >
> >
> > Patrick Dugan wrote:
> > >
> > > I am having problems trying to contain an object.  The object defined
> is:
> > >snip>
> > > How can I contain this thing or make it finite?
> >
> > There is no reason why with that scale POV-Ray should be treating the HF
> > as an infinite object. Are you sure that you don't have a plane or
> something
> > else in the scene that is infinite?
> >
> > P.S. contain_by is only valid syntax in isosurface objects.
> >
> > --
> > Ken Tyler
>
>


Post a reply to this message

From: Patrick Dugan
Subject: Re: contained_by problem...
Date: 31 Mar 2002 13:30:59
Message: <3ca755e3$1@news.povray.org>
I'm still not sure why it was infinite though...

"Ken" <tyl### [at] pacbellnet> wrote in message
news:3CA74F44.3AFF5602@pacbell.net...
>
>
> Patrick Dugan wrote:
> >
> > I *thought* I used contained_by with other objects in the past, but
perhaps
> > the syntax has changed since then.
>
> Perhaps you are confusing contained_by with bounded_by ?
>
> --
> Ken Tyler


Post a reply to this message

From: Mike Williams
Subject: Re: contained_by problem...
Date: 31 Mar 2002 13:38:37
Message: <QXx$oFAnd1p8Ewym@econym.demon.co.uk>
Wasn't it Ken who wrote:
>
>
>Patrick Dugan wrote:
>> 
>> I *thought* I used contained_by with other objects in the past, but perhaps
>> the syntax has changed since then.
>
>Perhaps you are confusing contained_by with bounded_by ?

Perhaps you are confusing contained_by and clipped_by ?

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Warp
Subject: Re: contained_by problem...
Date: 31 Mar 2002 13:56:49
Message: <3ca75bf1@news.povray.org>
Mike Williams <mik### [at] nospamplease> wrote:
> Perhaps you are confusing contained_by and clipped_by ?

  Does clipped_by convert an infinite object to a finite one (internally,
I mean)?

  The best thing to do is:

clipped_by { something } bounded_by { clipped_by }

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Christopher James Huff
Subject: Re: contained_by problem...
Date: 31 Mar 2002 15:07:05
Message: <chrishuff-530D90.15080431032002@netplex.aussie.org>
In article <QXx$oFAnd1p8Ewym@econym.demon.co.uk>,
 Mike Williams <mik### [at] nospamplease> wrote:

> >Perhaps you are confusing contained_by with bounded_by ?
> 
> Perhaps you are confusing contained_by and clipped_by ?

It doesn't sound like it...bounded_by is the feature used to, well, 
bound infinite objects, and based on the description it is the one he 
wants.
The clipped_by feature is for removing parts of an object that are 
outside another object, which doesn't seem to have anything to do with 
this.
The contained_by keyword is only used in isosurfaces, to specify the 
volume in which to test for the surface. It has never been used for 
other objects (except maybe parametric), and wasn't even added until 
after the isosurface patch had been around a while. (previous versions 
reused bounded_by, which caused some problems)

-- 
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: Christopher James Huff
Subject: Re: contained_by problem...
Date: 31 Mar 2002 15:08:26
Message: <chrishuff-1BB501.15092431032002@netplex.aussie.org>
In article <3ca75bf1@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   Does clipped_by convert an infinite object to a finite one (internally,
> I mean)?
> 
>   The best thing to do is:
> 
> clipped_by { something } bounded_by { clipped_by }

As I remember, clipped_by (and contained_by, in the case of isosurfaces) 
automatically set bounded_by. Wouldn't hurt to do it explicitly, though.

-- 
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:
Subject: Re: contained_by problem...
Date: 2 Apr 2002 01:34:51
Message: <q2kiauck2g0hv0fkjqb35s2osq0ppflatv@4ax.com>
On Sun, 31 Mar 2002 15:09:24 -0600, Christopher James Huff <chr### [at] maccom>
wrote:
> >   The best thing to do is:
> > clipped_by { something } bounded_by { clipped_by }
>
> As I remember, clipped_by (and contained_by, in the case of isosurfaces) 
> automatically set bounded_by.

When bounded_by has smaller volume then probably not.

ABX


Post a reply to this message

From: Christopher James Huff
Subject: Re: contained_by problem...
Date: 2 Apr 2002 09:59:53
Message: <chrishuff-ECD6F4.10010102042002@netplex.aussie.org>
In article <q2kiauck2g0hv0fkjqb35s2osq0ppflatv@4ax.com>,
 W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:

> > As I remember, clipped_by (and contained_by, in the case of isosurfaces) 
> > automatically set bounded_by.
> 
> When bounded_by has smaller volume then probably not.

No, always. THe default bounding box will fit the default contained_by 
object, not changing it when a bigger contained_by is used would be a 
bug.

-- 
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:
Subject: Re: contained_by problem...
Date: 2 Apr 2002 10:22:53
Message: <joijau009g81v8udi3lh87f9ajdc2qa416@4ax.com>
On Tue, 02 Apr 2002 10:01:01 -0600, Christopher James Huff <chr### [at] maccom>
wrote:
> > When bounded_by has smaller volume then probably not.
>
> No, always. THe default bounding box will fit the default contained_by 
> object, not changing it when a bigger contained_by is used would be a 
> bug.

I was refered to clipped_be versus bounded_by from yours previous post. You
said: "clipped_by (...) automatically set bounded_by". There is known method to
put bounding sphere near camera for object far away camera. If such object have
clipped_by and this clipping object would set bounded_by automatically then it
sounds a little like a bug for me.

ABX


Post a reply to this message

From: Christopher James Huff
Subject: Re: contained_by problem...
Date: 2 Apr 2002 13:24:28
Message: <chrishuff-80494C.13253502042002@netplex.aussie.org>
In article <joijau009g81v8udi3lh87f9ajdc2qa416@4ax.com>,
 W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:

> I was refered to clipped_be versus bounded_by from yours previous 
> post. You said: "clipped_by (...) automatically set bounded_by". 
> There is known method to put bounding sphere near camera for object 
> far away camera. If such object have clipped_by and this clipping 
> object would set bounded_by automatically then it sounds a little 
> like a bug for me.

The situation is similar...not setting bounded_by would be a bug. POV 
doesn't know about these tricks, to it, the bounding box is wrong 
because some rays that hit the object won't hit the box. If it didn't 
adjust it, it would cause problems in almost every scene, and the user 
would have to manually bound it. However, it shouldn't override the 
user-specified bounding shape, and I don't know if it does so. 
Specifying bounded_by after contained_by or clipped_by should work 
anyway.

-- 
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

<<< Previous 5 Messages Goto Initial 10 Messages

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