Tagged Questions
-4
votes
2answers
161 views
enemy shooting towards FPS [closed]
WELL first of all I want you to see my game (its deployed on heroku cloud) :
http://still-escarpment-3701.herokuapp.com
(It takes almost 10 sec to load so please wait for couple of sec)
I have ...
2
votes
2answers
1k views
Rotate sphere in Javascript / three.js while moving along x/z plane
I have a sphere/ball in three.js which I want to "roll" around on the x/z plane. For the z axis I could simply do this no matter what the current x and y rotation is:
sphere.roll_z = ...
5
votes
3answers
772 views
List of 3D libraries based on WebGL
Is there a up-to-date list of WebGL libraries or articals with comparison?
Until now I heard only tree.js and GLGE.
0
votes
1answer
437 views
How can I implement 3D textures using webgl?
I went through the google I/O video but did not get exactly how to do it. If somebody could point me to a simple 3D texture implementation using webgl, it would be helpful.
i basically have a volume, ...
2
votes
2answers
612 views
How to rotate an object so it stands correctly (back always facing the camera)
I have the following scene:
And I have two 3D vectors, the camera position, and the focus position. The focus vector is always behind the monster. I know how to rotate the camera around the focus ...
2
votes
2answers
734 views
Why is my quaternion camera rotating around strange axes?
I can't get it to work for the life of me. Its rotating the camera in the global coordinate system, or some other random coordinate system, not the camera local coordinate system. WASDEC work ...
8
votes
4answers
2k views
How to implement mouselook in the browser?
I am currently creating a 3D first-person shooter game in the browser using WebGL. How would I implement mouselook/free look for such a game?
2
votes
2answers
771 views
How do I employ an arcball to allow the user to look around the screen?
How do I apply an arcball (using quaternions) along with mouse events, to allow the user to look around the screen using the o3d WebGL framework?
This sample uses the arcball for rotating the ...