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:
https://www.syntaxbomb.com/blitz2d-blitzplus-blitz3d/putting-texture-on-a-3d-self-made-mesh/
OpenGL isn’t exactly future-proof now, but there’s Alwyn Bester’s excellent tutorial series at xojo3d.com - 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