|
|
|
@ -34,15 +34,17 @@ Guide @ref Building "how to build Magnum" on different platforms. |
|
|
|
|
|
|
|
|
|
|
|
@section GettingStarted Getting started |
|
|
|
@section GettingStarted Getting started |
|
|
|
|
|
|
|
|
|
|
|
Applications using Magnum have at least two parts. One part manages OpenGL |
|
|
|
Applications using %Magnum have at least two parts. One part manages OpenGL |
|
|
|
context using some toolkit and takes care of window resizing, mouse and |
|
|
|
context using some toolkit and takes care of window resizing, mouse and |
|
|
|
keyboard input, while the other manages the scene and does the rendering. |
|
|
|
keyboard input, while the other manages the scene and does the rendering. |
|
|
|
While it is possible for you to manage the OpenGL context and events on your |
|
|
|
While it is possible for you to manage the OpenGL context and events on your |
|
|
|
own, Magnum provides implementations for the most common toolkits (such as |
|
|
|
own, %Magnum provides implementations for the most common toolkits (such as |
|
|
|
GLUT, SDL or Qt) in Contexts namespace. %Scene in %Magnum is composed of |
|
|
|
GLUT, SDL or Qt) in Contexts namespace. %Scene in %Magnum is composed of |
|
|
|
hierarchically connected object instances. To build the scene you need Scene |
|
|
|
hierarchically connected object instances. To build the scene you need Scene |
|
|
|
object with assigned camera and at least one Object instance. |
|
|
|
object with assigned camera and at least one Object instance. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@subsection GettingStartedExamples Tutorials and examples |
|
|
|
|
|
|
|
|
|
|
|
The best way to get started is to @ref ExamplesTriangle "render your first triangle" |
|
|
|
The best way to get started is to @ref ExamplesTriangle "render your first triangle" |
|
|
|
in step-by-step tutorial. Then you can dig deeper and try |
|
|
|
in step-by-step tutorial. Then you can dig deeper and try |
|
|
|
@ref Examples "other examples", read about fundamental principles in the |
|
|
|
@ref Examples "other examples", read about fundamental principles in the |
|
|
|
|