Tagged Questions
0
votes
0answers
95 views
JavaScript 3D space ship rotation
I am working with a fairly low-level JavaScript 3D API (not Three.js) which uses euler angles for rotation. In most cases, euler angles work quite well for doing things like aligning buildings, ...
1
vote
1answer
122 views
How good do I have to be at Math to create a 3D game using three.js? [closed]
A question I've often had, how good at Math do I need to be to create 3 dimensional games? I get along with 2d games just fine. I understand everything I'm doing without problems after practise. ...
-2
votes
1answer
117 views
Creating a simple 3D view of a galaxy [closed]
What would be the easiest and most maintainable way to create (or use an already existing technology) a sort of Google Maps in 3D for a galaxy? Its not the main focus of my game, but I would like it ...
2
votes
2answers
300 views
How to make a Unity3d program/plugin and publish it on Asset Store?
I want to make a plugin for Unity3d, like TornadoTwins's FPS Control. How can I do that? I already have Visual Studio 2010 installed.
-4
votes
2answers
177 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 ...
-1
votes
2answers
189 views
problem with bullets shooting in FPS game
Please check out my game here: http://still-escarpment-3701.herokuapp.com
The problem is with shooting. The bullets keep on moving with the First person controller instead of moving from the same ...
-1
votes
1answer
228 views
Drawing polygons in 3D
I have recently been working on a 3D engine from scratch, using JavaScript and HTML5. I've successfully created lines (although slightly buggy) and points, but I can't figure out faces. My current ...
2
votes
2answers
2k 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 = ...
4
votes
3answers
1k views
List of 3D libraries based on WebGL [closed]
Is there a up-to-date list of WebGL libraries or articals with comparison?
Until now I heard only three.js and GLGE.
1
vote
0answers
563 views
How to turn a 3d camera (in HTML5 2D Canvas)
A few years back I started experimenting with 3d in canvas. Everything went pretty well untill I had to to turn the camera, I couldn't get it done.
A few days back I just happened to stumble upon ...
1
vote
4answers
3k views
Transform coordinates from 3d to 2d without matrix or built in methods
Not to long ago i started to create a small 3D engine in javascript to combine this with an html5 canvas.
One of the issues I run into is how can you transform 3d to 2d coords.
Since I cannot use ...
0
votes
1answer
285 views
throw a 2D ball facing the target to simulate a 3D like effect
How would you update the state of a 2D object that is thrown forward(with an arc) facing a target to simulate a 3D(depth) like effect?
var ball; //2D ball from a sprite sheet
ball.x = 0;
ball.y = 0;
...
2
votes
2answers
796 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?
1
vote
1answer
2k views
Translate object in world space usings it's local rotation
I'm using Three.JS to render some objects. I'm struggling with some very simple object rendering and translation.
The scenario is that I spawn an object at 0,0,0 in world space with 0,0,0 rotation.
...
2
votes
2answers
810 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 ...