Map image onto 3d shape

I have no experience of 3d stuff, but I have enquiries about mapping an image onto the faces of a cube, cylinder, or other shape.
I have MBS plugins, but does anyone have any experience / sample code you could point me at to examine?

I found this:

OpenGL isn’t exactly future-proof now, but there’s Alwyn Bester’s excellent tutorial series at - tutorial 11 is particularly relevant.

Regards - Richard.

If using a HTMLViewer is acceptable I suggest investigating texture mapping using the three.js JavaScript framework.

I haven’t tried using the framework via Xojo but we are doing this in our non Xojo browser based HTML5 app.

1 Like

I use Jeff Quan’s library as a base for generating a basic viewer. The picture shows a few examples.

1 Like