Product
roGL
Scriptable 3D Imaging
and Video Output
    Download   Buy

    Synopsis

  • Supports Windows NT/2K/XP
  • Scriptable COM interface to OpenGL®
  • Provides access to the entire core set of OpenGL® APIs
  • Output to a variety of Bitmap formats
  • Output to any DirectShow™ installed video encoder codec
  • A great tool for quick prototyping of ideas
  • May be used to produce graphics for Web or documentation in real time
  • A 3D API teaching aid
  • Available in two editions: Standard and Enterprise
Overview

roGL! What is it? It is a scriptable COM object that allows you to exercise the OpenGL® API and make pictures or a movie file of your graphical output. roGL is light weight, leveraging the advanced capabilities of your accelerated graphics card, so even scripted image generation and image processing is executed instantly. Try our fully functional Beta release, or buy now and be one of the first to get the monster final build which will include dozens of extensions, a full set graphic primitives, accelerated windowless output (Pbuffers), HDR processing, and dozens of useful examples in categories ranging from 3D visualization to 2D image processing.



roGL Teapot Example

// ------------------
// roGL Teapot : Demo
// ------------------
 
// Create a shell object for interacting with the user.
var shell = WScript.CreateObject("WScript.Shell");
 
// Create a render object to access the OpenGL API.
var render = WScript.CreateObject("roGL.RenderGL");
 
if ( shell.popup(
     "Create a wireframe teapot.\nDo you want to continue?",
     0, "roGL Teapot Demo", 36) == 6 )
{
  // Create a viewport that is 640 pixels wide and 480 pixels high.
  render.glViewport(0, 0, 640, 480);
 
  // Set the clear color to all black.
  render.glClearColor(0.0, 0.0, 0.0, 0.0);
 
  // Clear buffers.
  render.glClear(render.GL_COLOR_BUFFER_BIT);
 
  // Set the current matrix to projection.
  render.glMatrixMode(render.GL_PROJECTION);
 
  render.glLoadIdentity();
 
  // Draw a wireframe teapot.
  render.auxWireTeapot(0.5);
 
  // Flush the OpenGL buffer so we can see the result.
  render.glFlush();
 
  // Prompt so that the generated image remains visible before exiting.
  shell.popup("Do you see a wireframe teapot?", 0, "roGL Demo", 64);
}