XML Feeds

.

[javascript-dev] transparency in jsui

Stefan Tiedje Stefan-Tiedje at addcom.de
Mon May 19 15:02:40 MDT 2008


I wanted to get a transparent back ground in the jsui_360dial.js. I 
simply replaced the line

var vbrgb = [1.,1.,1.,1.];

with

var vbrgb = [1.,1.,1.,0.];

It doesn't seem to work. Is it possible at all, or do I miss the too 
obvious?...

I thought

glclearcolor(vbrgb[0],vbrgb[1],vbrgb[2],vbrgb[3]);

or

glclearcolor(vbrgb);

followed by

glclear()

should just execute it...

The other question would be, if it is possible to define attributes in 
js which would appear in the jsui inspector. That would be nice for 
colours  for example...

Stefan

-- 
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|\-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com



More information about the javascript-dev mailing list