0

i think it is as simple as it sounds, but i just can't find anything that can help me.

var canvas = document.getElementById("canvas");
var world  = tQuery.createWorld().boilerplate();
    world.start();

what should i do, to display it in the canvas?

Hehe Muha
  • 19
  • 6

1 Answers1

2

you have to pass a renderer

var world  = tQuery.createWorld({
    renderer: new THREE.CanvasRenderer({
        canvas : canvas
    })
}).boilerplate();

something like that

Jerome Etienne
  • 387
  • 1
  • 3