On Jul 20, 2015, at 5:03 PM, Brad Hollister <behol...@soe.ucsc.edu> wrote:
> I assume there isn't any functionality that does this, even in a > related form? If not, this could be easily handled with a field such > as: That is a correct assumption, though one that has been discussed before. We also need some means for describing a UV mapping and/or other per vertex / edge / face information. Maybe there’s some generic way we can assign metadata to elements and markings could be stored there. > struct model { > ... > struct bu_list mark; /**< @brief list of marked model parts */ > }; Possibly, but I’m not sure we’d want separate pointers (it should probably be a pointer) for the other metadata like per-vertex colors. If the set of metadata is limited, that might be the most efficient option, however. > Is there a preference as to how parts are to be specified? There isn't > an obvious way to do this with the command-line. I do have a few ideas > that I will post on the Wiki and request feedback for. No preference other than it should be as simple as possible since the structure itself is already really complicated to understand. I don’t think the user should need to understand radial edge (or winged or whatever else) to use the command-line. > Once a part(s) are marked, how should this be evident in the real-time > rendering? Can individual parts of a model's color be specified in the > code? There’s already a key=value attribute system on all objects that can be used for relatively simple values (like colors). Technically, you could store pretty much anything but it’s currently string=string so you’d have a serialization/deserialization cost. There is experimental support for binary attributes that Tom worked on over a year ago, but that has to be tested before getting put to use. Cheers! Sean ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel