Results 1 to 3 of 3

Thread: blocking renderings

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

    blocking renderings

    Hi guys, I'm drawing a cube on the stage and I'm getting a really low quality rendering. I'm trying to follow this tutorial as closely as possible: https://developer.mozilla.org/en/WebGL/ ... sing_WebGL and I can't seem to figure out what is causing my cube to render so jaggedly. Here's a link to my project: http://civiliansoftware.com/webglexperiments/cube/

    The main differences between my project and the tutorial are the separation of code out into files and the animation.

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

    Re: blocking renderings

    You can fix the problem by putting explicit width and height tags in the canvas element.

    Odd, though -- you'd think that it shouldn't matter whether the dimensions are in CSS or in the element itself.

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

    Re: blocking renderings

    Ahhhh, great! Thanks. It was late last night and I had given up. I never would have found that.

Similar Threads

  1. clEnqueueReadBuffer blocking always
    By Asgard in forum OpenCL
    Replies: 6
    Last Post: 05-20-2012, 12:23 PM
  2. controlling how blocking is implemented.
    By tzachi in forum OpenCL
    Replies: 1
    Last Post: 05-25-2010, 05:24 AM

Posting Permissions

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