[x3d-public] Where have all the flowers gone? John status.

Holger Seelig holger.seelig at yahoo.de
Fri Jul 2 04:01:49 PDT 2021




Attached flower.zip with shaders updated to WebGL2 also have a look at https://webgl2fundamentals.org/webgl/lessons/webgl1-to-webgl2.html <https://webgl2fundamentals.org/webgl/lessons/webgl1-to-webgl2.html> how to WebGL to WebGL2.
Also updated flowerproto.json. ComposedCubeMap fields are actually back, front, … not backTexture, frontTexture, …

Best regards,
Holger



> Am 02.07.2021 um 11:23 schrieb John Carlson <yottzumm at gmail.com>:
> 
> I just looked at the the flowers.xhtml page, and neither the fragment nor the vertex shader are working in X_ITE (should be similar to X3DOM.)
> 
> On Fri, Jul 2, 2021 at 12:17 AM John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
> 1.  Pages like: https://coderextreme.net/X3DJSONLD/src/main/html/flowers.xhtml <https://coderextreme.net/X3DJSONLD/src/main/html/flowers.xhtml> are half-broken with X_ITE objects showing up in white
> 
> 2.  Apparently, X_ITE has upgraded it shading language to WebGL2/OpenGL ES 3.0
> 
> 3.  I don't want to go backwards and try to support an older version of X_ITE
> 
> 4.  X3DOM has some problems with X3D4 containerField non-synonyms (not in shown in above example).
> 
> This works in X3DOM (note 6 misspelled containerFields--they use synonyms in X3D4):
> 
>  				<ComposedCubeMapTexture DEF="texture <>">
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_back.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_back.png" <>' containerField="back <>"/>
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_bottom.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_bottom.png" <>' containerField="bottom <>"/>
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_front.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_front.png" <>' containerField="front <>"/>
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_left.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_left.png" <>' containerField="left <>"/>
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_right.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_right.png" <>' containerField="right <>"/>
> 					<ImageTexture url='"../resources/images/all_probes/stpeters_cross/stpeters_top.png" "https://coderextreme.net/X3DJSONLD/images/all_probes/stpeters_cross/stpeters_top.png" <>' containerField="top <>"/>
> 				</ComposedCubeMapTexture>
> 
> However, containerFields with Texture trailing the side do not.
> 
> We need more work on backTexture, frontTexture, ... containerFields in X3DOM for X3D4. I use this quite a bit in my code.
> 
> 5.  How do I implement chromatic aberration in X3D?  (See PlayCanvas in flowers.xhtml above).  Preferably, not dropping into a shading language, so I can use an enduring standard.
> 
> 
> 
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210702/967a57b4/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flower.zip
Type: application/zip
Size: 591231 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210702/967a57b4/attachment-0001.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210702/967a57b4/attachment-0003.html>


More information about the x3d-public mailing list