I'm trying to smooth the data I'm getting from the deviceOrientation API to make a Google Cardboard application in the browser.   I'm piping the accelerometer data straight into the ThreeJs camera rotation but we're getting a lot of n...
The Aframe API is supporting curved images. However, besides curved images I would like to make curved text and planes. Can someone help me out how to do this?   I think I have to make a entity, but I dont know which properties must be set....
Been experimenting with ReactVR  and i have few doubts in handling events.As per the documentation in Cusors and Input,finding out the type of event is as easy as reading type of the event.      Events coming into onInput can be further filtered by i...
At first the texture works fine and the video plays as expected, but when VR is entered via VRDisplay.requestPresent it stops. Why is this and how to fix it?...
Has anybody used ThreeJS StereoEffect and Raycaster together for collision detection (in stereo view).  In standard full screen view I can easily check if a Vector2 in the middle of the screen colides with an object in my scene.  When I switch on the...
I'm trying to understand the formula to go from a 3D point (x, y, z) in the world to a virtual representation on a 2D image.  I'm using this page as an example:  http://dynamic.pulselive.com/dynamic/client/espn/tennis/presets/    How do I get...
I don't want a video controller but pause the video and change its current time in JS, what should I do? I have done a lot of research and tried a lot, but it always says" Cannot read property 'pause' of null"....
In my animate() function I have the following code:    if (this.controls.forward) {      // move in direction we look at     var cameraDirectionVector = new THREE.Vector3(0, 0, -1);     cameraDirectionVector.applyQuaternion(this.camera.quaternion);...
i have an 360 degree cinemapicture and i try to make that when you click on something the picture blend from one light cinemapicture to an dark cinemapicture so it looks like the light goes off. Some idea how i code that in a js-function?        <...
I am currently creating a VR web app using three.js. As the camera controls I am using the device orientation controls used here in the google cardboard three.js demo.  What I need to do is add keyboard controls to this(e.g Up arrow to go forward etc...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.