Results 1 to 2 of 2

Thread: Drawing WebGL back to 2D Canvas

  1. #1
    Email address no longer exists
    Join Date
    Sep 2010

    Drawing WebGL back to 2D Canvas


    I can draw some textures (use 2D canvas) in WebGL. However, I encounter another problem. If I want to rotate the object in WebGL and then draw the current view (after rotation) in 2D canvas, how can I implement it well? Is is possible for me to pass the WebGL object or just the view of WebGL object to 2D canvas?

    Thanks for your help.

  2. #2
    Junior Member
    Join Date
    Aug 2010

    Re: Drawing WebGL back to 2D Canvas

    Maybe you could use webgl_canvas.toDataUrl("image/png") method to get "screenshot" of the webgl canvas and then use it within canvas2d

Similar Threads

  1. EmptyBufferDone call-back not coming Back after sometime !
    By ckarthickit in forum OpenMAX IL - Discussion and questions about OpenMAX IL interface
    Replies: 0
    Last Post: 02-27-2013, 12:26 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
Proudly hosted by Digital Ocean