Hello dear list-members,
I get strange results with bounds, I'm afraid.
I'd aglad if anybody could help me...
(I'm using Java 1.3 and Java 3D 1.2)
Problem 1:
Can anybody explain this to me? or is it a bug?
I tried to transform a BoundingSphere centrum with a translation, thinking
it would transform the Center of it accordingly.
This is an output snippet:
t3d=
1.0, 0.0, 0.0, 0.0
0.0, 1.0, 0.0, 3.0
0.0, 0.0, 1.0, -100.0
0.0, 0.0, 0.0, 1.0
centrum.getBounds().transform(t3d)
centrum.getBounds():Center=(0.0, 0.0, 0.0) Radius=-1.0
Problem 2:
I wrote some code to visualize the Bounding-objects, because I'd like to see
what Java3D auto-calculates. But I couldnt figure out how to calculate a
Polygon from a BoundingPolytope which resembles it.
Did anyone code this? Please send it to me, I'd like to go on with my
Project...
Problem 3:
I'm not sure anymore, but I think that the auto-computation of a Bounds-object
from another yields always a bigger Bounds-object. Is this Intention?
(I've got no possibility to access my sources at the moment, else I'd have
had them attached)
thanks in advance,
Axel
*******************************************
Axel Groß
Daungasse 1A/7
1080 Wien - Austria
+43-699/1148495
*******************************************
Member of IAESTE Vienna
http://www.vienna.iaeste.or.at
* * * * * * * * * * * * * * * * * * * * * *
Bildung muss frei bleiben!!
Erschwerung ehrenamtlicher
Arbeit durch Studiengebuehren!
http://www.iaeste.or.at/studiengebuehren/
*******************************************
Two men see through the same bars
One sees the mud and one the stars
*******************************************
PGP signature