Cardboard での THETA 画像表示
Post date: 2016/10/02 14:47:16
TextureSphere.pde を利用する。
void draw() {
translate(0,0, (float(height)/2.0) / tan(PI/6.0));
pushMatrix();
scale(-1,-1,1);
noStroke();
textureMode(IMAGE);
texturedSphere(globeRadius, texmap);
popMatrix();
}