Paradox3D - World Objects Selection

Published: 15 November 2023
on channel: The Old School Coder
189
9

The first steps to level editor.

It renders each 3D model (object) to a backbuffer with a specific, predefined color based on a unique id.
On mouse click it takes the X,Y coordinates of the mouse and picks the color of the pixel at this location of the viewport.
The color at the given coordinate is matched against the objects.
Whichever object matches the color of the pixel at the mouse position - it is the one selected by the user.


On this page of the site you can watch the video online Paradox3D - World Objects Selection with a duration of hours minute second in good quality, which was uploaded by the user The Old School Coder 15 November 2023, share the link with friends and acquaintances, this video has already been watched 189 times on youtube and it was liked by 9 viewers. Enjoy your viewing!