Magnum tutorials / examples

212 views
Skip to first unread message

Andy Somogyi

unread,
Jun 27, 2017, 12:47:34 PM6/27/17
to Magnum C++/OpenGL Graphics Engine
Hi All.

I have a student working for me over the summer, and I'm going to have him write a sequence of Magnum tutorials. 

First I'm going to create a self-contained repo that has corrade and magnum as git submodules, and the top-level cmake just treats them as subprojects. Then I'll add a series of example applications here. 

I was basically going to have him follow the https://learnopengl.com/ tutorials, but port them to magnum. 

Essentially, I'd like him to start with very basic geometry, then work up through lighting, texturing, model loading with Assimp (generate a MeshData3D), then particle systems. 

Do you guys think there is a good series of tutorials that you think would be worthwhile porting to magnum? 

Squareys

unread,
Jun 28, 2017, 11:26:22 AM6/28/17
to Magnum C++/OpenGL Graphics Engine
Hi Andy!

New examples and tutorials are always great! There is already a hello-triangle and textured-triangle example, so he can probably skip those. They are also very well explained in the docs.
Other, slightly more advanced tutorials, like PBR, Bloom, SSAO, Shadow Maps, Deferred Shading etc. are very useful and have been requested, too. See the list of ideas for examples on this github issue.

As for the Assimp loading, since Magnum has it's own set of plugins to load most file formats (even via Assimp eventually, which I am working on, but may still take a while), it may be more interesting to use the functionality already provided by magnum there. On the other hand, people may not want to use that part of magnum, so a tutorial for how to work with other asset loading libraries could be very handy anyway.

I am thrilled to see magnum being supported at a university! I am trying to get the computer graphics department of the University I study at to possibly adopt magnum in the long run, too, but wasn't too successful with that yet, as they have their own framework.

In case you (or your student) have any questions, I'd be glad to answer, e.g. over on gitter (I don't really use google groups alot).

Kind regards,
Jonathan.

Vladimír Vondruš

unread,
Jun 28, 2017, 12:37:28 PM6/28/17
to Andy Somogyi, Magnum C++/OpenGL Graphics Engine
Hi,

basically what Jonathan said above -- there are some oft-requested examples outlined in https://github.com/mosra/magnum/issues/102 that would be very nice to have. On the other hand, I don't think duplicating the AssImp code/usage in an example is a good idea when there is already a plugin being made. It would only cause confusion among users, I think.

Besides tutorials and examples, there are also a lot of opportunities in implementing new features into Magnum -- see all the issues marked with "feature" label: https://github.com/mosra/magnum/issues?q=is%3Aissue+is%3Aopen+label%3Afeature . There are things ranging from improving the math library, box packing algorithms all the way to complex text rendering. Some of these are already in progress by various people, so in order to avoid duplicated effort it would be very nice to let us know here or on the Gitter chat at https://gitter.im/mosra/magnum first.

Best regards
mosra

______________________________________________________________
> Od: Andy Somogyi <andy.s...@gmail.com>
> Komu: Magnum C++/OpenGL Graphics Engine <magnum...@googlegroups.com>
> Datum: 27.06.2017 18:47
> Předmět: [magnum] Magnum tutorials / examples
>
>Hi All.
>
>I have a student working for me over the summer, and I'm going to have him
>write a sequence of Magnum tutorials.
>
>First I'm going to create a self-contained repo that has corrade and magnum
>as git submodules, and the top-level cmake just treats them as subprojects.
>Then I'll add a series of example applications here.
>
>I was basically going to have him follow the https://learnopengl.com/
>tutorials, but port them to magnum.
>
>Essentially, I'd like him to start with very basic geometry, then work up
>through lighting, texturing, model loading with Assimp (generate a
>MeshData3D), then particle systems.
>
>Do you guys think there is a good series of tutorials that you think would
>be worthwhile porting to magnum?
>
>--
>You received this message because you are subscribed to the Google Groups "Magnum C++/OpenGL Graphics Engine" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to magnum-engin...@googlegroups.com.
>To post to this group, send email to magnum...@googlegroups.com.
>Visit this group at https://groups.google.com/group/magnum-engine.
>For more options, visit https://groups.google.com/d/optout.
>
>
Reply all
Reply to author
Forward
0 new messages