Hi all,
I created a small house and export to .b3d format. When I netvigated it using the following codes, I found some problems (provided by Matty in another thread "blitz3d and milkshape3D"):
edit request by a friend - Sir Gak
PROBLEMS: When I stand outside my house, the wall facing me seems to be disappeared and I could see through inside. However, if I stand inside my house, the wall appears. What is happening?
Thanks in advance.
Sammy
I created a small house and export to .b3d format. When I netvigated it using the following codes, I found some problems (provided by Matty in another thread "blitz3d and milkshape3D"):
edit request by a friend - Sir Gak
graphics3d 800,600,0,2 camera=createcamera() cameraspeed#=1.0 mesh=loadmesh("house.b3d") if mesh=0 then runtimeerror("not a valid mesh file") repeat if keydown(200) then moveentity camera,0,0,cameraspeed# ;forwards cursor if keydown(208) then moveentity camera,0,0,-cameraspeed ;backwards cursor if keydown(203) then turnentity camera,0,1,0 ;left cursor if keydown(205) then turnentity camera,0,-1,0 ;right cursor if keydown(30) then moveentity camera,0,cameraspeed,0 ;A for up if keydown(44) then moveentity camera,0,-cameraspeed,0;Z for down updateworld ;although there should be nothing to update in this example renderworld flip until keydown(1) freeentity mesh freeentity camera end
PROBLEMS: When I stand outside my house, the wall facing me seems to be disappeared and I could see through inside. However, if I stand inside my house, the wall appears. What is happening?
Thanks in advance.
Sammy