About the PCL Bspline fitting code...

We actually have some extensive work done to make that code function
in BRL-CAD with just Eigen - see

http://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/src/libbrep/opennurbs_fit.cpp
http://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/src/libbrep/opennurbs_fit.h
http://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/src/librt/test_bot2nurbs.cpp

The code works well enough to fit surfaces to points, but we ended up
reaching a limit with that particular approach.  The problem is that
it cannot generate topologically closed B-Rep solids - edge
constraints aren't built in to the fitting solver.  Theoretically
fitting patches up until the vertex rows one edge away from the patch
intersections combined with something like
http://ieeexplore.ieee.org/xpl/abstractAuthors.jsp?arnumber=1290027 to
bridge the gaps might be able to make a valid B-Rep, but that's only
in theory - we've never attempted it to find out what the limitations
might be.  Even if that should happen to work, n that fitting approach
tends to generate really high order surfaces which aren't always
practical for raytracing.  There are other approaches, some of which
likely are practical, but it's a very large amount of difficult work
to make any of the possible ways succeed.

That said, we have not considered whether that capability would be
useful in other problem domains.  The existing code can be reactivated
fairly easily if there is a use for it - no need to rely on PCL for
that particular surface fitting capability.

Cheers,
CY

On Wed, Mar 11, 2015 at 2:04 AM, Nathan McCorkle <nmz...@gmail.com> wrote:
> I tried this recently
> http://pointclouds.org/documentation/tutorials/bspline_fitting.php
>
> Then pushed it into brl-cad with the BRL-CAD tool 3dm-g (converts the
> PCL output to BRL-CAD's .g database format)
>
> On Mon, Mar 9, 2015 at 11:54 AM, Daniel Carlson <dancarl...@gmail.com> wrote:
>> Thanks for the reply on the vector drawings in NURBS. Also taking into
>> consideration the project on Point Clouds. Downloaded the PCL(Point Cloud
>> Library) and trying to get used to the library. Also got some documents on
>> point clouds. Any pointers on the point cloud primtive or the point cloud
>> project in general will be greatly appreciated.
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs
>> to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> brlcad-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>
>
>
>
> --
> -Nathan
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to