Pages

Saturday, July 24, 2010

glew bug in OpenGL 2,4 and solution

glew is my favorite library for loading OpenGL extensions; but for new way in OpenGL 3 and 4 for listing extensions it fails to initialize and detecting them. so i can't use it in my game engine. Geeks3D news:

http://www.geeks3d.com/20100721.../

today, i saw Geeks3D put some codes for solving this problem:

http://www.geeks3d.com/20100722/tips-how-to-get-the-list-of-the-opengl-extensions-with-a-core-profile/

enjoy it :)

Tuesday, July 13, 2010

dge math namespace

i wrote math namespace of dge which is include following classes:

- Matrix (4x4 float point matrix)
- Vectors ( 2D,3D and 4D vectors)
- Box
- Sphere
- Plane
- Ray
- Frustum
- and basic instructions like as (abs,min,max and ...)

must important operations of matrix,vector and box classes like matrix multiplication are doing with SSE instruction set but it can be also done by 3DNOW or x86-87 instruction set (you can set it in config.h file)

performance up in my system with SSE2 for matrix multiplication is about 50% and i can increase it by using 128 aligned class and data types but engine safety and "easy to use" is main purpose of me.

also I'm planning to add quaternions and other classes to math namespace (but not yet)

Monday, June 14, 2010

My First Direct3D Application


finally after reading more than 10 chapters from the "Introduction to DirectX 9.0 Game Programming" i can wrote my first DX application. this app load and shows The Griffin capital (homa bird in persian) model

You can read more about griffin(homa) by clicking here

Tuesday, June 1, 2010

How to Know the Graphics Memory Size and Usage In OpenGL

Here is a short tutorial that showing how to retrieve some graphics memory informations (like the size or the usage) in OpenGL for NVIDIA and AMD/ATI cards

Geeks3D Link

Enjoy it ;)

Sunday, May 16, 2010

Darius Game Engine


"Darius Game Engine" (dge) or "d-engine" is OpenGL based 3D Game engine for linux and windows platforms.

name of engine become from the name of one of the greatest emperors in the world which said "Darius The Great". Darius was the third king of kings of the Achaemenid Empire. Darius held the empire at its peak, then including Egypt, and parts of Greece.

you can read more in wiki:
http://en.wikipedia.org/wiki/Darius_I_of_Persia