Hi Martin,
there are some information in osgModeling::PolyMesh,
...
/** Create segments used by the edge map */
inline static Segment getSegment( osg::Vec3 p1, osg::Vec3 p2 );
/** Get the edge object in specified edge map from two points. */
static Edge* getEdge( osg::Vec3 p1, osg::Vec3 p2, EdgeMap& emap );
/** Find all edges attached to a face. */
void findEdgeList( Face* f, EdgeList& elist );
...
Best regards,
Jagovic
> Hello,
>
> I found the osgModeling library and it contains a polygon mesh structure for
> geometries (Vertices-Edges-Faces). Have anyone experience with osgModeling?
> It is a helpful extension?
>
> Cheers
>
> Martin
>
>
> Am 10.02.2010 13:50, schrieb Martin Großer:
>> Hello,
>>
>> i would like implement the catmull clark algorithm in my osg application.
>> Therefore I need to detect the faces and the edges of the arbitrary mesh.
>> Have everyone a tip for me for a smart face and edge access or detection?
>>
>> The two first steps of the algorithm are:
>> 1. Add to every face a point.
>> 2. Add to every edge a point.
>>
>> I have no idea for a smart implementation.
>>
>> My main goal is to convert a arbitrary mesh into a quad mesh.
>>
>>
>>
>> Cheers
>>
>> Martin
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org