Hi all,
Does anyone know of a function in OpenGL OR an library related to OpenGL that can automatically render an object given a set of points?
For example: When I read data from a text file that contains a set of vertices in a sequential order generated by a 3rd party software, I will have to store those data into an array which will be fed into the function that will automatically render the object.
This is the same as drawing an object in OpenGL, where you declare a set of vertices and then OpenGL would just connect them thus creating a polygon. I want to find a function out there or a library that would do this without me actually creating the vertices… The general idea is that the points would be generated by a 3rd party software and then when it is fed to the program the object would be rendered in OpengGL.
Thanks in advance.
Regards,