Hi Nathan,

> In mged I can repeatedly click the raytrace button and it updates
> pretty quickly, but I can't seem to find an option to auto-raytrace (I
> checked in the drop-down menus but nothing seems available). Basically
> I want to interact (rotate, pan) with the raytraced 3D representation,
> rather than the default red wireframe.

We call this a “shaded display”.  Historically, ray tracing was too slow of a 
method to provide shaded displays interactively.  The usual method is via 
rasterization (e.g., displaying polygons via OpenGL), which mged only supports 
experimentally. 

> To get around this, for now I've just been piping my Python-generated
> mged-tcl scripts to mged on the command-line, then converting the
> g-file to an STL and opening that in meshlab. This is OK, but for
> testing things like object/group/combination rotation it's a little
> laggy of a debug process.

If you’re running mged, you can try running “draw -m1 yourobject” or “set 
shaded_mode 1” and then “ev yourobject” or “E yourobject” to display something 
you named as “yourobject" in a shaded mode.  Make sure display lists and 
lighting are enabled on the Misc menu first.  If you’ve imported polygonal mesh 
geometry, the prior will work.  If not, the latter will work but can be slow if 
the geometry is complicated.  In archer, you can right-click and display as 
shaded.

We’re working on a better long-term solution that we plan to unveil after 
archer comes out of beta (est. early next year).

Cheers!
Sean


------------------------------------------------------------------------------
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 Users mailing list
brlcad-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to