[x3d-public] X3DOM vs X_ITE? Browser bake-off, round 1
John Carlson
yottzumm at gmail.com
Thu Aug 7 19:58:24 PDT 2025
Oh, cool, I wasn’t aware one could set gamma correction with an Environment
element. Good info! Is this a cross-browser feature yet?
These are examples from the archives, I’ve just had them stashed for early
testing, probably in 2017. I don’t know if any authors are in the files
yet.
I guess it’s time to separate myself from kinematics and get back to normal
stuff.
On Thu, Aug 7, 2025 at 9:05 PM Andreas Plesch <andreasplesch at gmail.com>
wrote:
> Hi John,
>
> after some attempts, I could get the pixeltexture examples to load in both
> viewers.
>
> The difference is due to the 'DEFAULT' value of magnificationFilter in
> TextureProperties:
> https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureProperties
>
> x3dom has the webgl default (I think 'FASTEST') and x_ite probably has
> "NEAREST_PIXEL" which was probably the traditional default.
>
> For a more specific prescription of desired rendering an author has to
> explicitly set magnificationFilter to a value other than 'DEFAULT'.
>
> Cheers, -Andreas
>
> PS: for better color correspondence, switch off gamma correction in x3dom
> with
>
> https://doc.x3dom.org/tutorials/lighting/gamma/index.html
>
> eg.,
>
> <Environment id="gamma" gammaCorrectionDefault="none"></Environment>
>
> Cheers, -Andreas
>
> On Thu, Aug 7, 2025 at 9:16 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> It occurred to me that you can pick up data files here:
>> https://coderextreme.net/X3DJSONLD/src/main/data/
>>
>> Mouse over a link to get the filename, I think.
>>
>> I know it’s clunky.
>>
>> Thanks,
>>
>> John
>>
>> On Thu, Aug 7, 2025 at 7:59 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> Please look at these examples on
>>> https://coderextreme.net/X3DJSONLD/src/main/html/main_viewer.html under
>>> NavigationInfo type menu at right. There’s a difference between X3DOM and
>>> X_ITE, but I don’t know which is correct yet. If needed, I can track down
>>> the .x3d files. They’re in this folder which is huge:
>>> https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data
>>>
>>> -
>>> - indexedfaceset_pixeltexture_entire.json
>>> - indexedfaceset_pixeltexture_part.json
>>> - indexedfaceset_pixeltexture_plus.json
>>> - indexedfaceset_pixeltexture_whole.json
>>>
>>>
>>> Thanks,
>>>
>>> John
>>>
>>> P.S.: if all else fails, I will attach them.
>>>
>>
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250807/3d8f1ecb/attachment.html>
More information about the x3d-public
mailing list