<div dir="ltr">Here's an example of an area to work on: I was working on .mapping yesterday and noticed I didn't have the wood grain texture on GreenChair right leg front correct when zoomed in. I found my texture area and the sample viewer texture area on the raw image in GIMP - about x=500 / 2048, and ydown 1170/2048 for sample viewer and ydown 716 for freewrl. I tried flipping the y = 1 - y, but not close enough. tried scaling by texture scale, didn't nail it but got closer.<div>One idea is to look at the export code in blender, or to do some smaller sample scene in blender with texture transform, to sort it out.<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 3, 2022 at 3:34 PM Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com">michalis.kambi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Note that we already edited that statement in<br>
<a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html" rel="noreferrer" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html</a><br>
--  it's "Lighting component level 3" (not 4 as in spec comment) and<br>
we list "Minimum required glTF support".<br>
<br>
Looking at that "Minimum required glTF support" it implies the need to support:<br>
<br>
- Shape:2, Lighting:3 as already stated there<br>
- Grouping:1 (already mentioned as "Prerequisites" for Networking:2 though)<br>
- Rendering:3 or Geometry3D:2 (you need *some* way to render meshes<br>
composed from any triangles, obviously)<br>
<br>
This does not cover "what do you need to convert 100% of glTF into<br>
X3D", because we do not know the answer to that yet.<br>
<br>
The best attempt at mapping glTF->X3D is on<br>
<a href="https://github.com/michaliskambi/x3d-tests/wiki/Converting-glTF-to-X3D" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/wiki/Converting-glTF-to-X3D</a><br>
that I linked om this list before. It lists my knowledge (and thus<br>
CGE/view3dscene implementation) and has bits of knowledge about what<br>
X3DOM is doing. I welcome other implementors to review it and modify<br>
-- what are *you* doing, and if you're doing something else -- write<br>
*why*. Edit wiki, or just write email to me.<br>
<br>
But that wiki page does not cover everything from glTF, we're not<br>
there yet. Some things require research. Some things are more obvious<br>
how to do (we could probably get consensus about them easily), but<br>
still require adding it to spec at some point (like Tangent node or<br>
X3DColorNode.mode). I hope to work on them after X3D 4.0 (it takes<br>
ages to finalize X3D 4.0, so at this point I very don't want to add<br>
anything to X3D 4.0 :) ).<br>
<br>
We'll get to a "nicely written and complete" mapping glTF->X3D at some<br>
point, but this is still a work in progress. X3D 4.0 is in nice<br>
position (with PhysicalMaterial and many other things matching glTF)<br>
but we still have way to go. Both implementations (including my own)<br>
and the spec.<br>
<br>
Regards,<br>
Michalis<br>
<br>
pon., 2 maj 2022 o 00:06 Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> napisał(a):<br>
><br>
> Maybe this needs a nice graph that links standard gltf data asset fields to certain x3d native data fields and those that are ‘compiled’ containers of data derived from certain x3d fields.<br>
><br>
> Thanks<br>
><br>
> Joe<br>
><br>
><br>
><br>
> From: Brutzman, Donald (Don) (CIV)<br>
> Sent: Monday, April 25, 2022 8:15 AM<br>
> To: Andreas Plesch<br>
> Cc: Spec Feedback; X3D Public Mailing List (<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>); <a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a><br>
> Subject: Re: [x3d] Spec Comment by on 19775-1: X3D Architecture - V4.0:component support needed for glTF inline loading conversion<br>
><br>
><br>
><br>
> [cc: x3d-public]<br>
><br>
><br>
><br>
> Thanks for insightful comment.  Happy to modify this statement to list all<br>
><br>
> appropriate components, possibly Immersive profile.<br>
><br>
><br>
><br>
> Michalis, do you have any opinions from writing your glTF->X3D conversion<br>
><br>
> code?<br>
><br>
><br>
><br>
> It helps to know full coverage.  If there is a glTF test file that includes<br>
><br>
> all constructs, that would also be helpful to convert and add to our<br>
><br>
> architecture.<br>
><br>
><br>
><br>
> all the best, Don<br>
><br>
> --<br>
><br>
> Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
><br>
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<br>
><br>
> X3D graphics, virtual worlds, Navy robotics https://<br>
><br>
> <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">faculty.nps.edu/brutzman</a><br>
><br>
><br>
><br>
> -----Original Message-----<br>
><br>
> From: x3d <<a href="mailto:x3d-bounces@web3d.org" target="_blank">x3d-bounces@web3d.org</a>> On Behalf Of Spec Feedback<br>
><br>
> Sent: Thursday, April 21, 2022 12:47 PM<br>
><br>
> To: <a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a><br>
><br>
> Subject: [x3d] Spec Comment by on 19775-1: X3D Architecture - V4.0<br>
><br>
><br>
><br>
> -- Submitter indicates that this comment may be public: *Yes* --<br>
><br>
><br>
><br>
> Comment on 19775-1: X3D Architecture - V4.0<br>
><br>
><br>
><br>
> <a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/component" rel="noreferrer" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/component</a><br>
><br>
> s/networking.html#X3DUrlObject<br>
><br>
><br>
><br>
> -----------------<br>
><br>
> "Support for loading glTF assets (see 2.[GLTF]) also requires support for<br>
><br>
> Shape component level 2 and Lighting component level 4."<br>
><br>
><br>
><br>
> Many different data fragments may be contained in the current standard gltf<br>
><br>
> asset structure, even animation data, so maybe also more general statement?<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> -----------------<br>
><br>
><br>
><br>
> Submitted on Thursday, 2022,  April 21 - 12:47pm by  (Joe D Williams )<br>
><br>
> IP: 12.206.82.58<br>
><br>
><br>
><br>
> See: <a href="https://www.web3d.org/node/1694/submission/5663" rel="noreferrer" target="_blank">https://www.web3d.org/node/1694/submission/5663</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
><br>
> x3d mailing list<br>
><br>
> <a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a><br>
><br>
> <a href="http://web3d.org/mailman/listinfo/x3d_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d_web3d.org</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>