Jump to content

  • Log In with Google      Sign In   
  • Create Account

Xna 4.0 Creating BoundyBox


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Liam19871   Members   -  Reputation: 103

Like
0Likes
Like

Posted 11 April 2013 - 03:30 PM

I have read how other people have done theirs and understand how it works but when i have tried to implement it myself it seems to be the wrong verision of Xna or either the box is half the size. Is there simple code to do this?



Sponsor:

#2 VladR   Members   -  Reputation: 722

Like
0Likes
Like

Posted 11 April 2013 - 07:11 PM

How exactly does the XNA's built-in BBOX functionality not work for you ?

 

Before XNA, when I implemented BBOX functionality myself, the basic algorithm is very simple - browse through all vertices and find the Max/Min for X/Y/Z.

 

Obviously, if you want the smallest sphere possible to encompass the same volume, the computations get more complex.

 

But the method I described above is, like, half a page worth of code...


VladR    My 3rd person action RPG on GreenLight:    http://steamcommunity.com/sharedfiles/filedetails/?id=92951596

 





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS