[X3D-Public] [Cad] Progress on X3DOM - CADGeometry component

Don Brutzman brutzman at nps.edu
Thu May 30 20:50:44 PDT 2013


cc: x3d-public

Summary:  CAD component node support available for X3DOM.

OK the X3dToX3dom.xslt stylesheet now integrates these changes Vince - 
thanks for the teleconference this afternoon.

Also updated:  X3D-Edit and X3D Validator.

Also updated:  X3D Basic Examples archive.

On 5/21/2013 9:25 AM, Vincent Marchetti wrote:
> There is an implementation of the IndexedQuadSet node (part of the
> CADGeometry component) for X3DOM in the javascript
> http://www.kshell.com/pages/x3dom/x3dom_cad/scripts/CADGeometry.js
>
> I plan to commit this to the X3D SourceForge code at
> https://svn.code.sf.net/p/x3d/code/www.web3d.org/x3d/content/examples/Basic/CAD/x3dom/CADGeometry.js
> after some more testing.

This is what gets linked in an X3DOM .xhtml file exported from .x3d by 
the stylesheet.  it is triggered by the presence of any CAD* node in a 
scene, also by QuadSet or IndexedQuadSet.

> With this implementation the current IndexedQuadSet example  at
> http://www.web3d.org/x3d/content/examples/Basic/CAD/_pages/page16.html,
> can be rendered in X3DOM, see the xhtml page at
> http://www.kshell.com/pages/x3dom/x3dom_cad/IndexedQuadSetExample.xhtml

due to file additions, now at
http://www.web3d.org/x3d/content/examples/Basic/CAD/_pages/page17.html

> I have prepared another X3D example file for the IndexedQuadSet node,
> that demonstrates setting normals for the QuadSet and applying an image
> texture. This file can be placed in the CAD examples set. The X3D model
> is at
> http://www.kshell.com/pages/x3dom/x3dom_cad/IndexedQuadSetTexture.x3d
> and I have also committed it to the SourceForge project at
> https://svn.code.sf.net/p/x3d/code/www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetTexture.x3d.
> The XHTML page generated from this model by the X3dToX3DOM stylesheet is
> at http://www.kshell.com/pages/x3dom/x3dom_cad/IndexedQuadSetTexture.xhtml

also now at
http://www.web3d.org/x3d/content/examples/Basic/CAD/_pages/page17.html

note the "check mark" button in the page interface, providing a link to 
test each scene in the X3D Validator.  screen shot attached.  8)

direct links to your new examples:

http://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetTexture.x3d
http://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetTexture.html
http://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetTexture.xhtml
https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetTexture.x3d

http://www.web3d.org/x3d/content/examples/Basic/CAD/QuadSetColor.x3d
http://www.web3d.org/x3d/content/examples/Basic/CAD/QuadSetColor.html
http://www.web3d.org/x3d/content/examples/Basic/CAD/QuadSetColor.xhtml
https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/x3d/content/examples/Basic/CAD/QuadSetColor.x3d

additional test scenes for CAD nodes:

http://www.web3d.org/x3d/content/examples/Basic/CAD/CadTeapot.x3d
http://www.web3d.org/x3d/content/examples/Basic/CAD/CadTeapot.html
http://www.web3d.org/x3d/content/examples/Basic/CAD/CadTeapot.xhtml
https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/x3d/content/examples/Basic/CAD/CadTeapot.x3d

http://www.web3d.org/x3d/content/examples/Basic/CAD/CatiaHubAssemblyCombined.x3d
http://www.web3d.org/x3d/content/examples/Basic/CAD/CatiaHubAssemblyCombined.html
http://www.web3d.org/x3d/content/examples/Basic/CAD/CatiaHubAssemblyCombined.xhtml
https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/x3d/content/examples/Basic/CatiaHubAssemblyCombined.x3d

"no good deed goes unpunished" department:  X3DOM is still missing the 
Geometry2D nodes
http://www.web3d.org/x3d/content/examples/Basic/CAD/CadDesignPatternExampleBushing.x3d
http://www.web3d.org/x3d/content/examples/Basic/CAD/CadDesignPatternExampleBushing.xhtml

So, this is another milestone!  Let's test further and when everyone is 
satisfied it is ready, offer the component back to the X3DOM group. 
Bravo Vince.


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X3dExampleArchiveInterface-CheckMarkValidation.png
Type: image/png
Size: 83092 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20130530/80deeb15/attachment-0001.png>


More information about the X3D-Public mailing list