OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Basic Demos - Interface


The demos discussed here are installed as part of the GLScene library. Demos are about the user-interface with GLScene such as camera movements and reacting to clicks and other mouse events.


imageBitmap Font - By: Unknown Date: Unknown
Demonstrates writing text on the screen with bitmap fonts.
Uses TGLHUDText and TGLBitmapFont to render 2D text.
Includes rotating and scaling a 2D text.

CVS:
CVS/Demos/interface/bmpfont
 


imageCamera - By: Unknown Date: Unknown
Moving a camera with the mouse (rotation & translation) and zooming/unzooming with the mouse wheel. The camera object is a child of its target dummy cube (this means that the camera is translated when its target is translate, which is good for flyover/scrolling movements). Movements in this sample are done by moving the mouse with a button pressed, left button will translate the dummy cube (and the camera), right button will rotate the camera around the target, shift+right will rotate the object in camera's axis. Mouse Wheel allows zooming in/out.

CVS:
CVS/Demos/interface/camera
 


imageCursor - By: Unknown Date: Unknown
Using a hudsprite as mouse cursor, with optional alpha-blended trail.
Also loading and displaying a picture, retrieving the color under the mouse.

CVS:
CVS/Demos/interface/cursor
 


imageFading - By: Unknown Date: Unknown
Fades an object from one color to another when selected.
Smoother, progressive coloring of objects under the pointer using the Onprogress event

CVS:
CVS/Demos/interface/fadingintf
 


imageFont Color - By: Unknown Date: Unknown
Fades in and out hudtext colors.
Uses color modulation to colorize and fadein/fadeout 2D text and uses time events manager.

CVS:
CVS/Demos/interface/fontcolor
 


imageGUI Demo - By: Unknown Date: Unknown
A GUI Form with a button, label and edit box.
Demontrates the Gui interface system and allows user to change parameters

CVS:
CVS/Demos/interface/guidemo
 


imageHeight Field pick - By: Unknown Date: Unknown
Allows the selection of a face on a TGLHeightField.
Uses Pixelraytoworld procedure for 3D picking.
Also paints a 3D HeightField interactively.

CVS:
CVS/Demos/interface/hfpick
 


imagePick - By: Unknown Date: Unknown
Allows the selection of an object using the TGLSceneBuffer getpickedobject method.
Also colors objects under the mouse pointer.

CVS:
CVS/Demos/interface/pick
 


imageStored Font - By: Unknown Date: Unknown
Demonstrates TGLStoredBitmapFont. Allows loading of fonts from file.

CVS:
CVS/Demos/interface/storedfont
 


imageWindows Font - By: Unknown Date: Unknown
Uses TGLHUDText and TGLWindowsBitmapFont to to render 2D text.
The rendering text to OpenGL is with a TrueType Font.

CVS:
CVS/Demos/interface/winfont
 





  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1377 seconds