<div dir="auto">If you just take my subject, without reading the whole message, you might assume that I am talking about an Appearance node instead of appearance field.</div><div dir="auto"><br></div><div dir="auto">My question was, is the appearance field required in Shape.</div><div dir="auto"><br></div><div dir="auto">Sure, geometry and material are not required either.</div><div dir="auto"><br></div><div dir="auto">For context, the question was, what’s the minimal code for a graphical object in X3DOM.</div><div dir="auto">Andreas and I had come up with two different answers, and I was trying to use documentation to determine whether an Appearance node was required. The X3DOM didn’t list NULL as a default value. Andreas’ approach was to try actual examples.</div><div dir="auto"><br></div><div dir="auto">I’m pretty sure that just a shape node and a geometry node are required to show a graphical object, but at this point, let’s try actual examples.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 3, 2024 at 5:37 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin:0.1rem 0;line-height:1.0">> Finding required fields (Appearance) ... </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"><a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Shape" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Shape</a></p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"><a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Appearance" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Appearance</a></p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"><a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Material" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Material</a></p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0">Please look at the x3d standard. As you mentioned, default geometry is null in Shape. </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0">If there is a geometry then the Shape Material node is used. For Material there is a default set which would tend to make the geometry visible. For example, default transparency is 0. </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0">My, my, my, ... how the material node has grown along with PBR for 4.0:)</p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0">All Best,</p>
<p style="margin:0.1rem 0;line-height:1.0">Joe </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0px;line-height:1">Shape : X3DShapeNode {<br> SFNode [in,out] appearance NULL [X3DAppearanceNode]<br> SFBool [in,out] bboxDisplay FALSE<br> SFBool [in,out] castShadow TRUE<br> SFNode [in,out] geometry NULL [X3DGeometryNode]<br> SFNode [in,out] metadata NULL [X3DMetadataObject]<br> SFBool [in,out] visible TRUE<br> SFVec3f [] bboxCenter 0 0 0 (-∞,∞)<br> SFVec3f [] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1<br>}</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1">Appearance : X3DAppearanceNode {<br> SFNode [in,out] acousticProperties NULL [AcousticProperties]<br> SFFloat [in,out] alphaCutoff 0.5 [0,1]<br> SFString [in,out] alphaMode "AUTO" ["AUTO", "OPAQUE", "MASK", "BLEND"]<br> SFNode [in,out] backMaterial NULL [X3DOneSidedMaterialNode]<br> SFNode [in,out] fillProperties NULL [FillProperties]<br> SFNode [in,out] lineProperties NULL [LineProperties]<br> SFNode [in,out] material NULL [X3DMaterialNode]<br> SFNode [in,out] metadata NULL [X3DMetadataObject]<br> SFNode [in,out] pointProperties NULL [PointProperties]<br> MFNode [in,out] shaders [] [X3DShaderNode]<br> SFNode [in,out] texture NULL [X3DTextureNode]<br> SFNode [in,out] textureTransform NULL [X3DTextureTransformNode]<br>} </p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1">Material : X3DOneSidedMaterialNode {<br> SFFloat [in,out] ambientIntensity 0.2 [0,1]<br> SFNode [in,out] ambientTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] ambientTextureMapping ""<br> SFColor [in,out] diffuseColor 0.8 0.8 0.8 [0,1]<br> SFNode [in,out] diffuseTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] diffuseTextureMapping ""<br> SFColor [in,out] emissiveColor 0 0 0 [0,1]<br> SFNode [in,out] emissiveTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] emissiveTextureMapping ""<br> SFNode [in,out] metadata NULL [X3DMetadataObject]<br> SFFloat [in,out] normalScale 1 [0, ∞)<br> SFNode [in,out] normalTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] normalTextureMapping ""<br> SFFloat [in,out] occlusionStrength 1 [0,1]<br> SFNode [in,out] occlusionTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] occlusionTextureMapping ""<br> SFFloat [in,out] shininess 0.2 [0,1]<br> SFNode [in,out] shininessTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] shininessTextureMapping ""<br> SFColor [in,out] specularColor 0 0 0 [0,1]<br> SFNode [in,out] specularTexture NULL [X3DSingleTextureNode]<br> SFString [in,out] specularTextureMapping ""<br> SFFloat [in,out] transparency 0 [0,1]<br>}</p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0">not mention PhysicalMaterial and UnlitMaterial. </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
</div>
<div style="border-left:1px solid #aaa;box-sizing:border-box;padding:10px 0 10px 15px;margin:0">
<p>-----Original Message-----<br>From: Extensible 3D (X3D) Graphics public discussion <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>Sent: Aug 2, 2024 10:34 AM<br>To: Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" target="_blank">michalis.kambi@gmail.com</a>><br>Cc: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>, Extensible 3D (X3D) Graphics public discussion <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>Subject: Re: [x3d-public] Finding required fields (Appearance)</p>
<p style="margin:0.1rem 0;line-height:1.0"> </p>
<div dir="auto">I got something for x3d schema, but X3DUOM was blank. I don’t have my computer and I’m using chrome. I’m at the airport.</div>
<div dir="auto"> </div>
<div dir="auto">Should I use the spec on the road and tooltips? CGE?</div>
<div dir="auto"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Fri, Aug 2, 2024 at 9:35 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">I don’t know if Apple can still prevent other browsers from avoiding Apple’s Safari renderer on iOS. The issue was that apparently, the pages were blank because I was viewing XML schema and X3DUOM. Maybe I didn’t wait long enough. AFAIK, there’s no view source on Safari on iOS? Anyone know a trick?</div>
<div dir="auto"> </div>
<div dir="auto">I was unable to search through X3D JSON Schema on GitHub because the page crashed.</div>
<div dir="auto"> </div>
<div dir="auto">I can’t even search through my X3DUOM to JSON schema mapping on a web page which is rendered HTML.</div>
<div dir="auto"> </div>
<div dir="auto">I will try chrome unless the Firefox is proved to work on iOS.</div>
<div dir="auto"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Fri, Aug 2, 2024 at 7:31 AM Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" rel="noopener" target="_blank">michalis.kambi@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:#cccccc">Shape.appearance can be NULL.<br><br>I'm not sure about notes of iOS and Safari, it should naturally work<br>to search GitHub or to browse X3D specs :) You can also install other<br>browsers, lke Firefox, on iOS.<br><br>Michalis<br><br>czw., 1 sie 2024 o 17:32 John Carlson via x3d-public<br><<a href="mailto:x3d-public@web3d.org" rel="noopener" target="_blank">x3d-public@web3d.org</a>> napisał(a):<br>><br>> I’m looking for a way to determine whether an Appearance node is required, viewable in iOS Safari? Default is NULL in Shape, so I assume not.<br>><br>> I’m going to check X3D JSON Schema. Safari bombs when searching on GitHub.<br>><br>> Any approach would be great, I may even try vim.<br>><br>> John<br>> _______________________________________________<br>> x3d-public mailing list<br>> <a href="mailto:x3d-public@web3d.org" rel="noopener" target="_blank">x3d-public@web3d.org</a><br>> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noopener noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<p style="margin:0.1rem 0;line-height:1.0"> </p></blockquote></div></div>