Introduction to OpenGL and GLSL

OpenGL

OpenGL

In this article I will introduce the reader to the OpenGL rendering API (application programming interface). I will also introduce GLSL (OpenGL Shading Language). We will create a simple vertex shader and fragment shader that can be used to render very basic 3D primitives. By the end of this article you will know how to create a simple OpenGL application and render 3D objects using shaders.

Continue reading

Networking in Unity

Unity Particles

Unity Networking

In this article I will introduce the networking functionality included in Unity. I will build a simple authorative server solution, introduce the NetworkView component, and show you how RPCs can be used. The screenshots are from Unity 3.5, but the solution works for Unity 4.0 as well.

Continue reading

Introduction to CUDA 5.0

CUDA 5

CUDA 5

In this article, I will introduce the reader to CUDA 5.0. I will briefly talk about the architecture of the Kepler GPU (Graphics Processing Unit) and I will show you how you can take advantage of the many CUDA (Compute Unified Device Architecture) cores in the GPU to create massively parallel programs.

Continue reading

Physics in Unity

Physics in Unity

Physics in Unity

In this article, I will introduce the reader to the Physics system used in the Unity game engine. First, I will introduce the Physic Material Asset that is used to define physics properties for collider surfaces. I will also introduce Colliders and talk about the different kinds of Collider types you can create. The Rigidbody component is absolutely essential for performing physics simulations on GameObjects. I will show you how you can create a Rigidbody GameObject that can be user controlled. I will also talk about the Character Controller component that is provided by Unity to control upright characters. And finally, I will introduce the different Joints that are available in Unity.

Continue reading

Rendering and Special Effects in Unity 3.5

Lightmapping

Lightmapping

In this article, I will introduce the reader to the different rendering components in Unity. I will introduce the Camera component as well as the different lighting components that are available. I will also talk about materials in Unity and introduce you to a few of the shaders that are available. And finally, I will also introduce light-mapping in Unity.

If you haven’t used Unity before, you can refer to my previous article titled “Introduction to Unity” available here: https://www.3dgep.com/?p=3246.

Continue reading