Hello, i'm curious how tesselation works in BRLCAD. Looking at example rt_*_tess() functions in librt, it seems that first an empty nmg region is created with nmg_mrsv(), then each "point_t vertex" in the primitive is associated with a "struct vertex" using nmg_vertex_gv() and added to the shell using nmg_cmface(). Finally the region is built using the avaliable shells with nmg_region_a(). Are there any more steps to this process that I'm missing?
I'd like to finish implementing rt_sketch_tess(). I already have a method to closely approximate a sketch by a series of point_t, which was used in rt_sketch_surf_area(), so it seems simple enough if the method I described above is correct. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel