Text archives Help
- From: uccaspa@ucl.ac.uk
- To: Aaron Knoll <knolla@cs.utah.edu>
- Cc: MANTA <manta@sci.utah.edu>
- Subject: Re: [Manta] Re: Manta: Direct isosurfacing using octrees
- Date: 22 Oct 2007 17:14:12 +0100
On Oct 22 2007, Aaron Knoll wrote:
One problem with the octree data is that it currently only supports
single-byte scalar data, not 32-bit float.
To fix it, one would have to do a fair amount of modification in the
code. It shouldn't be very hard modification, and the octree volume
should work (in fact, it should work relatively better, as the size
of pointers is smaller relative to the size of data).
Yes, I remember this from when we last corresponded back in March.
At the time you mentioned that the supported datatype was unsigned char
(typdef to ST) which would need modifying to also handle floats (ideally
using templates).
I changed ('hacked') this typedef to "float" in an attempt to render one of
our own datasets, however I now understand that this was incorrect as
further changes are required.
I'm willing make these changes as this functionality will be very useful to
us if I can get it to work.
If you can provide any advice about how to go about this that would be
really helpful as my knowledge of templated classes is limited.
On Oct 22 2007, Aaron Knoll wrote:
However, in the meantime, can you downsample your data to unsigned
char instead? You can use a tool like "unu" from the nrrd package to
do this:
http://teem.sourceforge.net/nrrd/demo.html
Thanks! - I'll try this now.
Archive powered by MHonArc 2.6.16.