Picking and Rendertargets working for all 3D APIs

/ Mai 5, 2020/ Allgemein

Although the output is still the same, a lot now happened in the background.
First of all the output is the same again for DirectX, OpenGL and OpenGL ES.
There was support for multiple rendertargets added. What is now used for picking.
The 3D globe and the 2D triangle is now also rendered(as an ID) into an integer pickbuffer.
Therefore the mouse(or any 2d coordinate) could now be used to detect objects underneath it.
After using constant buffers for DirectX I implemented uniform buffer objects for the OpenGL implementations. This makes constants handling very efficient.

Now I’m happy to announce the next task, which is text-rendering!

Share this Post

Hinterlasse einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Sie sollten das verwenden HTML Schlagworte und Attribute: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*