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: Sorting bou...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 956 of 1011
Post > Topic >>

Re: Sorting bounding boxes back to front

by "Ron AF Greve" <ron@[EMAIL PROTECTED] > Nov 2, 2007 at 04:37 PM

Hi,
"Miss Elaine Eos" <Misc@[EMAIL PROTECTED]
> wrote in message 
news:Misc-4AFB2E.08124802112007@[EMAIL PROTECTED]
> In article <vlCWi.204$Kq1.81@[EMAIL PROTECTED]
>,
> "Jim Langston" <tazmaster@[EMAIL PROTECTED]
> wrote:
>
>> If you have the bounding boxes for all the objects, you simply have to 
>> sort
>> on the smallest z of each bounding box (closest forward to the camera).
>> This shouldn't be a much of a problem at all and should be fairly math 
>> easy.
>
> It's a bit more difficult if the boxes aren't camera-axis aligned -- but
> still shouldn't be TOO bad.  Basically, you have to find the corner of
> each box that's closest to the camera.
>
> -- 
> Please take off your pants or I won't read your e-mail.
> I will not, no matter how "good" the deal, patronise any business which 
> sends
> unsolicited commercial e-mail or that advertises in discussion
newsgroups.

Thanks for the reply both.

If you take a look at the picture in my previous post I don't think that 
would work (or I just misunderstood). The red box has a corner that is 
closest to the cam however it is actually behind the purple box (i.e. it 
should be rendered first).


Regards, Ron AF Greve

http://www.InformationSuperHighway.eu
 




 9 Posts in Topic:
Sorting bounding boxes back to front
"Ron AF Greve"   2007-11-02 01:27:28 
Re: Sorting bounding boxes back to front
"Jim Langston"   2007-11-02 02:47:54 
Re: Sorting bounding boxes back to front
"Ron AF Greve"   2007-11-02 12:40:08 
Re: Sorting bounding boxes back to front
Miss Elaine Eos <Misc@  2007-11-02 15:12:49 
Re: Sorting bounding boxes back to front
"Ron AF Greve"   2007-11-02 16:37:58 
Re: Sorting bounding boxes back to front
"Jim Langston"   2007-11-02 09:28:48 
Re: Sorting bounding boxes back to front
"Ron AF Greve"   2007-11-02 23:40:27 
Re: Sorting bounding boxes back to front
Richard James <IWillGe  2007-11-03 08:59:03 
Re: Sorting bounding boxes back to front
"Ron AF Greve"   2007-11-03 00:23:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Jul 26 8:41:47 CDT 2008.