View Full Version : how to make 3D Pyramid in qt
ashishsaryar
17th January 2008, 12:00
hi to all,
i want to create a pyramid in qt which have also 3D effect but how can i do in qt i don't know .
pls help me .. to overcome this problem
Thanks
marcel
17th January 2008, 12:08
See the Textures example from the QT Examples and Demo/OpenGL.
I am sure you can modify the example to render a pyramid instead of a cube.
ashishsaryar
17th January 2008, 12:55
Thanks sir
There is any other way to do this thing means without using OPENGL .. means only using by QGraphicsItem
high_flyer
17th January 2008, 13:00
It wont be easier to do it in 2D, since you will have to implement the math to change the shapes so it will look like its rotating in 3D - which OpenGL does for you.
Which will also result in bad performance.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.