processingによって3Dオブジェクトを表示したいです。
このようなコードを書いたら下のようなエラーが出ます。
processing
1import saito.objloader.*; 2 3OBJModel model; 4void setup() { 5 size(400, 400, P3D); 6 model = new OBJModel(this, "earth.obj", "absolute", TRIANGLES); 7 model.scale(8); 8 noStroke(); 9} 10void draw() { 11 background(100); 12 translate(width/2, height/2, 0); 13 14 15 model.draw(); 16 17}
error
1The file "C:\Documents" is missing or inaccessible, 2make sure the URL is valid or that the file has been added to your sketch and is readable.
ちなみに、ダウンロードしたのは
リアルな地球 3Dモデル
です。
分かる人いれば教えてください。
回答1件
あなたの回答
tips
プレビュー