Ok, I'm sorry I'm pretty new at Blitz3D and basically everything I'm doing right now.
So here's what I did:
I downloaded a file for Google Sketchup, the file was an entire city, so of course it's a big file.
When I go into Model Info, it says 16848 Faces.
So then I exported it to a .3ds file, and copied all the textures and the model into one folder. Then a friend gave me a small thing to test it to see if it would work, when I ran it, it gave me the error "Memory access violation".
Previously to running it, I had saved it in the same folder as all the textures and the model.
Here's the script if it helps:
Graphics3D 800,600
SetBuffer BackBuffer()
camera=CreateCamera()
CameraViewport camera,0,0,800,600
light=CreateLight()
city=LoadMesh( "city.3DS" )
PositionEntity city,0,0,7
While Not KeyHit(1)
If KeyDown(200) Then
MoveEntity city,0,0.05,0
EndIf
If KeyDown(203) Then
TurnEntity city,0,0,1.0
EndIf
If KeyDown(205) Then
TurnEntity city,0,0,-1.0
EndIf
UpdateWorld
RenderWorld
Flip
Wend
End
Oh, and in the debug it highlights "RenderWorld" when the error pops up.
So if anyone can tell me what's wrong or how to fix it, that would be great.
Thanks,
Ryan
So here's what I did:
I downloaded a file for Google Sketchup, the file was an entire city, so of course it's a big file.
When I go into Model Info, it says 16848 Faces.
So then I exported it to a .3ds file, and copied all the textures and the model into one folder. Then a friend gave me a small thing to test it to see if it would work, when I ran it, it gave me the error "Memory access violation".
Previously to running it, I had saved it in the same folder as all the textures and the model.
Here's the script if it helps:
Graphics3D 800,600
SetBuffer BackBuffer()
camera=CreateCamera()
CameraViewport camera,0,0,800,600
light=CreateLight()
city=LoadMesh( "city.3DS" )
PositionEntity city,0,0,7
While Not KeyHit(1)
If KeyDown(200) Then
MoveEntity city,0,0.05,0
EndIf
If KeyDown(203) Then
TurnEntity city,0,0,1.0
EndIf
If KeyDown(205) Then
TurnEntity city,0,0,-1.0
EndIf
UpdateWorld
RenderWorld
Flip
Wend
End
Oh, and in the debug it highlights "RenderWorld" when the error pops up.
So if anyone can tell me what's wrong or how to fix it, that would be great.
Thanks,
Ryan