View previous topic :: View next topic |
Author |
Message |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Tue Jun 29, 2010 4:41 pm Post subject: Haha -- FTEQW matrix manipulation functions in mathlib |
|
|
I swear some of the stuff you can find buried in FTEQW is rather startling.
I guess FTEQW had to have this for CSQC for the software renderer, but still I find it highly impressive.
Without such functions, it is rather difficult to pull off things that generally are done in OpenGL via the matrix manipulation features. _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ... |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Tue Jun 29, 2010 6:02 pm Post subject: |
|
|
also useful for the amazing self-correcting crosshairs.
And d3d.
Also note that glRotate/glTransform/glPushMatrix are depricated in gl3, but mneh
DP has similar _________________ What's a signature? |
|
Back to top |
|
 |
mh

Joined: 12 Jan 2008 Posts: 910
|
Posted: Tue Jun 29, 2010 6:12 pm Post subject: |
|
|
Oh, I just use the D3DX functions. They'll even work with OpenGL as they don't need a D3D device to be created, but I reckon if portability is a concern they're not an option. _________________ DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Tue Jun 29, 2010 7:09 pm Post subject: |
|
|
http://svn.icculus.org/*checkout*/twilight/trunk/darkplaces/matrixlib.c?revision=9916&content-type=text%2Fplain _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
|