27 mars 2012 20:22:51 toxi.volume.VolumetricSpace <init>
INFO: new space of 640x480x100 cells: 30720000
I have some result but the problem is that i use some calibration with kinect, so depending on the depth the x and y coordinates will move as well.
I thought about using the Terrain::setHeightAtCell(int x, int y, float depth); but i add some out of bound exception raised as i don't know how it actually works.
Do you have any idea to keep the data calibrated?
Or is it better not to use a height map after all?
I'm still using random datas, i will show my results with the kinect soon.
thanks
vac
so as you can see the x,y,z coordinates move, i finally just have a PointCloud filled with this data. I just read the entire 640X480 kinect raw data and create my PointCloud using this function.
So i guess i just need to retrieve the height of the entire grid after calibration but i don't know how to do it with Toxic's Terrain class?
I'm happy if i gave you the motivation to reuse your dusty kinect !
cheers!
_vac_