Search found 4 matches

by Tomatix
Fri Aug 05, 2011 12:04 am
Forum: Beginners Help
Topic: Dynamic terrain loading
Replies: 7
Views: 1001

Re: Dynamic terrain loading

These errors does not occur when I load the heightmap normally.

What I am really doing is; I've got 256 Tiles of an 8192x8192 px map.
That makes each tile 512x512 big.
But since I want "seamless" transitions between each tile, I've made a small Qt software to convert each tile into a 1536x1536 ...
by Tomatix
Thu Aug 04, 2011 11:23 pm
Forum: Beginners Help
Topic: Dynamic terrain loading
Replies: 7
Views: 1001

Re: Dynamic terrain loading

Tried your codes, but it gives me weird errors like "Not really a png".
Although, I don't think loading the _files_ is what creates this 5-second program hang, but rather the converting process between PNG heightmap -> actual mesh / node.
So my question would be, how can I convert the PNG heightmap ...
by Tomatix
Thu Aug 04, 2011 8:59 pm
Forum: Beginners Help
Topic: Dynamic terrain loading
Replies: 7
Views: 1001

Re: Dynamic terrain loading

I feel stupid asking this, but do you have an code example showing how to acheive this; loading the heightmap to a memory, and then put that to the scene?
I'm one of those who learn by example... Although I do RTFM quite often ;)
by Tomatix
Thu Aug 04, 2011 8:02 pm
Forum: Beginners Help
Topic: Dynamic terrain loading
Replies: 7
Views: 1001

Dynamic terrain loading

I am new to this engine, and actually new to 3D programming in general. My C++ skill is rather intermediate though.

Currently I am experimenting with loading a large heightmap (8192x8192) dynamicly into my scene.
What I've done is splitting the heightmap into smaller parts.
When the camera moves to ...