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

Pass variables to another class?
Xna Game referencing Game in update
XNA game studio simple sprite animation
XNA phase management
How to check BoundingSphere for one ModelBone?
MonoGame: Some VertexColorPosition dissappear while drawing user primitives(DrawUserPrimitives)
Testing XNA 4.0 games On the XBOX 360 without paying $100 [duplicate]
Detecting clicks in a non-rectangular shape
What's a good way to optimise rendering a 2D tile game in XNA?
How to make 3D racing game with XNA? [closed]
How to correctly accelerate a rotated 3d model in XNA?
What's the difference between world and view for purpose of camera?
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

Categories

HOME
xamarin
winforms
keycloak
openstack
isabelle
mockito
jsp-tags
v8
callback
pivotal-cloud-foundry
acquia
upload
applepay
primary-key
moonmail
remote-access
size
leiningen
ibm-odm
quickfix
msp430
dosgi
ab-testing
lucene.net
textfield
dbext
riot.js
abi
publish
neo4j-spatial
quote
microsoft-chart-controls
react-chartjs
commit
cloud-code
jmonkeyengine
qwerty
hockeyapp
espeak
unspecified
uft-api
ansible-playbook
mesos-chronos
http-live-streaming
spring-security-kerberos
reactive-cocoa-5
babel-core
apache-fop
pango
domain-model
fancybox-2
brightcove
slickedit
sybase-asa
hittest
setuptools
azure-sdk
libpng
vmware-tools
mathematica-frontend
websitepanel
bluegiga
goose
itextpdf
two-factor-authentication
wireshark-dissector
content-length
sframe
microbenchmark
sankey-diagram
vstest.console.exe
composite
csquery
oxwall
qpainter
asp.net-web-api-odata
expected-exception
resty-gwt
java.nio.file
c18
farseer
dir
ruby-datamapper
sharp-repository
wsdl-2.0
clipper
errai
django-tagging
lpeg
createwindow
zend-translate
iweb
backcolor
sector
grid-system
rtml
document-conversion

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App