Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
CL3D.Renderer - createTextureFrom2DCanvas

JIV
Guest
Quote
2011-11-06 20:46:32

Hello,
i want put dynamic text into texture. i found http://www.ambiera.com/forum.php?t=1738 but looks like createTextureFrom2DCanvas create texture wrong -> image is null. Overlay is showed fine. Does someone has same problem?

Or maybe idea how to use http://webglfactory.blogspot.com/2011/06/render-text-with-canvas-2d.html in CL3D?
Thanks


erik
Registered User
Quote
2011-11-07 14:34:12

The returned 'image' member inside the texture object is always null for me. But the texture object is ok. I think that's just as it is intended, since there is no image source but a canvas.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact