Search:

Type: Posts; User: donnapep

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,436

    Create Multiple Textures from 2D Canvas

    Hi,

    What I'm trying to do is take some long 2D canvas text that is wider than my WebGL canvas, cut it into pieces that have the same dimensions of the canvas, then "stitch" the pieces together as...
  2. Replies
    1
    Views
    1,562

    Re: Fill Canvas with Texture

    I've figured out how to do this. I set both the Projection and ModelView matrices to the identity. Then I used the following vertices:



    var vertices = [-1, -1, 1, -1, 1, 1, -1, 1];


    Now my...
  3. Replies
    1
    Views
    1,562

    Fill Canvas with Texture

    Hi,

    I have a texture containing a canvas. On that canvas is text. How can I prevent that text from scaling up and down? For example, if my font-size is 60px I want the text to always stay at 60px....
  4. Thread: Text Scroller

    by donnapep
    Replies
    0
    Views
    1,351

    Text Scroller

    Hi,

    My first WebGL project is to build a horizontal text scroller. I've figured out that I need to draw the text on a 2D canvas and then create a WebGL texture from that. So far, so good.

    I'm...
Results 1 to 4 of 5