I’m wondering if the orthographic camera is broken.
I used the settings found here:
I just don’t see anything appearing. Could someone confirm?
I’m wondering if the orthographic camera is broken.
I used the settings found here:
I just don’t see anything appearing. Could someone confirm?
interesting. indeed the example doesn’t work for me until I changed the code like (I added movement too)
function setup(){
createCanvas(500,500,WEBGL);
ortho(-width, width, height, -height/2, 0.01, 1000);
}
function draw(){
box(30);
translate(100,100,-100);
rotate(millis()*0.01, [1,1,0]);
box(30);
}
so something is wrong with the clipping planes it seems. could you open an issue on github and link to this thread so other contributors can take a look? thanks!