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.

Dark GDK / Error to load Heightmap and texture for terrain, why?

Author
Message
Adanf
16
Years of Service
User Offline
Joined: 22nd Sep 2008
Location: Italy!!!!!!!!!
Posted: 7th Oct 2008 18:37
When i start dark gdk debug, after about 20 seconds i see this error(the image):



but mi code is this! is the same of the sample in the tutorial!

pls help!

Attachments

Login to view attachments
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 7th Oct 2008 20:01
are you sure all the images are in the correct place?
i.e. a media folder?
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 8th Oct 2008 14:17
Quote: "dbLoadImage("terrain/NewLayer.jpg",10); dbLoadImage("terrain/detail.jpg",11);"


should be:
Quote: "dbLoadImage("terrain\\NewLayer.jpg",10); dbLoadImage("terrain\\detail.jpg",11); "


and

Quote: "dbSetTerrainHeightMap(1,"terrain/heightmap32bit.bmp"); "


Should be:
Quote: "dbSetTerrainHeightMap(1,"terrain\\heightmap32bit.bmp"); "

Login to post a reply

Server time is: 2024-09-30 07:12:46
Your offset time is: 2024-09-30 07:12:46