Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / where'd my matrix go?

Author
Message
Hophead
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 24th Dec 2009 17:27
this runs fine until the prepare matrix command, i loose everything on the screen, or so it would seem.
[autocam on:backdrop on
'load image "grass.jpg",1
make matrix 1,4000,4000,100,100
'prepare matrix texture 1,1,1,1
point camera 0,0,0,0
update matrix 1

do
mx#=mx#+mousemovey() : my#=my#+mousemovex()
rotate camera 0,mx#,my#,0
color backdrop rgb(0,0,0)

loop
end]
Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 24th Dec 2009 21:07
Hi there,

I've just tried the following code and for me, it worked fine.



As you can see, all I have done is changed the file for a bitmap (I've also tried it with a jpg and it works), and removed the single quotes and square brackets which I'm sure you've done.

Unless you give any more information, all I can think is that you have the wrong picture name.

Sorry not to be of more help and Happy Christmas.

Login to post a reply

Server time is: 2024-11-24 23:56:19
Your offset time is: 2024-11-24 23:56:19