<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello people,<div><br></div><div>is there a program which can approve, if the script (<a href="http://www.bestaltmed.at/slicer/neucullfrontface.x3d.zip">www.bestaltmed.at/slicer/modelcullfrontface2.x3d.zip</a>) code is written correct? </div><div>In one tool (freeWRL) it highlights the smaller models, in the other tool (blender) not.</div><div><br></div><div>Thx,</div><div>Chris</div><div><br></div><div><br><div><div>Am 10.07.2012 um 18:44 schrieb Vincent Marchetti:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Jul 10, 2012, at 12:09 PM, Michalis Kamburelis wrote:<br><br><blockquote type="cite">Don Brutzman wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">again cc: x3d-public.  apologies i can't check this today but perhaps<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">someone else can.  good luck!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On 7/10/2012 12:38 AM, Chris wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hello Don,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">thx for your answer. I know there is no error in the code.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I try since days to cull the front face of the bigger objects to see the smaller objects in the bigger one.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">At the moment I have no idea how this should be working?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Do you have a idea.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">To cull the faces, use solid="true" for IndexedFaceSet (and other geometry nodes with faces). This is already the default in X3D actually. Use ccw="false" to flip which side is culled (default is ccw="true" in X3D). The relevant spec part is "11.2.3 Common geometry fields", on <a href="http://www.web3d.org/files/specifications/19775-1/V3.2/Part01/components/rendering.html#CommonGeometryFields">http://www.web3d.org/files/specifications/19775-1/V3.2/Part01/components/rendering.html#CommonGeometryFields</a> .<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hope this helps,<br></blockquote><blockquote type="cite">Michalis<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">X3D-Public mailing list<br></blockquote><blockquote type="cite"><a href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a><br></blockquote><blockquote type="cite"><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br></blockquote><br>In addition to Michalis' suggestion to reverse the culling of the outer object, you may also be able to get the effect you want by making the transparent attribute of the Appearance node for the outer shape close to 1, to see the inner object inside the outer. You may have to experiment with the colors of the different objects, and making the Background node "skycolor" = "1 1 1" (white) greatly improves the visibility of the transparent shapes. You can use the X3D-Edit application to edit the Appearance and color nodes. Also, the Xj3D browser allows you to selectively hide different parts of the Scene Graph, use the View > Scene Tree menu to do this.<br><br><br>_______________________________________________<br>X3D-Public mailing list<br><a href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a><br>http://web3d.org/mailman/listinfo/x3d-public_web3d.org<br></div></blockquote></div><br></div></body></html>