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
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
Ashish Kumar Saryar
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)
Thanks sir
There is any other way to do this thing means without using OPENGL .. means only using by QGraphicsItem
Ashish Kumar Saryar
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.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
ashishsaryar (17th January 2008)
Bookmarks