[x3d-public] [x3dom-developers] rendering issue for expanded prototype results (not related I hope), Cobweb vs X3DOM

Andreas Plesch andreasplesch at gmail.com
Mon Jul 4 00:05:41 PDT 2016


Hi John

https://github.com/x3dom/x3dom/issues/579

looks like the same issue.

Andreas
On Jul 3, 2016 11:53 PM, "John Carlson" <yottzumm at gmail.com> wrote:

> The new downloads allowed me to test
> examples/Vrml2.0Sourcebook/Chapter31-Prototypes/Figure31.5/WoodAppearanceExternalPrototypes.json
> in the prototype expander.
>
>
>
> This file renders differently in X3DOM versus Cobweb in my X3D XML
> Loader.  Cobweb renders in brown, and X3DOM renders in grey.  I do not
> think it’s prototype
>
> Expander related, but it could be an error in the file or the way the
> different browsers handle diffuseColor and ImageTexture.  It could be an
> error in my loader as well (empty()).
>
>
>
> Worthy of further investigation and running different versions through
> X3D-Edit.
>
>
>
> John
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "
> http://www.web3d.org/specifications/x3d-3.0.dtd">
>
> <X3D  profile="Immersive" version="3.0" ><head><meta name="title"
> content="Figure31.5WoodAppearanceExternalPrototypes.x3d"></meta>
>
> <meta name="creator" content="Figure 31.5, The VRML 2.0 Sourcebook,
> Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L.
> Moreland"></meta>
>
> <meta name="translator" content="Don Brutzman"></meta>
>
> <meta name="reference" content="
> http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig05.htm"></meta>
>
> <meta name="created" content="28 September 2000"></meta>
>
> <meta name="modified" content="15 January 2011"></meta>
>
> <meta name="description" content="Two wood blocks using appearance-node
> types from an external appearance library file. Note modification of second
> prototype using a TextureTransform node parameter."></meta>
>
> <meta name="identifier" content="
> http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/Figure31.5WoodAppearanceExternalPrototypes.x3d
> "></meta>
>
> <meta name="generator" content="X3D-Edit 3.3,
> https://savage.nps.edu/X3D-Edit"></meta>
>
> <meta name="license" content="../../license.html"></meta>
>
> </head>
>
> <Scene><Transform translation="-2 0 0"><Shape><Box
> containerField="geometry"></Box>
>
> <Appearance containerField="appearance"
> DEF="DECLDarkOak_INSTANCE_DarkOakAppearance"><!--textureTransform field IS
> exposed through the Prototype field interface with same name--><Material
> containerField="material" diffuseColor="1 0.45 0.23"></Material>
>
> <ImageTexture containerField="texture"
> DEF="DECLDarkOak_INSTANCE_wood_g_scope1"
> url=""examples/Vrml2.0Sourcebook/Chapter31-Prototypes/../Chapter17-Textures/wood_g.jpg"
> "
> http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter17-Textures/wood_g.jpg&quot
> ;"></ImageTexture>
>
> </Appearance>
>
> </Shape>
>
> </Transform>
>
> <Transform translation="2 0 0"><Shape><Box containerField="geometry"></Box>
>
> <Appearance containerField="appearance"
> DEF="DECLLightOak_INSTANCE1000_LightOakAppearance"><!--textureTransform
> field IS exposed through the Prototype field interface with same
> name--><!--Note that each prototype declaration has independent scope, and
> so DEF/USE is not possible for sharing. DEF remains a good way to identify
> the image file however.--><TextureTransform
> containerField="textureTransform" center="0 5" rotation="0.758" scale="2
> 0.5" translation="0.5 0"></TextureTransform>
>
> <Material containerField="material" diffuseColor="1 0.65 0.53"></Material>
>
> <ImageTexture containerField="texture"
> DEF="DECLLightOak_INSTANCE1000_wood_g_scope2"
> url=""examples/Vrml2.0Sourcebook/Chapter31-Prototypes/../Chapter17-Textures/wood_g.jpg"
> "
> http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter17-Textures/wood_g.jpg&quot
> ;"></ImageTexture>
>
> </Appearance>
>
> </Shape>
>
> </Transform>
>
> </Scene>
>
> </X3D>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> x3dom-developers mailing list
> x3dom-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x3dom-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160704/9b4788ea/attachment.html>


More information about the x3d-public mailing list