Improved Area Lighting in WebGL & ThreeJS

I have been working on an area lighting implementation in WebGL similar to this demo: http://threejs.org/examples/webgldeferred_arealights.html The above implementation in three.js was ported from the work of ArKano22 over on gamedev.net: http://www.gamedev.net/topic/552315-glsl-area-light-implementation/ Though these solutions are very impressive, they both have a few limitations. The primary issue with ArKano22’s original implementation is that the calculation … Read more

What to use? Tao, SharpGL, OpenTK, DirectX P/Invoke, XNA, MDX, SlimDX, Windows API Codec Pack [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago. Improve this question Back in the day it was easy; You made your own 3D stuff, then came DirectX, … Read more

How to convert a 3D point into 2D perspective projection?

I am currently working with using Bezier curves and surfaces to draw the famous Utah teapot. Using Bezier patches of 16 control points, I have been able to draw the teapot and display it using a ‘world to camera’ function which gives the ability to rotate the resulting teapot, and am currently using an orthographic … Read more

Signed angle between two 3D vectors with same origin within the same plane

What I need is a signed angle of rotation between two vectors Va and Vb lying within the same 3D plane and having the same origin knowing that: The plane contatining both vectors is an arbitrary and is not parallel to XY or any other of cardinal planes Vn – is a plane normal Both … Read more

Rotating a Vector in 3D Space

I am making an android project in opengl es that uses accelerometer to calculate change in specific axes and my aim is to rotate my spacecraft-like object’s movement vector. The problem is that i can’t understand the math behind rotation matrices. Default movement vector is 0,1,0 , means +y, so the object looks upward in … Read more

Texture Mapping in 3D Object (.pod) not happening correctly using isgl3D

I have used a 3D iphone (.pod) model, its showing correctly in PVRShammon. But when I imported that 3D model into isgl3D, its not showing correctly with the textured image, the image is covering only some of the areas of the object with some lines and triangles. _cameraController = [[Isgl3dDemoCameraController alloc] initWithCamera:self.camera andView:self]; _cameraController.orbit = … Read more