Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 1 of 1

Thread: Get mesh structure information from Visualization Library

  1. #1
    Newbie Newbie
    Join Date
    Feb 2018
    Posts
    1

    Get mesh structure information from Visualization Library

    I'm using that library http://visualizationlibrary.org/docs...tml/index.html ; http://visualizationlibrary.org/docs..._open_g_l.html
    I'm a huge beginner but I need to get the data of the mesh hold by a vl::Geometry instance . the structure I need is very simple , a classic one : an array of the vertices ( float3/double3 not per face, just per vertex ) array of face vertex count(per face) and an array of indices referenced by the vertices of each faces...


    so for a Cube it looks like this :

    1. [0,1,2,3,4,5,6,7](float/double 3's)
    2. [4, 4, 4, 4, 4, 4](int)
    3. [0, 1, 3, 2, 2, 3, 5, 4, 4, 5, 7, 6, 6, 7, 1, 0, 1, 7, 5, 3, 6, 0, 2, 4](int)
    Last edited by justAPrank; 02-19-2018 at 11:56 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •