mVue (version 0.3)
OpenSceneGraph
/ wxWindows model / image viewer
mVue rendering an OpenFlight model
mVue rendering an OpenFlight terrain
mVue rendering a TXP terrain
Note: frame rate indicator (top right of images) are shown using Fraps www.fraps.com
Description:
mVue is a sample model viewer based on the open
source cross-platform OpenSceneGraph (www.OpenSceneGraph.org)
toolkit. mVue serves as a sample framework for integrating the
open source cross-platform wxWindows (www.wxWindows.org)
toolkit with OSG. mVue does not use Producer but includes much of
the functionality of the osgGA matrix manipulators. Adapts
wxWindow events using wxWinEventAdapter
which is directly based on osgProducer::EventAdapter. Also
supports Drag and Drop of models and images via wxWindows.
The
wxWindows graphical user interface was constructed using DialogBlocks www.anthemion.co.uk/dialogblocks/
mVue was built using
OSG 0.9.6+ (Jan 7, '04) and
wxWindows 2.4.2
mVue has only been
compiled and tested on Win32.
dev environment is MS Dev Studio .Net
History:
mVue 0.3, Feb 20,2004
- Integrated Brian Gavin's (gavin278@comcast.net) Tree View changes
Here is a summary of
Brian's additions:
- added a toolbar toggle button
to turn scene tree dialog
- added several dialogs that
let
you change the texture file or a cube map,
delete/create a Material(osgState).
- Audition-like viewer mode speed now can be controlled
using mouse
scroll
mVue 0.2, Jan26,2004
- new Audition-like viewer mode
(Matrix Manipulator)
- supports pageable terrains
- supports animation visitor
- Message dialog now defaults to Fatal
exception handling.
When default
is left at Warn, messages captured by the dialog significantly slow
down loading time.
Until I find a
better way to improve speed, notification level has to be manually set
before loading
to see helpful information.
- sends key inputs to
StateSetManipulator (supports 'b', 'w', 't', 'l' keys)
- implements
osgGA::GUIActionAdapter::requestWarpPointer()
mVue 0.1, Jan 4, 2004
- initial
Featues:
Model Load
formats supported by OSG (some may not work with mVue since not all
possible plugins are included here)
3dc, dx, iv, lwo, pfb,
Inventor, OpenFlight, ive, md2, txp, ac3d, freetype, 3ds, obj,
zip, directx, gdal, logo,
osg, dw, geo, logos, tgz
Image Load
formats supported by OSG (some may not work with
mVue since not all possible plugins are included here)
bmp, pic,
sgi (rgba, rgb, int, inta), dds, png, tga, gif, pnm, tiff, jpeg,
quicktime
Model Save (.osg and .ive)
3 standard matrix manipulators (trackball, fly and
drive)
Tree View of loaded Model (contributed by Brian
Gavin)
plus Audition-like viewer (matrix manipulator)
+ key to increase speed
- key to decrease speed
Lighting On / Off (from toolbar)
Supports Drag and Drop (models and images)
Separate message dialog with selectable severity for
monitoring OSG output messages
ToDo:
rendering from a separate thread (currently renders
on timer)
rendering controls:
better lighting controls
near/far clipping plane distances
frame rate indicator
detail texture for terrains
Linux or Mac Port anyone?
Download:
Application (Win32 only)
mVueWin32Bin.zip
Source
mVueSrc.zip
wxWindows Setup
File used to configure wxWindows before building
setup.h
Contact:
Jeff Biggs
Copyright
(C) 2004, Jeff Biggs
All rights are reserved.