Hi all!
In my app I'm using a small canvas to display my software logo. I was wondering if it is possible to rotate/turn the logo itself (not the text) slowly in true 3D?
Is it possible to do under DX as well as opengl.
Or is it wise just to take one road?
There is a 3D bmx cube example, but I have no idea how to adopt it according to my needs.
I'm a complete newbie in terms of 3D coding, so don't laugh at me... ;))))
Image:

Basic Code:
Grisu
In my app I'm using a small canvas to display my software logo. I was wondering if it is possible to rotate/turn the logo itself (not the text) slowly in true 3D?
Is it possible to do under DX as well as opengl.
Or is it wise just to take one road?
There is a 3D bmx cube example, but I have no idea how to adopt it according to my needs.
I'm a complete newbie in terms of 3D coding, so don't laugh at me... ;))))
Image:

Basic Code:
SuperStrict Global AboutWindow:TGadget=CreateWindow(" Info", (GadgetWidth (Desktop ())-393)/2,(GadgetHeight(Desktop ())-273)/2,393,273,Null,WINDOW_TITLEBAR | WINDOW_CLIENTCOORDS) Global AboutCanvas:TGadget=CreateCanvas(3,3,200,267,AboutWindow) Global MutantIMG:TImage=LoadImage("mutant.jpg") Global ScrollTimer :TTimer=CreateTimer(27) ' Timer for animation speed Redraw_Logo() While True WaitEvent() Select EventID() Case EVENT_TIMERTICK Select EventSource() Case ScrollTimer Redraw_Logo() End Select Case EVENT_WINDOWCLOSE End End Select Wend Function Redraw_Logo() SetGraphics CanvasGraphics (AboutCanvas) SetColor 0,0,0 Cls SetColor 255,255,255 DrawImage MutantIMG, 0,0 Flip 0 End Function
Grisu