Tags » OpenGL

Bullet physics: restitution

Arkwood held his police records aloft and said, ‘Every action has a reaction.’

I threw my chopsticks in the air, ‘Of course!’

I cranked open my C++ Microsoft Visual Studio application (with OpenGL graphics library and the Oculus SDK for Windows) and added some bounce to my ball. 138 more words

Technology

Bullet physics in VR

Time to add some physics to my virtual world.

I installed Bullet Real-Time Physics Simulation, using CMake to target Visual Studio 2015 Win64 and then building the BULLET_PHYSICS.sln to spit out 64-bit libs for my app. 377 more words

Technology

Fast 2D Lights and Shadows with WebGL

Back in 2014, I wrote an article on how to implement 2D omnidirectional shadow mapping by only using ThreeJS and standard WebGL resources. That technique consisted of modeling each light object with three perspective cameras with a field of view of 120⁰ each. 1,131 more words

WebGL

Virtual pigs

Fly, pig. Rattle your blubber and yield coins. Here it is in my virtual world:

It is lit by a point light in the den. Shiny pink skin. 492 more words

Technology

Using keyboard as input in OpenGL using GLFW

We create a function declaration before the main() method –

void KeyCallBack(GLFWWindow *window, inyt key, int scancode, int action, int mod);

In the main, just after creating the glfwWindow we set the call back- 61 more words

OpenGL

Matrices and Transformations

In homogeneous coordinate system, we display a vector as P(x,y,z,w).

if w=1, P is a position.

if w=0, P is a direction.

Transformation matrices306 more words

OpenGL

An interesting term!

As of last Friday, I’m now off university for a few weeks. I thought it might be neat if I make a post about what I have done these last few weeks for university, so here goes! 418 more words

University & Life