CodeSnippets

From Ogre Wiki

(Redirected from CodeSnippits)
Jump to: navigation, search
Image:codesnippets.jpg

HOWTO's and Code Snippets

This is a cookbook of code recipies for implementing a wide variety of tasks. The mini articles below on this page are for articles of a significant size. See The Big HOWTO and The Big HOWTO (II) for a large collection of miscellaneous, smaller samples. Samples from external sites go on the External Resources page.


Contents


HOWTO

HOWTO - Collection of miscellaneous, smaller samples

HOWTO (II) - Part 2

Geometry

Vertex and Index Buffers

Manual Object

General

Rendering

MOGRE SpriteManager2d
MOGRE MovableText

Non-Photorealistic Rendering

Materials & Textures

Particles

Shaders

Animation & Movement

Input

GUI

CEGUI

Other GUI Systems

General

Embedding OGRE in mainstream GUI libraries

  • Using Ogre with FLTK - Here presented a way to embed Ogre into FLTK gui toolkit window
  • wxOgre - A simple rendering widget for wxWindows (OGRE V1.0.1)
  • wxOgre for OGRE v1.2 - A simple rendering widget for wxWindows (OGRE V1.2)
  • wxOgre for OGRE v1.4 - A simple rendering widget for wxWindows 2.8 <- Most Recent.
  • GtkOgre - A GtkWidget for embedding Ogre render windows in GTK.
  • GtkmmOgre - A GtkmmOgreWidget for embedding Ogre render windows in Gtkmm.
  • qtOgre - Embedding Ogre into a qt application.

Sound & multimedia

Physics

  • Mesh strider for bullet - Subclass from btStridingMeshInterface for sharing graphics and collision meshes
  • Debug drawer for bullet - Subclass from btIDebugDraw that allows you to visualize collision shapes, contact points and more.

System

Minimal Ogre projects

Timer

Logging

Console

OS tricks

Scene manager

Render system

Script compilers (Shoggoth)

Misc

Miscellaneous


Useful Code Articles (w/code)

Personal tools
administration