glscene

 

doc_demosinterface

Page history last edited by skinhat 4 yrs ago

User-interface with GLScene such as camera movements and reacting to clicks and other mouse events.

Bitmap Font

Camera

  • Moving a camera with the mouse (rotation & translation) and
  • zooming/unzooming with the mouse wheel:

Cursor

  • Using a hudsprite as mouse cursor, with optional alpha-blended trail.
  • Also loading and displaying a picture, retrieving the color under the mouse

Fading

  • Fades an object from one color to another when selected.
  • Smoother, progressive coloring of objects under the pointer using the Onprogress event

Font Color

  • Fades in and out hud text colors.
  • Uses color modulation to colorize and fadein/fadeout 2D text and
  • uses time events manager

GUI Demo

Height Field pick

  • Allows the selection of a face on a TGLHeightField.
  • Uses Pixelraytoworld procedure for 3D picking.
  • Also paints a 3D HeightField interactively.:

Pick

  • Allows the selection of an object using the TGLSceneBuffer's getpickedobject method.
  • Also colors objects under the mouse pointer

Stored Font

Windows Font

Comments (0)

You don't have permission to comment on this page.