Texture binding in QT3d



  • Hello,

    1. Is there a way to create a cuboid of specific dimensions in qt3d in a similar way that QGL Cube is already available?
    2. When I use an image (500*250) as a texture on the cube, the image is deformed. Either, I can create a cuboid or use the image such that it is not deformed? How to do that?

    Image: I have a cube. The texture (image) is a landscape image. Such that it does not occupy the entire cube. But it is not deformed.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.