ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator transparent background color problem? (for html5 overlay)
person icon
ty87
Registered User
Quote
2010-06-26 19:47:35

hi,

I am working on a mash-up application and need to render a 3D scene as an overlay over some other web contents using an html5 canvas. I was able to make a simpler version work using WebGL directly; now I have changed to copperlicht (in order to render a more complex scene), but the background seems to be rendered solid even if alpha of bg color is set to 0.

Is there anyone who knows what I might be doing wrong .... or whether copperlicht does (not) support transparent background color ... or whether that could be added in the future?

I am new to copperlicht and javascript, so any help would be appreciated. (I have some experience with OpenGL and C++.)

ty87

person icon
niko
Moderator
Quote
2010-06-27 07:27:43

That's currently not supported, but I'm going to add this feature in a future version.

person icon
ty87
Registered User
Quote
2010-06-27 12:37:37

Thanks ... !!!

person icon
aarong
Registered User
Quote
2010-11-10 01:58:39

I also need this feature! Any ETA on when support for transparent BG will be added?

person icon
niko
Moderator
Quote
2010-11-10 07:12:20

I think it should make it into the next release. But in the meantime, you could do this yourself: Open the latest version of copperlicht.js, search for 'clearColor' and change the fourth parameter, which should be '1' to '0'.
That's it.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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