Good morning everyone :rolleyes:
What is the best way to texturing a large terrain ?
So far I modelate a large terrain using CLOD technic and now I blocked in texturing phase :frown:.
Any...
Type: Posts; User: fleurdelys77
Good morning everyone :rolleyes:
What is the best way to texturing a large terrain ?
So far I modelate a large terrain using CLOD technic and now I blocked in texturing phase :frown:.
Any...
In fact I use visual studio 2008 and if I change the c++ compiler to C I will have other problems :frown: .... I'm sur that if it could be running with C compiler there will be a way to do it in C++...
I have told you before Salem this heightmap will drive me crazy ;) this time I have got three errors :
1- for row_pointers[i] = malloc( sizeof (*row_pointers[i]) * Map.width ); the problem was :...
here is my code :
struct Heightmap
{
int width;
int length;
unsigned short *height;
};
Thank you friends for your replies .... actually it's PNG_COLOR_TYPE_GRAY, 16-bit and I convert it to 8 bits by using the function png_set_strip_16 (png_ptr); and as MWAAAHAAA said I'll lose a lot of...
But the value are stored between 0 - 65535 ............. I'm so confused )'
But the heightmap is grayscale :confused:
Thank you so much Salem .... but I think that this Puget sound heightmap will drive me crazy :tongue: ... I have read in the data discription that the pixels are stored in 16 bits that means I have...
In fact I want to creat a terrain using this heightmap sois the description means that when I read the height value from the heightmap I'll subdivided by 400 (to scale it) :
"The lower-resolution...
hi everyone,
Could anyone explain to me what this discription of the puget sound heightmap data means :
"In the full-resolution elevation image, inter-pixel spacing is 10 meters and each 16-bit...
thank you so much MWAAAHAAA
Do you mean that the method that I used is correct ?
Actually the strange reasult I get when I load PNG not RAW. Is that make any sens ?
Thanks in advance VirtualAce
Thank you salem I'll...
Thanks Salem for your reply. (Sorry it's PNG not BMP) But what should I do to read the Height value from this PNG heightmap (sorry again I'm novice :o)
Hi Everyone,
I'm trying to model a terrain (Puget sound) by using its Heightmap Model : Puget Sound
To read that PNG file in my program I used this function
bool...