Results 1 to 2 of 2

Thread: My lines and circle strokes are a little thick... why?

  1. #1

    My lines and circle strokes are a little thick... why?

    https://alexvincent.us/demos/webgl-t...show=isometric

    Hi, everyone. I've got this mix of WebGL, HTML5 Audio, and Popcorn (from popcorn.js) in a presentation with a minor bug in it. The lines are a little thick, and I can't figure out why.

    The relevant code snippets are at:
    https://alexvincent.us/demos/webgl-t...GLInterface.js
    https://alexvincent.us/demos/webgl-t...tricObjects.js

  2. #2

    Re: My lines and circle strokes are a little thick... why?

    I figured it out. I trusted CSS to handle the viewport width & height. If I put the width & height directly on the canvas element, it fixes my bug.

Similar Threads

  1. Draw Circle and triangle using the same viewport?
    By sunil_khronos in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 01-09-2010, 01:58 AM
  2. Square Texture over a Circle
    By sunkingac in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 01-06-2010, 05:09 PM

Posting Permissions

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