transparency in jsui
May 19 2008 | 9:02 pm
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