xna-4.0


Simple way of getting BoundingBox?


I have looked on the internet and there is a few different ways but they don't seem to work for me. I have a Model called model1 and a matrix for it called maxtrix1, how do i get its min and max from these? Sorry for this question but it has been bugging me
Are you calculating this bounding box each frame, what requirements do you have in terms of efficency and precission?
One way to this would be to apply the matrix to each mesh, then check the result of this multiplication against the previous multiplication if it is lower set it as the new minimum.. Finding the max values would be done in the same way, but instead check if its greater than the last one raither than smaller.
I might be able to help/elaborate more if you can explain why all the solutions you found on the interwebs didn't work for you :)

Related Links

Vertexbuffer Getdata VertexPositionNormalTexture
Converting from 3.1 to 4.0… gamestates
XNA large coordinates and float precision
Trying to make Gaussian Blur stronger/blurrier - XNA 4.0 HLSL
XNA, EmguCV and perfomance issue with webcam
Does XNA apps run on Windows RT?
How to pass a Texture2D object to Pixel Shader in XNA 4.0?
how to connect windows phone 7 application by using 2 different mobile device?
Adding a game service in XNA 4.0 through vb.net
Can the position of pixel be changed from Pixel Shader in XNA 4.0?
Adding GamerServicesComponent causes ridiculously long program start
Platformer tile engine--advice on what to do with long tiles
XNA Vector2 path contained inside rectangle
XNA changing 200 or so tiles pixels
Loading files during run time in XNA 4.0
Optimized keyboard controls for XNA game

Categories

HOME
cakephp
twitter
testng
blogger
mfc
jsp-tags
cmd
gps
ezpublish
fancybox
django-imagekit
elasticsearch-hadoop
windows-10-universal
imacros
vb.net-2010
commonmark
orchardcms
flask-wtforms
designer
serverless-framework
facebook-page
google-static-maps
code-review
lldb
swingx
conemu
clickonce
claims-based-identity
dxf
h2db
status
pingfederate
linkerd
web-api-testing
atlassian-crucible
webkitspeechrecognition
amazon-kinesis-kpl
wixsharp
git-merge
dartium
user-controls
ensembles
pdf-reactor
total-commander
filepicker
apache-fop
datastax-startup
integrity
aurelia-validation
brightcove
ifs
mcafee
django-scheduler
watchconnectivity
instant
database-optimization
contact-list
prettytensor
bgp
tform
asp.net5
browser-link
cannon.js
mutation-observers
purge
pundit
ios9.1
streambase
clicktag
rdtsc
preferences
industrial
geos
ccss
delphi-6
hamiltonian-cycle
chuck
runas
onsubmit
ocx
wse3.0
recent-documents
.nettiers
dmx512
mirah
javap
yagni
aquaticprime
dbisam

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App