Thanks Sean, that is exactly what I was looking for.  The output from
rtedge looks great.

Is there any documentation of the edge detection algorithms applied in
rtedge?  It is done as a raster, do you know if it can be done as a vector
instead?

I went to try to look for the code.  I must admit, I couldn't really figure
out where to start looking.  I'm also on a Mac -- would using 7.24.0 pose
any problems for playing with this?  I'd like to be able to read a STEP or
IGES file and then see what rtedge produces.

Obviously, longer term I'm looking to steal good ideas and implement them
natively in OpenVSP.  We don't have any sort of ray tracing engine, so our
implementation will have to be considerably different.

Rob


On Mon, Mar 8, 2021 at 9:09 PM Christopher Sean Morrison via brlcad-devel <
[email protected]> wrote:

> Rob,
>
> BRL-CAD includes an application called “rtedge” that produces rasterized
> hidden line edge drawings.  These can be useful standalone as a foundation
> for diagrams and blueprinting, or they can be overlaid over shaded
> renderings.  Here are a couple examples:
>
> https://www.facebook.com/brlcad/photos/10155080800198873/
> *https://brlcad.org/gallery/galleries/renderings/bradley_rtwizard.jpg
> <https://brlcad.org/gallery/galleries/renderings/bradley_rtwizard.jpg>*
>
> There are related tools and features for other styles, such a generating a
> silhouette projection or generating flat-shaded rendering, plus a suite of
> tools that will post-process in image space (e.g., to quantize colors or
> color replacements and much more).
>
> Cheers!
> Sean
>
>
> On Mar 8, 2021, at 8:21 PM, Rob McDonald <[email protected]> wrote:
>
> What does BRL-CAD do in terms of NPR rendering?
>
> I'm not thinking particularly artistic forms of NPR, but mainly extracting
> feature lines on the fly.
>
> In OpenVSP, I have a few heuristics that create a few feature lines, but
> there are others that we don't generate -- and some that are there don't
> really add much to the view.
>
> I've read a bunch of papers about purely OpenGL based approaches -- while
> fast, those don't let you 'keep' the lines for output to a drawing (vector
> file) or whatnot.
>
> All this made me wonder what BRL-CAD does in this area.
>
> Best,
>
> Rob
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
>
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to