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

Holger Seelig holger.seelig at yahoo.de
Fri Jul 2 05:25:10 PDT 2021


Updated X_ITE to have X3D V4 field names for ComposedCubeMapTexture.


> Am 02.07.2021 um 13:51 schrieb John Carlson <yottzumm at gmail.com>:
> 
> X3D4 added Texture to back, front, … container fields in XML.   See X3DUOM 4.0, “backTexture” entries under ComposedCubeMapTexture.  back, front,  … are now synonyms for backTexture, frontTexture, etc.   just search for synonym may be easier.
> 
> I can’t change to back, front, … because my Java, NodeJs and Python serializers do not convert back to setBackTexture, instead they use setBack.   Guess what?  X3DJSAIL does not have a setBack with a signature I want.   Yes, I do have ways to override the method I haven’t deployed in mapToMethod2.js
> 
> Not only that, X3DOM expects back, front, etc.
> 
> So is someone trying to piss me off?  Idk.   I think I might be the only person who actually uses ComposedCubeMapTexture!
> 
> Thanks for the updates.  I will go to sleep less upset.
> 
> John
> 
> On Fri, Jul 2, 2021 at 6:02 AM Holger Seelig <holger.seelig at yahoo.de <mailto:holger.seelig at yahoo.de>> wrote:
> 
> 
> 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 <mailto: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 <mailto:x3d-public at web3d.org>
>> http://web3d.org/mailman/listinfo/x3d-public_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/a0edd0bf/attachment-0001.html>


More information about the x3d-public mailing list