Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I've managed to get a CCB scene working with the CL. But I ran into a weird issue. The html canvas does show up, but 10x smaller compared to full-width + full-height using CCB only. I'm new to Copperlicht and messed around with CCB + JS. Any idea why the CCB with a width/height 1920x1080px does show up as 300x150px? I'm able to force the canvas element to a 100%; but it only "pseudo-scales" the webgl content up - everything is pixelized. the problem is related to Copperlicht render, somehow...(?) |
||||
|
Update: I forgot to include width/height of the canvas <canvas id="3darea" width="640" height="480" style="background-color:000000"> </canvas> |
|