Problem is I have the height map as a 16bit photoshop grayscale image and the only formats I can export it to which are supported by the engine are dds and png.
DDS 16f export however doesn't work (the exporter says there is a bug or something), and png reduces it to 8 bit as it seems (if I create the terrain from that, it's very blocky).
This is the psd file:
http://www.2shared.com/file/10855139/dd0efe94/ttt.html
Another question:
Is there any way I can bind a
Flt* value to a slider control just like I can bind a Color* to a ColorPicker using ".autoData()"?
Then I wouldn't have to manually read out the data every update.
And again one of the old questions:
Quote:How do you determine if the window size has changed since the last update?
You said I should use D.screen_changed. But this is (according to documentation) only called "when screen proportions have changed".
I want to know when the absolute size (of pixels) has changed. Is there a callback function for that?
Or could you modify screen_changed to react to pure size changes even when the proportions stay the same?
Or does it already do that and the doc is misleading?