Re: [Algorithms] mesh to 3D texture?
Brought to you by:
vexxed72
From: Michael H. <mh...@gm...> - 2011-08-25 17:43:54
|
I've not personally done this work but do recall a few papers I've read on the topic. The following paper should be particularly germane. It details an approach for one pass solid voxelization. It also describes a method for determining a density field from which you can derive normal data. I imagine depending on your buffer width you could record encoded normal and color samples in the first pass, though this data only really is meaningful for the isosurface itself. http://artis.imag.fr/Publications/2008/ED08a/solidvoxelizationAuthorVersion.pdf Some more reading, though I've not read this paper in depth. http://www.mpi-inf.mpg.de/~mschwarz/papers/vox-siga10.pdf -Michael On Thu, Aug 25, 2011 at 10:04 AM, Jeff Russell <je...@8m...>wrote: > So, suppose that I wanted to voxelize a mesh into a regular 3D grid (a 3D > texture on the GPU, fairly low res, something like 64^3). At each point I'd > like to have access to color, a (rough) surface normal, and some kind of > indicator of whether the space is "empty" or "filled". > > Is there some clever way I can use GPU rasterization to fill it (ideally > keeping the whole process on the GPU)? I thought about rendering the mesh in > slices with very narrow front and back clip planes, once for each slice of > the 3D texture, but it seems like there could be issues with polygons > perpendicular to my z axis not showing up, creating holes... > > Any advice? > > -- > Jeff Russell > Engineer, 8monkey Labs > www.8monkeylabs.com > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > |