<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">1. There is a extension attribute in X3DOM called the 'render' attribute which serves this purpose, with opposite parity (meaning render=true has the same effect as hidden=false). It is higher up in the X3DOM inheritance tree, (see <a href="https://doc.x3dom.org/author/Grouping/X3DBoundedObject.html" class="">https://doc.x3dom.org/author/Grouping/X3DBoundedObject.html</a> ) so it is an attribute in both the ShapeNode and the grouping nodes.<div class=""><br class=""></div><div class="">2. To add this field to Shape, and potentially the grouping nodes, we would need to specify how it behaves when the Shape node is referenced multiple times in a Scene with DEF/USE statements. This is a common pattern when a Shape is something which is repeated multiple times, think tires on a car. However, if 'hidden' is defined as a field on the Shape then all the tires would be shown/hidden together, which may not be the desired effect. If the authoring solution to avoid this is to enclose each tire in its own Group node and apply hidden on that Group, then you're pretty much back to the existing design pattern available with the Switch node.<br class=""><div><br class=""></div><div>Vince Marchetti</div><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 12, 2019, at 11:23 AM, Don Brutzman <<a href="mailto:brutzman@nps.edu" class="">brutzman@nps.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">A common task in 3D graphics is selectively hiding geometry.<br class=""><br class="">X3D is fairly clumsy about this, typically requiring Switch or LOD animation to achieve it.<br class=""><br class="">HTML has a much simpler approach, the 'hidden' attribute.  There is a similar construct in CSS.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">    </span>HTML5 6.1 The hidden attribute<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute" class="">https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute</a><br class=""><br class="">As a similar way to simplify hidding, either for pure X3D or hybrid html/X3D, wondering if we might add a 'hidden' attribute to Shape.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">  </span>12.4.6 Shape<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD1/Part01/components/shape.html#Shape<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>SFBool [in out] hidden FALSE<br class=""><br class="">Might we add hidden to Shape?  Is there a better approach?<br class=""><br class="">all the best, Don<br class="">-- <br class="">Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu<br class="">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br class="">X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman<br class=""><br class="">_______________________________________________<br class="">x3d-public mailing list<br class="">x3d-public@web3d.org<br class="">http://web3d.org/mailman/listinfo/x3d-public_web3d.org<br class=""></div></div></blockquote></div><br class=""></div></body></html>