Important: Please read the Qt Code of Conduct -

Making a qt3d cube appear transparent

  • Hi,

    I create a cursor in qt3d using the following lines of code:

    @QGLBuilder cursor_builder;
    cursor_builder <<QGL::Faceted;
    cursor_builder <<QGLCube(0.15);

    I bind a texture to this cube using
    std::cout<<"constructor called"<<std::endl;@

    Now I want to do two things:

    1. Make the cube appear transparent
    2. Bind a transparent texture onto the cube

Log in to reply