[X3D-Ecosystem] IndexedFaceSet in OpenGL 2

John Carlson yottzumm at gmail.com
Wed May 7 04:05:47 PDT 2025


I had to go clear back to glBegin in
https://registry.khronos.org/OpenGL-Refpages/gl2.1/ to find a reference to
GL_POLYGON, which I believe is the ancient implementation of
IndexedFaceSet.  Here is a pretty picture of the glBegin parameters:


As far as I know, these aren’t supported in OpenGL anymore,  but it looks
like JOGAMP/JOGL have GL_POLYGON still:
https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/GL2.html#GL_POLYGON

And I use it here:

https://github.com/coderextreme/lircom/blob/master/src/main/java/impact/Polygon.java

And it should work, but I haven’t tested it, I think, since moving to a new
graphics card.  Instead, I am moving away from JOGAMP, towards X3D.  On my
old graphics card, GL_POLYGON would show non-coplanar “polygons,” actually
triangles.  Java just doesn’t seem like a favorable platform, except as a
way to validate XML and therefore JSON.  That is why I am moving my motion
capture to X3D

JOGL was last released Aug 2023.

Many are hoping for WebGPU support everywhere.  Seems like it might be a
good way to go closed source, and against web principles of openness.


If anyone is up to developing X3D engine on top of something on top of
Vulkan, I’m game.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250507/c3f6db84/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6433A007-37FD-4DE2-B172-81874A04D64F.png
Type: image/png
Size: 7986 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250507/c3f6db84/attachment.png>


More information about the X3D-Ecosystem mailing list