Prob mit Mesh

Übersicht BlitzBasic Blitz3D

Neue Antwort erstellen

nX^

Betreff: Prob mit Mesh

BeitragDo, Feb 17, 2005 17:05
Antworten mit Zitat
Benutzer-Profile anzeigen
Ich hab nen Prob mit nem Mesh jedes Mal wenn ich das Prog starte kommt die cam mit dem Mesh nicht mit...
Wie kann ich das machen das das Mesh auf dem terrain gleibt aslo Schwerkraft. Denn das Model soll nicht durch dir texture fällt

Code: [AUSKLAPPEN]
Graphics3D 1024,768,16,1
SetBuffer BackBuffer()
Mesh=LoadMesh ("mario.x")
terrain=LoadTerrain("gfx\height.jpg")
text1=LoadTexture ("gfx\detail1.jpg")
text2=LoadTexture ("gfx\color.jpg")
text3=LoadTexture ("gfx\shadow.jpg")
EntityTexture terrain,text1,0,1
EntityTexture terrain,text2,0,2
EntityTexture terrain,text3,0,3

ScaleEntity terrain,10,250,10
ScaleTexture text1,512,512
ScaleTexture text2,512,512
ScaleTexture text3,512,512
ScaleMesh mesh,10,10,10

cam=CreateCamera()
CameraClsColor cam,0,100,255
MoveEntity cam,0,0,-30
PointEntity cam,mesh

While Not KeyHit(1)
If KeyDown(200) Then TurnEntity mesh,1,0,0
If KeyDown(208) Then TurnEntity mesh,-1,0,0
If KeyDown(203) Then TurnEntity mesh,0,1,0
If KeyDown(205) Then TurnEntity mesh,0,-1,0
If KeyDown(30) Then ScaleMesh mesh,0.9,0.9,0.9
If KeyDown(44) Then ScaleMesh mesh,1.1,1.1,1.1

UpdateWorld
RenderWorld
Flip
Wend
ClearWorld
End
 

FBI-blitz

BeitragDo, Feb 17, 2005 17:08
Antworten mit Zitat
Benutzer-Profile anzeigen
Bitte klöschen!
Computer 1: AMD Athlon64 3500+ | nVidia GF 7900GT | 1024 MB DDR-RAM | ASUS A8N-SLI Preimium | 250 GB SATA 2 || WindowsXP | Blitz3D | Blitz+
Computer 2: AMD AthlonXP 2400+ | ATI Radeon 9500 | 512 MB DDR-RAM | MSI K7N2 | 80 GB IDE | 160 GB IDE || WindowsXP | Blitz3D | Blitz+
Computer 3: Intel Pentium MMX | onBoard-Grafik | 32 MB RAM | 1 GB IDE || Windows 98 SE | Blitz+
  • Zuletzt bearbeitet von FBI-blitz am Do, Feb 17, 2005 17:09, insgesamt einmal bearbeitet
 

Olio

BeitragDo, Feb 17, 2005 17:09
Antworten mit Zitat
Benutzer-Profile anzeigen
ich würde mal schauen ob der pfad/dateiname korrekt ist

edit: bin wieder mal zuspät Crying or Very sad

nX^

BeitragDo, Feb 17, 2005 17:41
Antworten mit Zitat
Benutzer-Profile anzeigen
das prob hatte ich jetzt behoben
ich hab meinen ersten popst gerändert denn ich hab jetzt nn adneres prob

Neue Antwort erstellen


Übersicht BlitzBasic Blitz3D

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group