1 / 8

GL Viewer Status

This GL Viewer rewrite improves scene rebuild efficiency, introduces scene sharing between viewers, adds shape caching, LOD, and interactive features like manipulators, clipping, cameras, and guides.

evalewis
Download Presentation

GL Viewer Status

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GL Viewer Status

  2. Work Done • Rewrite of prototype (shape drawing code kept) Support for: • Scene container – shared between viewers. • Scene Rebuilds – viewer chooses what to ‘accept’ • Logical/Physical shapes – avoid duplicating geometry • Internal Shape Caching (stl::map) – never send twice

  3. Work Done (2) • Level of detail (LOD) – tessellation quality appropriate for size. • Interactive draws – sorted, time limited (100msec), drop global LOD to 50% • Automatic OpenGL DL Caching - only ever draw once (shape ID/LOD pair)

  4. Work Done (3) • Draw Styles – wireframe, filled poly, outline • Interactive Manipulators – translate/scale/rotate • Interactive clipping – plane and box • Cameras – improved interactions • Guides – axes and reference markers • Composite shapes

  5. To Do • Code cleanup • Improve scene rebuild efficiency • Start on event display – separate collections for particles/tracks • Only 1 month…

  6. Viewer Demo

  7. GL – in - Pad • Mix 3D GL and 2D GDI via combined bitmap • G3d, geom objects (eg. shapes.C) • TGLHistPainter lego lego2 surf4 surf1 surf2 tf3

  8. GL-in-pad’s future: • TGLHistPainter • New options – box, iso, etc. • Painting split into several classes (TGLLegoPlot, TGLSurfacePlot, etc.) • Rejection of current DIB sections/pixmaps method • Software implementation, slow for geom and large legos/surfaces >= 40000 polygons) • Alternative 1 - GL Textures GDI draws 2D into bitmap. GL places this is 3D ‘world’ + Hardware acceleration + Use different 3d effects in such a pad - More complex - Texture size limitations • Alternative 2 – GL Back Buffer used as ‘common’ pixmap • +Fast. • +Simple solution. • +No size limitations c.f. textures.

More Related