Sample 3D Rectangle Code?

Hello all,

I created an app that includes 2D objects drawn on a canvas.

I would really like to convert that to a 3D “scene” - something like looking down into an office with the roof removed, so to see walls, and other objects. The 2D object allows for each object to change color (on the fly) and size as well. Other that these simple changes, there is really no animation required, although it would be cool to have a door open, close or blinds go up and down.

Does anyone have any sample code that will demonstrate something like this?

Thank you!

I’d check out some of Alwyn Besters OpenGL Tutorial as Open GL is designed for 3D