These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:10 pm Advanced search

Canvas 3D drawing using both 2D and 3D context

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

Canvas 3D drawing using both 2D and 3D context

Postby yogeshgole » Fri May 28, 2010 11:13 am

Since the webgl/opengl doesn't support text drawing, so it possible to draw 3D object using 3D context and text drawing using 2D context
yogeshgole
<h6>
 
Posts: 1
Joined: Fri May 28, 2010 11:10 am

Re: Canvas 3D drawing using both 2D and 3D context

Postby zcorpan » Thu Mar 31, 2011 7:38 pm

IIRC webgl and 2d are not compatible so you can't use both on the same canvas element; however you can use two canvas elements and place the 2d one on top of the webgl one.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest