Autor Beitrag
christian87
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Mi 17.01.07 13:12 
Hi,

Ich will in einem Minigolfspiel einen Ball nicht mit canvas zeichnen, sonder eine Kugel in 3D verwenden.

Wie erstelle ich am besten eine 3D Kugel? Nehme ich einfach ein jpg?
Wie bewege ich dann diese? Mit canvas ist das kein Problem! Aber wie bewege ich das Bild?
chrisw
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 439
Erhaltene Danke: 3

W2K
D7
BeitragVerfasst: Mi 17.01.07 13:33 
Vielleicht guckst Du mal hier

_________________
Man sollte keine Dummheit zweimal begehen, die Auswahl ist schließlich groß genug.
christian87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Mi 17.01.07 20:43 
Das ist mir schon zu viel 3D. Ich hab eine 2D Spielfläche und möchte einfach mit einer Grafik arbeiten, anstatt einfach ein Ball zu zeichnen.
Dragonclaw
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 196

Windows Vista
Delphi 7 Prof.
BeitragVerfasst: Mi 17.01.07 21:04 
Such dir bei Google ne 3D Kugel oder erstellt dir eine in nem 3D Programm, dann rendern und als transparentes gif abspeichern. Jetzt lädst du das Ganze in ein Image, und verschiebst das mithilfe von top und left. Fertig


EDIT: Da fällt mit gerade ein mit nen TShape gehts so gar noch einfacher.

Das ist unter dem Reiter Zusätzlich: Tshape, dann die Eigenschaft Shape auf stCircle ändern.