• tcl3D demo for OpenGL Vertex Buffer Objects

    From Hans Nikolaus Beck@21:1/5 to All on Sat Jul 16 12:40:34 2022
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references about
    this topic?

    Thanks

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Obermeier@21:1/5 to All on Sat Jul 16 22:31:50 2022
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references about
    this topic?

    Thanks

    Hans

    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans Nikolaus Beck@21:1/5 to Paul Obermeier on Sat Jul 16 14:02:15 2022
    Paul Obermeier schrieb am Samstag, 16. Juli 2022 um 22:31:54 UTC+2:
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references
    about this topic?

    Thanks

    Hans
    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul
    Thx ! 😊

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From apn@21:1/5 to Hans Nikolaus Beck on Sun Jul 17 11:22:33 2022
    On 7/17/2022 1:10 AM, Hans Nikolaus Beck wrote:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references about
    this topic?

    Thanks

    Hans

    Hans,

    Not relevant to your question, but you were asking about Vulkan bindings
    for Tcl. If anyone would know, that would be Paul :-)

    /Ashok

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans Nikolaus Beck@21:1/5 to Paul Obermeier on Mon Jul 18 08:25:28 2022
    @Paul: just for interest: is there some work on integrating Vulkan to TCL in the same way as this wonderful TCL3D? Not strict need for it, only curious...

    Cheers

    Hans

    Paul Obermeier schrieb am Samstag, 16. Juli 2022 um 22:31:54 UTC+2:
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references
    about this topic?

    Thanks

    Hans
    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Obermeier@21:1/5 to All on Mon Jul 18 20:36:44 2022
    I'm not planning to write a Tcl wrapper for Vulkan, as Vulkan is too low-level and complicated for such a task.

    What I'm watching is the development of VulkanSceneGraph. A 1.0 release of VSG is planned this year.
    Maybe I then try to wrap VSG for Tcl similar to the OpenSceneGraph wrapper.

    Regards,
    Paul


    @Paul: just for interest: is there some work on integrating Vulkan to TCL in the same way as this wonderful TCL3D? Not strict need for it, only curious...

    Cheers

    Hans

    Paul Obermeier schrieb am Samstag, 16. Juli 2022 um 22:31:54 UTC+2:
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references
    about this topic?

    Thanks

    Hans
    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans Nikolaus Beck@21:1/5 to Paul Obermeier on Tue Jul 19 09:38:58 2022
    Hi Paul,

    thank you for your answer. I can understand that completely. After playing with Vulkan a little bit I've got also the impression that it is ver adaptable but complicated, indeed. Regarding typical use cases for TCL, OpenGL is absolutely fine.
    The VulkanSceneGraph is an interesting information, new to me :)

    Just a note to my original question: I've looked at the demos you mentioned, and in principle I've got it. But I'm struggling to differ between Vertex Array, Vertex Array Objects, and Vertex Object Buffers. Are they more ore less the same? Well, its an
    pure OpenGL question.... sorry for that :)

    Regards

    Hans

    Paul Obermeier schrieb am Montag, 18. Juli 2022 um 20:36:49 UTC+2:
    I'm not planning to write a Tcl wrapper for Vulkan, as Vulkan is too low-level and complicated for such a task.

    What I'm watching is the development of VulkanSceneGraph. A 1.0 release of VSG is planned this year.
    Maybe I then try to wrap VSG for Tcl similar to the OpenSceneGraph wrapper.

    Regards,
    Paul
    @Paul: just for interest: is there some work on integrating Vulkan to TCL in the same way as this wonderful TCL3D? Not strict need for it, only curious...

    Cheers

    Hans

    Paul Obermeier schrieb am Samstag, 16. Juli 2022 um 22:31:54 UTC+2:
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references
    about this topic?

    Thanks

    Hans
    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Obermeier@21:1/5 to All on Tue Jul 19 20:10:56 2022
    Vertex Arrays are the old style (fixed-function pipeline) to specify a bunch of vertices with 1 call instead of using multiple glVertex* calls. See ex. https://www.opengl.org/sdk/docs/tutorials/CodeColony/vertexarrays.php

    VAO and VBO are the new style for shader-based OpenGL. See ex. https://www.khronos.org/opengl/wiki/Vertex_Specification

    Paul

    Am 19.07.2022 um 18:38 schrieb Hans Nikolaus Beck:
    Hi Paul,

    thank you for your answer. I can understand that completely. After playing with Vulkan a little bit I've got also the impression that it is ver adaptable but complicated, indeed. Regarding typical use cases for TCL, OpenGL is absolutely fine.
    The VulkanSceneGraph is an interesting information, new to me :)

    Just a note to my original question: I've looked at the demos you mentioned, and in principle I've got it. But I'm struggling to differ between Vertex Array, Vertex Array Objects, and Vertex Object Buffers. Are they more ore less the same? Well, its an
    pure OpenGL question.... sorry for that :)

    Regards

    Hans

    Paul Obermeier schrieb am Montag, 18. Juli 2022 um 20:36:49 UTC+2:
    I'm not planning to write a Tcl wrapper for Vulkan, as Vulkan is too low-level and complicated for such a task.

    What I'm watching is the development of VulkanSceneGraph. A 1.0 release of VSG is planned this year.
    Maybe I then try to wrap VSG for Tcl similar to the OpenSceneGraph wrapper. >>
    Regards,
    Paul
    @Paul: just for interest: is there some work on integrating Vulkan to TCL in the same way as this wonderful TCL3D? Not strict need for it, only curious...

    Cheers

    Hans

    Paul Obermeier schrieb am Samstag, 16. Juli 2022 um 22:31:54 UTC+2:
    Am 16.07.2022 um 21:40 schrieb Hans Nikolaus Beck:
    Hi,
    I've walked through the many helpful demos and examples of the Tcl3D package. But nearly all using Display Lists or immediate mode. But I could not find any information how to use Vertex Buffer Objects from TCL3D. Does anyone know some references
    about this topic?

    Thanks

    Hans
    Hi Hans,

    look into the Nopper tutorials (http://www.tcl3d.org/cgi-bin/demolist2.tcl?dir=TutorialsAndBooks/Nopper)
    These use new OpenGL features like shaders, buffer objects, ...

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)