[x3d-public] Updated X3D4 JSON schema to include EnvironmentLight/IBL

Michalis Kamburelis michalis.kambi at gmail.com
Fri Feb 5 21:01:21 PST 2021


A few initial EnvironmentLight tests are in
https://github.com/michaliskambi/x3d-tests/tree/master/pbr/environment_light
. view3dscene handles them.

Regards,
Michalis

W dniu pt., 5.02.2021 o 13:47 John Carlson <yottzumm at gmail.com> napisał(a):

> Updated.   Added EnvironmentLight.
>
> Still at:
>
>
> https://raw.githubusercontent.com/coderextreme/X3DJSONLD/master/src/main/schema/x3d-4.0-JSONSchema.json
>
> Use, abuse, contribute, distribute!
>
> I don't have any examples, if someone wants to share?
>
> John
>
> On 2/4/21 11:12 PM, John Carlson wrote:
> > X3D JSON Schema
> >
> > Changes to global, skinBindingCoord(s), alphaCutoff and alphaMode.
> >
> > Complete source is here:
> >
> >
> https://raw.githubusercontent.com/coderextreme/X3DJSONLD/master/src/main/schema/x3d-4.0-JSONSchema.json
> >
> >
> > I'll check for a new version of meta-schema soon!
> >
> > Don, would you want me to start on schema generation with XSLT before
> > you jump on board?
> >
> > John
> >
> >
> > diff --git a/src/main/schema/x3d-4.0-JSONSchema.json
> > b/src/main/schema/x3d-4.0-JSONSchema.json
> > index 95e054b48..f10f28081 100644
> > --- a/src/main/schema/x3d-4.0-JSONSchema.json
> > +++ b/src/main/schema/x3d-4.0-JSONSchema.json
> > @@ -11121,6 +11121,11 @@
> >                "pattern": "^(\\s|\\S)*$",
> >                "type": "string"
> >              },
> > +            "@global": {
> > +              "pattern": "^\\s*(true|false)\\s*$",
> > +              "default": false,
> > +              "type": "boolean"
> > +            },
> >              "@load": {
> >                "pattern": "^\\s*(true|false)\\s*$",
> >                "default": true,
> > @@ -13717,10 +13722,10 @@
> >              "-skin": {
> >                "$ref":
> > "#/definitions/-Group-Transform-Shape-IndexedFaceSetMFNode"
> >              },
> > -            "-skinBindingCoords": {
> > +            "-skinBindingCoord": {
> >                "$ref": "#/definitions/-X3DCoordinateNodeSFNode"
> >              },
> > -            "-skinBindingNormals": {
> > +            "-skinBindingNormal": {
> >                "$ref": "#/definitions/-X3DNormalNodeSFNode"
> >              },
> >              "-skinCoord": {
> > @@ -20897,6 +20902,24 @@
> >              "-acousticProperties": {
> >                "$ref": "#/definitions/-AcousticPropertiesSFNode"
> >              },
> > +            "@alphaCutoff": {
> > +              "pattern":
> >
> "^(\\s)*([+-]?((0|[1-9][0-9]*)(\\.[0-9]*)?|\\.[0-9]+)([Ee][+-]?[0-9]+)?)(\\s)*$",
> > +              "maximum": 1,
> > +              "minimum": 0,
> > +              "default": 0.5,
> > +              "type": "number"
> > +            },
> > +            "@alphaMode": {
> > +              "pattern": "^(\\s|\\S)*$",
> > +              "enum": [
> > +                "AUTO",
> > +                "OPAQUE",
> > +                "MASK",
> > +                "BLEND"
> > +              ],
> > +              "default": "AUTO",
> > +              "type": "string"
> > +            },
> >              "-fillProperties": {
> >                "$ref": "#/definitions/-FillPropertiesSFNode"
> >              },
> >
>
> _______________________________________________
> 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/20210206/1d1aa90b/attachment.html>


More information about the x3d-public mailing list