Search found 5 matches

by memdee
Mon Jan 05, 2004 9:47 pm
Forum: Tricks 'n' Tips
Topic: Create terrains and textures for the CreateTerrain()function
Replies: 12
Views: 6348

uhm...I don't know what I exactly did...but it seems to work now.
Well....thx for your help.

Wolfgang: http://memdee.progamerz.com/engine_source.zip
by memdee
Mon Jan 05, 2004 6:09 pm
Forum: Tricks 'n' Tips
Topic: Create terrains and textures for the CreateTerrain()function
Replies: 12
Views: 6348

Yes, I am!
I saved it again as 8-bit-bitmap and converted it back to png...just doesn't work :roll:
Just says "Couldn't create terrain"...

€dit: But it's strange...the terrain.png from the example is 32 bit depth
by memdee
Mon Jan 05, 2004 5:32 pm
Forum: Tricks 'n' Tips
Topic: Create terrains and textures for the CreateTerrain()function
Replies: 12
Views: 6348

Doesn't work. Now the terrain and the texture are the same size (257x257) - it doesn't work anyway :x
by memdee
Mon Jan 05, 2004 2:27 pm
Forum: Tricks 'n' Tips
Topic: Create terrains and textures for the CreateTerrain()function
Replies: 12
Views: 6348

It's line two.
There's nothing wrong with the directories. My test_terrain.png and test_tex.jpg are in the same dir as the terrain.png and terrain_texture.jpg from the example (which work fine).

For loading the texture I'm using this code:
Add3DArchive("Data\" , #PB_3DArchive_FileSystem ...
by memdee
Mon Jan 05, 2004 2:43 am
Forum: Tricks 'n' Tips
Topic: Create terrains and textures for the CreateTerrain()function
Replies: 12
Views: 6348

Well, thanks for that.
But why does this not work when I try it as you described?
Here are my two images:
http://memdee.progamerz.com/test_terrain.png
(test_terrain.png , 257x257, the terrain)

http://memdee.progamerz.com/test_tex.jpg
(test_tex.jpg , 256x256, the texture)

the relating code ...