Images as Buttons at certain position

Started by harish, February 13, 2016, 14:13:04

Previous topic - Next topic

harish

Hi everyone..I am new to LWJGL. I have loaded a 3D model .obj(house like structure).Now ,I need to load some jpg images and they should be displayed on the inner surface of my house like structure.
And one more thing..the images should act like objects which can be chosen by user.
Please Help Me..Thank you.

Kai

Use stb (demo here) with LWJGL 3 to load image files in order to upload them to an OpenGL texture object.
The texture coordinates in your Wavefront OBJ file will determine how that texture is being mapped onto your model.

Hydroque

Along with the model, you need to define these using the program you are using. If you don't know how to do this, it is as simple as painting or wrapping.