Fellow enthusiasts!
After having made a model in 3DWS that consists of multiple (separate) boxes and plains added together, everything starts flashing of flickering in DBpro once I have loaded the model and start moving the camera around.
I tried playing around with the " Set object" or " Set object texture" commands, but everything keeps on being messy with flashing textures in DBpro, while it looks good in 3DWS. Is it because the object consists of multiple (seperately textured) objects (in which vertices are unconnected)?
Help appreciated!
Here is my code:
Rem ***** Included Source File *****
load object "C:\Users\Jan Eise\Documents\Darkbasic\PRo\New Folder\test.dbo",1
position object 1,0,0,0
SET CAMERA RANGE 0, 5000
set object texture 1,1,1,1
set object 1,1,0,1,1,1,1,1
sync on
do
if upkey()=1
move camera 1
else
if downkey()=1
move camera -1
else
if leftkey()=1
yrotate camera wrapvalue(camera angle y()-0.01)
else
if rightkey()=1
yrotate camera wrapvalue(camera angle y()+0.01)
endif
endif
endif
endif
sync
loop