That is strange. Either scenenode gets the right texture, but the two together get the textures mixed up. Looks like a bug.

If you're inclined to add a bug report, I'd be obliged, otherwise I'll do it :)

On 08/05/2011 07:00 PM, ext [email protected] wrote:

I am re-sending it as not sure if it passed the gateway of the mailing list.

*From:*Mehta Nandita-A (Nokia-SD/Bangalore)
*Sent:* Friday, August 05, 2011 1:55 PM
*To:* [email protected]
*Cc:* Pope Daniel (Nokia-MP/Brisbane)
*Subject:* Problems in drawing QGLDome and QGLCylinder

Hi everyone,

I am new to qt3D library and started trying out few examples. Attached is the example.

I want to draw a cylinder and a dome in such a way that dome should be placed on top of the cylinder. Dome is acting like a
scope of ice cream and cylinder as a cone. However there are few issues:

1)The material(QGLMaterial) I am using for dome is appearing for cone and vice versa; I mean the JPG file I am using.

2)Dome is always appearing below the cylinder; irrespective whether I place the "dome" code before
or after "cylinder" code.

3)And dome is not appearing at the end of the cylinder but partially covering the cylinder.

4)In one another example, I also tried using only one instance of QGLBuilder (In the attached example I am using 2 instances).
But still it is not displaying the way I require.
How to draw dome on top of cylinder correctly?

Thank you.

Regards,

Nandita


_______________________________________________
Qt-3d mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-3d


--
Julian de Bhál, Software Engineer
Qt Software, Nokia, Brisbane

_______________________________________________
Qt-3d mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-3d

Reply via email to