ehofman
54b3c711c3
Add support for rgba textures
2003-08-07 12:31:16 +00:00
ehofman
f404161d23
Improve endian awareness somehwat. Still not therer though
2003-08-06 17:54:19 +00:00
ehofman
5a13068aaa
Melchior FRANZ: Make the clouds3d code valgrind clean
2003-08-05 18:59:58 +00:00
curt
32067b9adf
Changed "GL/glut.h" to <GL/glut.h>
2003-08-05 14:45:42 +00:00
ehofman
ea2f5f0035
Put clouds3d back in the build proces after (hopefully) fixing all the build problems
2003-08-04 17:29:30 +00:00
ehofman
ea6540ef90
Add dynamic glMultiTextureARB detection
2003-08-04 17:10:52 +00:00
ehofman
1d5c1de5d3
Add a safety precausion
2003-08-04 17:05:12 +00:00
ehofman
4b11d87a22
Add runtime detection of glActiveTextureARB
2003-08-04 12:54:57 +00:00
ehofman
c2149f9ea6
Pre-initialize the variables driving the external force
2003-08-04 12:07:04 +00:00
ehofman
73a4994cac
Norman Vine:
...
Note that SSG and OpenGL use different representations
of Matrices.
1) SSG is row major and OpenGL is column major
2) SSG uses a Z is up whereas conventionally OpenGL uses
Z is pointing into the screen
ie this just requires swapping the Y and the Z axis < columns >
and negating the new Y column
3) Now since SSG eventually calls OpenGL SSG must do this
for us behind the scenes or else things just wouldn't work
so inorder to get Clouds3D to render in the proper location
we should just need to use the Matrix that SSG uses for a Camera
Matrix and pass this directly to the Clouds3D Camers
2003-08-03 21:23:21 +00:00
ehofman
c9a4a6975c
Hide an obvious mistake by defining our own ulEndianLittleDouble function for now
2003-08-03 08:25:26 +00:00
ehofman
1a1aa37a0e
Adjust the fog according to visibillity
2003-08-01 14:20:20 +00:00
ehofman
7d3abdc512
Add cloud movement direction and speed
2003-07-31 14:46:24 +00:00
ehofman
db4c2243e3
Keep the stack clean
2003-07-31 09:04:32 +00:00
curt
6dc243e1af
Actually commit the code changes which impliment a "scale" animation type.
2003-07-25 14:48:02 +00:00
ehofman
adb5fb3bee
MSVC warning fixes
2003-07-23 09:59:39 +00:00
ehofman
7955319771
Jim Wilson:
...
Fixed texture translation so step and scroll values work with interpolation tables as well. Moved step/scroll calculation to utility function to improve code readability.
2003-07-21 08:37:22 +00:00
ehofman
3da76522f8
Fix a typo
2003-07-16 11:32:08 +00:00
ehofman
c9ac1b5a06
Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers
2003-07-13 12:34:52 +00:00
ehofman
51dff6b537
Don't check for OpenGL libraries without at least including -lm
2003-07-12 09:18:54 +00:00
curt
1f4b55e98e
Attempt to get these files back to a compilable state.
2003-07-11 17:50:32 +00:00
ehofman
229ea27050
Don't use floats where ints are more appropriate
2003-07-11 10:55:17 +00:00
ehofman
505b4c434d
Allow removing of the texture data after it is sent to OpenGL
2003-07-11 09:57:28 +00:00
ehofman
12ab6872ec
Sync he configure script with that one from FLightGear by splitting the LIBS cariable into a base_LIBS, opengl_LIBS, network_LIBS and thread_LIBS variable
2003-07-10 10:02:10 +00:00
ehofman
4c78e887e1
Jim Wilson:
...
This update adds the ability to do multiple texture transforms (Steve B. thinks supporting them at the plib level would be inefficient, which is probably true).
Removed units (e.g. "_m") from texture translation property and variable names since the texture translation values are dimensionless.
Added the ability to specify a scroll factor for stepped texture animation that needs to scroll smoothly when approaching the step interval (e.g. odometer movement).
2003-07-10 09:49:29 +00:00
ehofman
8871655a9b
Don't delete the texture data after sending it to OpenGL.
2003-07-10 09:14:34 +00:00
curt
db1966c156
A couple more sanity checking tweaks for texture freeing.
2003-07-09 20:58:39 +00:00
ehofman
d4c0c8940b
Prevent deleting the texture data for a second time in the destructor
2003-07-09 20:51:04 +00:00
ehofman
d4134195ea
Fix a silly bug where is tested against the wrong variable
2003-07-09 19:46:04 +00:00
ehofman
a8fd1b4c16
Leave the clouds3d commented out for now
2003-07-09 14:46:30 +00:00
ehofman
086473c8eb
A first attempt at making the clouds3d endian aware. Almost there.
2003-07-09 14:43:53 +00:00
ehofman
5642ef61ca
Back out a patch that never went in CVS ...
2003-07-09 13:40:06 +00:00
ehofman
fec7c62b17
Don't link agains OpenGL libraries when it's not needed
2003-07-07 11:27:10 +00:00
ehofman
e046b1bfdb
Clean up, and make more flexible and prevent unnessecary library includes
2003-07-06 17:13:25 +00:00
ehofman
01007986dc
Solaris updates
2003-07-02 12:25:08 +00:00
ehofman
ad56ba1bfa
Add a function which might return whether a texture is in video memory, delete the texture buffer after sending it to OpenGL and comment out the set/get_pixel functions
2003-07-01 09:49:45 +00:00
ehofman
54c2d5a6cc
MSVC fixes
2003-06-28 21:43:41 +00:00
ehofman
25ad84e5cb
Put the refference to fast_log() back in after checkit it actually works as expected
2003-06-28 13:43:09 +00:00
ehofman
dcdf8a4d5c
Fix some problems
2003-06-28 12:58:59 +00:00
ehofman
5d24be8c51
Add some fast math functions
2003-06-28 12:06:09 +00:00
ehofman
fa42efcf91
Do some math omtimizations as pointed out by Norman
2003-06-27 21:36:05 +00:00
curt
7f4f778bb1
Explicitely initialize planets.
2003-06-26 17:13:27 +00:00
ehofman
8a2e5cace8
Use the dlsym based approach on all unices and depreciate the glXGetProcAddressARB function
2003-06-24 08:22:33 +00:00
ehofman
23c66b6cfe
cygwin and mingw fixes
2003-06-22 11:49:19 +00:00
ehofman
b65fe814a0
Cross platform fixsimgear/screen/extensions.hxx
2003-06-20 20:05:52 +00:00
ehofman
e74c8587bd
Increase the maximum number of simultanious audio streams to the maximum defined by plib
2003-06-20 19:44:41 +00:00
ehofman
ab34b86574
Mac OS X fix
2003-06-20 19:32:04 +00:00
ehofman
011ecd980d
MSVC and Apple OS X fixes
2003-06-19 07:40:54 +00:00
ehofman
9ca1c6666e
Add our own function to check whether a certain OpenGL extension is supported
2003-06-18 09:06:54 +00:00
ehofman
ba5316ca8e
Add an OpenGL extension query function which should be cross platform
2003-06-17 16:55:21 +00:00