Difference between revisions of "Develop menu"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 49: Line 49:
**'''Frame Test''' capture buffer and pause.
**'''Frame Test''' capture buffer and pause.
**'''Frame Profile''' dump GL stats to log.
**'''Frame Profile''' dump GL stats to log.
*'''''Render Metadata''''' ▶
**'''[[Bounding Boxes]]''' render bboxes color coded by type.
**'''Normals''' {{Wikipedia|Normal_(geometry)}}
**'''Octree''' render bounding boxes color coded by {{Wikipedia|octree|octree}} buffer usage and activity
**'''Shadow frustrum''' render each {{Wikipedia|frustum|frustum}} as a shaded box.
**'''Physics Shapes''' render terrain and objects as they appear to the simulator's physics engine.
**'''Occlusion''' highlight objects that are hidden behind others.
**'''Render Batches''' highlight rendering groups with different colored tints.
**'''Update Type''' renderUpdateType in llspatialpartition.cpp (make table).

Revision as of 12:34, 29 December 2013

Develop

To enable, go to Me>Preferences, Advanced tab, and check "Show Developer Menu".

  • Consoles
    • Texture Console Ctrl+Shift ⇧+3
    • Debug Console Ctrl+Shift ⇧+4 scroll activity log on the main viewer window.
    • Notifications Console Ctrl+Shift ⇧+5 trace dialogs, alerts, notifications.
    • Fast Timers Ctrl+Shift ⇧+9 shows tasks performed per frame, see How do I get my Fast Timers results?.
    • Scene Stattistics plot complexity of objects in view.
    • Scene Loading Monitor (not used)

    • Region Info to Debug Console dump region flags and stats to log.
    • Group Info to Debug Console dump summary of active group info to log.
    • Capabilities Info to Debug Console dump capability names and URLs to log.

    • Camera camera and agent position/rotation overlaid on screen.
    • Wind region wind speed and heading is overlaid on screen.
    • FOV camera field of view angle overlaid on screen.
    • Badge Ctrl+Alt+Shift ⇧+H Addresses VWR-11118.
  • Show Info
    • Show Time elapsed viewer run time overlaid on screen.
    • Show Upload Cost (not used)
    • Show Render info render stats overlaid on screen.
    • Show Matrices OpenGL matrix info overlaid on screen.
    • Show Color Under Cursor rendered RGBA values overlaid on screen.
    • Show Memory total viewer memory used overlaid on screen.
    • Show Private Mem Info private pool stats overlaid on screen, use with MemoryPrivatePoolEnabled debug setting.


  • Force an ErrorThese intentionally crash the viewer, for debugging only.
    • Force Breakpoint Ctrl+Alt+Shift ⇧+B
    • Force LLError and Crash
    • Force Bad Memory Access
    • Force Infinite Loop
    • Force Driver Crash
    • Force Software Exception
    • Force Disconnect Viewer
    • Simulate a Memory Leak
  • Render Tests
    • Camera Offset shortcut to CameraOffset debug setting.
    • Randomize Framerate add a random duration sleep with each rendered frame.
    • Periodic Slow Frame sleep half a second every 10 frames.
    • Frame Test capture buffer and pause.
    • Frame Profile dump GL stats to log.
  • Render Metadata
    • Bounding Boxes render bboxes color coded by type.
    • Normals "Wikipedia logo"Normal_(geometry)
    • Octree render bounding boxes color coded by "Wikipedia logo"octree buffer usage and activity
    • Shadow frustrum render each "Wikipedia logo"frustum as a shaded box.
    • Physics Shapes render terrain and objects as they appear to the simulator's physics engine.
    • Occlusion highlight objects that are hidden behind others.
    • Render Batches highlight rendering groups with different colored tints.
    • Update Type renderUpdateType in llspatialpartition.cpp (make table).