Results 1 to 5 of 5

Thread: The Moon, Jupiter, Mars globes

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    22

    The Moon, Jupiter, Mars globes

    The Moon, Jupiter, Mars globes
    http://www.ibiblio.org/e-notes/webgl/webgl.htm

  2. #2
    Junior Member
    Join Date
    Apr 2010
    Posts
    22

    Re: The Moon, Jupiter, Mars globes

    I've got a moderator warning message. Therefore you can find further demos (e.g. "Interference fringes" ;) at my pages.

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Posts
    22

    Re: The Moon, Jupiter, Mars globes

    I replaced 2 and 3 strings
    gl.bindBuffer()
    gl.vertexAttribPointer();
    gl.bufferData();
    and now 3d models work in Google Chrome. Mars and Jupiter do not work (both have >100kb textures). And something wrong "under magnification glass" yet.

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    22

    Re: The Moon, Jupiter, Mars globes

    1. I have to add the second string
    gl = canvas.getContext("experimental-webgl");
    gl.viewport(0, 0, size, size);
    to repair window on resize action in Chrome in all models.
    2. IMHO Chrome doesn't support non power of 2 textures, therefore Jupiter, Mars (NASA 1440x720 images), "800x800 magnifying glass" don't work.
    3. I think that transparent colors are not clamped to (0, 1). I've got strange spots in Chrome
    http://www.ibiblio.org/e-notes/webgl/hex.html

  5. #5
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Re: The Moon, Jupiter, Mars globes

    Quote Originally Posted by enot
    2. IMHO Chrome doesn't support non power of 2 textures, therefore Jupiter, Mars (NASA 1440x720 images), "800x800 magnifying glass" don't work.
    As I understand it, WebGL isn't meant to support NPOT textures -- Minefield is just a bit more forgiving than it should be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •