« Return to Thread: Generic Polyhedron Primitives

Re: Generic Polyhedron Primitives

by bART Janssens-2 :: Rate this Message:

Reply to Author | View in Thread

On Sat, Apr 25, 2009 at 7:37 AM, Timothy M. Shead <tshead@...> wrote:
> Timothy M. Shead wrote:
>
>> A heads-up to get ready for the switch to generic polyhedron primitives
>> in the next day-or-so.  You can expect some compile problems and a lot
>> of broken tests while we sort-out the details.  Bart, I'll need you to
>> look at the subdivision surface library, you should prepare yourself for
>> a world without mesh->polyhedra.

OK, I propose to change the signature of
k3d::sds::catmull_clark_subdivider::create_mesh as follows:

void create_mesh(const k3d::mesh::points_t& InputPoints, const
k3d::polyhedron::const_primitive& InputPolyhedron, const
k3d::mesh::selection_t& InputFaceSelection, k3d::mesh::points_t&
OutputPoints, k3d::polyhedron::primitive& OutputPolyhedron,
k3d::inode* Node = 0);

Same with update_mesh. If you want, can you take a look at
k3dsdk/subdivision_surface/catmull_clark.h and see if you have any
other remarks on the interface?

Cheers,

--
Bart

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

 « Return to Thread: Generic Polyhedron Primitives