Hi,
Thanking you for your prompt reply!
Quote:
However, the format of the volumes is different to that produced by CT scanners. In CT data the voxel value corresponds to the material density, where as in PolyVox volumes the voxel value is simply an identifier for a particular material. 0 is always empty space, and the other values you can define yourself.
In my CT scan data, currently I have 85 * 109 * 98 resolution and values of 0, 50,100 ,255 only.
Quote:
Given a CT scan of the human body, you will basically divide the voxels into different materials using one or more thresholds. Anything below -800HU is air in a CT scan, so in the corresponding PolyVox volume you would set this to zero. You could then set all other voxels to '1', or you might want to use more thesholds to seperate bone, fat, etc. You can have up to 255 of these different materials. However, I would start by just dividing into 'air' and 'body'.
I have a CT scan data of a human tooth. According to your explanation, first I can set
- 0 for Voxel value 0
- 1 for Voxel value 50,100, 255
I am not sure about setting more thresholds.
Quote:
So what are the catches? Well, I would imagine your volumes are bigger then the 'castle' which you probably saw in the demo. That castle volume was 256^3, whereas I expect your volumes are at least 512^3.
As I said, currently I have 85 * 109 * 98, which I cut from a high resolution data. I will switch to at least 256 ^ 3. In that case, PolyVox would not have any issue.
Quote:
I should point out that PolyVox does not do any kind of collision detection - it just generates the meshes.................just directly check each of the 5000 points in your cloud against the voxels.
Sorry I was not clear in my previous post. Actually I have done the collision detection part using the technique called 3d Occupancy Grid. This is an integer based operation and much faster.
Quote:
Also, there is an extreamly basic OpenGL demo in the PolyVox source code folder. It just generates a volume and then a mesh (no modification or nice materials) but maybe it's a start. You wil need GLUT to run it.
Yes , I have already built PolyVox and the example and run it. Currently I am trying to understand how it is implemented. I am already using glut , no problem then.
Later , I tried to load 64 ^ 3 (croped from my original data) in OpenGl example, but I am confused with how we should set the "volIter.setVoxel"
Does this mean the Iso Value used in MC ?
/Gajananan