Three.js pluggin. Having issues with adding a plane to scene

  • Hello

    I'm using the three.js pluggin example file and having issues with just adding plane with jpg texture using PlaneBufferGeometry to scene and I'm not seeing it in the scene. When I swap the geometry to box geometry it works. I tried rotating it and messing the scale properties but still no luck.

    Anyone else have issues with this?

    Code
    var geometry = new THREE.PlaneBufferGeometry( 500, 500 );        var plane = new THREE.Mesh(geometry, new THREE.MeshBasicMaterial({map:THREE.ImageUtils.loadTexture(resolve_url_path("testme.jpg"))}));        assign_object_properties(plane, "plane", {ath:0, atv:0, scale:1.0, depth:1000});        plane.properties.rx += 50 	plane.properties.ry += 110         plane.properties.rz += 110         scene.add(plane)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!