It is not a plug-in, it is a set of classes that work with RB's built-in functionality. First you need to import (or drag and drop) the OpenGLCore Module, the OpenGLMesh, OpenGLMatrix and OpenGLVector3D classes into your project. Then to create a new mesh you would add a Mesh property to your window and add the following code in the open event:
Mesh = New OpenGLMesh()
Mesh.VertexCount = GPSPositionCount ' number of 'points' you have in your mesh
For i = 0 To GPSPositionCount - 1
Mesh.Vertex( i ) = New OpenGLVector( GPSPosition( i ).X, GPSPosition( i ).Y, GPSPosition( i ).Z )
Next
Then add an OpenGLSurface to your window and put the following code in your render event.
Now you may not see anything unless you have your camera set up, if you don't have it set up import the OpenGLCamera class, add a Camera property to your window. In the the Open event of the window
add:
Camera = New OpenGLCamera()
Camera.Position.X = 5
Camera.Position.Y = 10
Camera.Position.Z = 15
Camera.Pitch = 45
Camera.PerspectiveAngle = 45
And for your OpenGLSurface rendering code it should look like this:
Camera.Setup()
Mesh.Render()
To move the camera around just change its Position (X,Y,Z) values with the keydown event.