Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
model size
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: model size (Read 3867 times)
theFALCO
byte
Posts: 39
model size
«
on:
December 17, 2006, 05:03:09 pm »
How do I get the size of a model (to set the right radious for ellipsoid collision)?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
model size
«
Reply #1 on:
December 17, 2006, 08:08:31 pm »
By "wild guessing" or maybe by using the bounding box dimension. You may get the bounding box from the Mesh.
Logged
Mizuki Takase
int
Posts: 97
model size
«
Reply #2 on:
December 20, 2006, 03:30:40 pm »
It sounds funny, but whenever there is another update to JPCT, can we have a Primitives.createEllipsoid(who knows what is needed)? I would think that would make wild guessing a bit easier if we can visualize the ellipsoid.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
model size
«
Reply #3 on:
December 20, 2006, 08:19:55 pm »
Sounds like a good idea. I'll see, what i can do...if i don't forget. If i do, feel free to remember me... :wink:
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
model size