Search:

Type: Posts; User: fleurdelys77

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,653

    Terrain texturing

    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...
  2. Replies
    18
    Views
    4,084

    In fact I use visual studio 2008 and if I change...

    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++...
  3. Replies
    18
    Views
    4,084

    I have told you before Salem this heightmap will...

    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 :...
  4. Replies
    18
    Views
    4,084

    here is my code : struct Heightmap { ...

    here is my code :



    struct Heightmap
    {
    int width;
    int length;
    unsigned short *height;
    };
  5. Replies
    18
    Views
    4,084

    Thank you friends for your replies .... actually...

    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...
  6. Replies
    18
    Views
    4,084

    But the value are stored between 0 - 65535...

    But the value are stored between 0 - 65535 ............. I'm so confused )'
  7. Replies
    18
    Views
    4,084

    But the heightmap is grayscale :confused:

    But the heightmap is grayscale :confused:
  8. Replies
    18
    Views
    4,084

    Thank you so much Salem .... but I think that...

    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...
  9. Replies
    18
    Views
    4,084

    In fact I want to creat a terrain using this...

    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...
  10. Replies
    18
    Views
    4,084

    Puget sound heightmap discription

    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...
  11. thank you so much MWAAAHAAA

    thank you so much MWAAAHAAA
  12. Do you mean that the method that I used is...

    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...
  13. Thanks Salem for your reply. (Sorry it's PNG not...

    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)
  14. Is it a good method (BMP heightmap to raw) ?

    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...
Results 1 to 14 of 14