You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A running list of examples and various sources that could be fun to implement, fun to play with and attracting new users. Help welcome -- pick somethings that's not done yet, ask around and contribute. Ideal together with submitting a guest post about the example.
Object picking example -- the current framebuffer example is prety useless as it does not cover any real-world case, so I'm going to replace it with this, as it is the cornerstone of many 3D editors, CAD applications etc. The point is to employ framebuffer and custom shader with multiple data outputs. Next to color the shader would output object ID for each pixel, which will be then read back and used to select object under mouse cursor. Will probably use just some generic scene (overlapping basic primitives) to make stuff simple.
SDSM/PSSM shadow mapping example -- based on this paper, displaying some nice scene with interactive camera, debug draw will be very nice too. I will hopefully be able to implement the compute shader thing, otherwise it would be just PSSM. Other approaches:
PBR example -- based on a lot of papers, tutorials and websites. Either create some nice model in Blender and then apply cool shaders to things, or use some nice glTF scene. Requires PBR material support in Trade and the glTF importer. Links:
Terrain rendering example -- explaining some advanced functionality like LOD switching, on-the-fly mesh updates, transform feedback or something like that. Links:
Floating-point drift visualization -- additively rotating a cube using matrix/quat, showing the rotation difference after, compared to a ground truth with just adding an angle and calculating the result after. Ideal in combination with the Animation library.
Interpolation method visualization -- comparing lerp, slerp, sclerp, dlb... Interactive, animation a plus. We also have the Easing library now, could get used there too.
A running list of examples and various sources that could be fun to implement, fun to play with and attracting new users. Help welcome -- pick somethings that's not done yet, ask around and contribute. Ideal together with submitting a guest post about the example.
SokobanPush the Box from the old repoPorting cool things done with other libs
Mainly to show how the same thing can be done with less (or more?!) code, not with an intention to steal: