Dear all, I'm just working my way through the fantastic Hands On DB Vol2 book and have come to the part where I'm applying textures to objects.
However, I'm beginning to get odd errors when loading an image file. Here's the code...
set display mode 1280,1024,32
set window on
load image "stonetile3.jpg",1
make object plane 1,400,400
xrotate object 1,90
texture object 1,1
scale object texture 1,10,10
wait key
end
When I run the code (the project and jpg are saved in the same folder) I get the warning message that it can't find "stonetile3.jpg". After clicking on the OKAY button, the code runs as normal.
I've had another error where it looks for the image file in what seems to be the default installation area for DBPro as well!
Update: actually, while typing out this post and checking my facts, it seems that my project may have been corrupted as previously saved projects (doing the same thing) seem to work. Is this normal? Is DB that buggy so soon?
Many thanks for any pointers.
T