Hi Harmanpreet,
(I'm a mailing-list lurker, not a BRL-CAD developer...)
The NURBSForTHREE library looks interesting, but it doesn't appear to have
any support for trim curves yet. So although it can tesselate un-trimmed
NURBS, you would probably have to do quite a lot of additional work, either
to add trimming in the tessellation or to hide the trimmed regions in a
shader.
Jonathan Merritt.
On Sun, Jun 30, 2013 at 7:39 AM, Harmanpreet Singh <harman...@gmail.com>wrote:
> On Sat, Jun 29, 2013 at 9:22 PM, Harmanpreet Singh <harman...@gmail.com>
> wrote:
> > On Sat, Jun 29, 2013 at 2:41 AM, Christopher Sean Morrison
>
> >> Alternatively, you could export the brep directly and figure out how to
> visualize NURBS geometry directly if you find a web technology that
> supports them.
> >
> > I will share shortly whatever I find.
>
> Didn't found anything specific for direct visualization of NURBS
> geometry. However, three.js developers have implemented NURBS curves
> and surfaces to work with three.js but I'm not sure whether it is
> currently useful for us, may be in future.
>
> Check here:
> https://github.com/sntx/NURBSForTHREE
>
> However, three.js has support for importing OBJ files. Check:
> https://github.com/mrdoob/three.js/wiki/Features
>
> So it looks suitable. Comments and suggestions appreciated.
> --
> Harmanpreet Singh
> Blog: http://singhharman.wordpress.com/
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel