Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Misc > Re: bounding vo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 975 of 1011
Post > Topic >>

Re: bounding volume hierarchy/space partition

by broli <Broli00@[EMAIL PROTECTED] > Apr 1, 2008 at 02:02 AM

On Mar 31, 1:38 pm, Andreas Sch=FCle <schu...@[EMAIL PROTECTED]
> wrote:
> Hi Broli,
>
> broli schrieb:
>
> > I have an object which is converted into triangular mesh. I have found
> > the AABB of the entire object So I would like to know what bounding
> > volume hierarchy/ space partition methods are possible. I would also
> > like to know if it would have been easier with a bounding sphere ?
> > What are the BV hierarchy/space partition methods in case of boundary
> > sphere ?
>
> In general BV's are used for collision detection or visibility checks.
> BV may affect the decision process of your algorithm about splitting the
> space enclosed of the BV.
>
> I looked up BSP trees but I could not understand how they
>
> > choose the splitting planes. I came across codes for BSP in graphics
> > gems.
>
> BSP doesn't oblige you to a specific way how to choose the splitting
plane=
..
>
> Usually the splitting plane is chosen like this:
>
> Choose a triangle out of your triangular mesh (your set of triangles)
> which splits all other triangles in two subsets with about the same
> size. Do this until your subsets contains a single triangle at leaf.
>
> example:
>
> Triangle findBestSplitter(TriangleSet set) {
>    for all triangles in set do with t {
>      use t as spliting plane and generate two triangle subsets
>
>      if (my decision function says all right) {
>         return t as the best splitter
>      }
>    }
>
> }
>
> regards,
> Andreas Sch=FCle

Thank you very much.

What I'm thinking is to build the BSP tree by subdividing along the
center of x, y, or z bounds. But the
biggest problem I'm facing right now is how to deal with situations
where a triangle is spanning across the plane ?? In this case part of
traingle is in one bounding volume and the other part is in the
sibling bounding volume. How to deal with this ??
 




 10 Posts in Topic:
bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-03-31 00:20:17 
Re: bounding volume hierarchy/space partition
=?ISO-8859-1?Q?Andreas_Sc  2008-03-31 10:38:10 
Re: bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-04-01 02:02:47 
Re: bounding volume hierarchy/space partition
=?ISO-8859-1?Q?Andreas_Sc  2008-04-01 14:22:53 
Re: bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-04-01 06:12:21 
Re: bounding volume hierarchy/space partition
=?ISO-8859-1?Q?Andreas_Sc  2008-04-01 20:49:24 
Re: bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-04-01 22:03:31 
Re: bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-04-01 22:26:15 
Re: bounding volume hierarchy/space partition
=?ISO-8859-1?Q?Andreas_Sc  2008-04-07 11:09:41 
Re: bounding volume hierarchy/space partition
broli <Broli00@[EMAIL   2008-04-07 07:18:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:46:25 CDT 2008.