Results 1 to 2 of 2

Thread: visualize of a 3D surface

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2012
    Posts
    1

    visualize of a 3D surface

    Hello,

    Is there some function(s) in OpenGL, that allow to visualize a surface composed of 3D points. In other words I have an array of 3D points (X, Y, Z) and want to see the how the surface looks like - in fashion of the Matlab function surf.

    Thanks in advance.

    Pavel.

    P.S. Unfortunately I couldn't attach example of Matlab surf, because I didn't understand how to attach an image - apparently from local hard disk it isn't possble ...

  2. #2
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    Posts
    896

    Re: visualize of a 3D surface

    No, OpenGL is a very low level interface, it only supports very basic rendering primitives (triangles, lines, points).
    Of course it's possible to do the kind of visualization you are talking about with OpenGL, but it requires (significantly) more than a function call.

    You are not saying what your goal is, so it's hard to suggest alternatives. If you simply need a plot of your data, there is gnuplot. ParaView or it's underlying VTK library may allow you to view your dataset without having to deal with all the low level stuff (although these tools have a learning curve too).

Similar Threads

  1. Problems trying to visualize the depth buffer.
    By GeatMaster in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-02-2017, 06:39 AM
  2. What's the best way to visualize/debug raycast rays and normals?
    By hashbrown in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-22-2016, 08:13 AM
  3. Fail to visualize normals...
    By WIld Sage in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 06-10-2011, 01:21 PM
  4. Visualize trimmed Quadrics
    By imported_anna in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-09-2005, 03:01 PM
  5. Visualize smoke & fire
    By TAX in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-17-2004, 12:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean