Quote:
But if your volume never moves then why do you have to use this matrix? The volume is already in world space and this should be where you are doing your collision detection. The GL_MODELVIEW_MATRIX is only used for rendering and shouldn't be related to collision detection.
I don't move volumes but I am transforming using rotation and translation to align the model at the origin and vertical.
Actually I am using this with Haptic device - represented by a moving virtual tool, if I transform the model I have to use the matrix to multiply the coordinates that represent the virtual tool .. this is how collision works.
When I compute the force , this is done in model space.. should be transform back to world space ,here I need to use "ALONE" rotation matrix .. no need to use translation matrix..
Quote:
but I'm just wondering if you are doing things in a more complex way than necessary.
Yeah
.. I am doing some complex work!
Quote:
As for your email question, well unfortunatly there is no real way to convert density values into stiffness.
I have read papers which say density is proportional to stiffness but I don't have equation to convert that ....
Quote:
For example, you recieve a density value of 500HU. You know this corresponds to bone, so you use some other reference table (which you will have to create) which tells you what the stiffness of bone is.
I think I need to consult some domain expert to find this information!
thanks for your reply anyway!~
I have one more question : is it possible to keep track of voxel in Polyvox?
say I want to assign voxel an ID when I store it,. later I should be able to get ID back when I get back the voxel.