73f9febe06Add Mark Haris' RenderTexture class based on SimGear's extesion support files.
ehofman
2005-01-27 10:39:15 +00:00
6a6cc22e9cMove error handling in setupFuncall above the stack frame creation. The error properly belongs to the enclosing scope, not the called (non-)function. This bug was fixed a few months back in my private tree, but Melchior just discovered that the new Concorde scripts tickle it. I really need to re-synchronize SimGear with my own Nasal tree...
andy
2005-01-25 22:37:22 +00:00
b293639b76Add a bunch of extensions in preparation of render-to-texture support.
ehofman
2005-01-25 18:33:59 +00:00
34320f5f20Eliminate some compiler warnings about converting float to int.
ehofman
2005-01-15 11:57:34 +00:00
a26271e46eAdd a make_bumpmap and a make_maxcolorwindow function, modify the make_normalmap function to maximize the color window before proceding.
ehofman
2005-01-15 10:48:40 +00:00
e2e7466250Add support for contrast.
ehofman
2005-01-14 15:52:56 +00:00
dfc23c3528Add a make_grayscale function and call it from make_normalmap automatically, removing the need to do it make_grayscale prior to calling make_normalmap.
ehofman
2005-01-14 13:36:38 +00:00
cd11a5dc27Fix a mistake.
ehofman
2005-01-14 13:12:44 +00:00
899734296bAdd a function to calculate the normalmap from a regular texture.
ehofman
2005-01-14 13:08:57 +00:00
7a3a81c152RGBA textures can be made monochrome also
ehofman
2005-01-14 10:12:00 +00:00
e62a4a05acFix a few bugs and add a make_monochrome() function
ehofman
2005-01-14 10:09:21 +00:00
463ca207ceSome small updates to the saving code.
ehofman
2005-01-13 18:35:56 +00:00
da6e1b31eaFix a crash situation.
ehofman
2005-01-13 18:05:46 +00:00
8c783b1680Update the code a bit more, add a function to retreive the last error string and add a function to write SGI texture fils.
ehofman
2005-01-13 14:47:31 +00:00
efce88ff12- Fix a couple oops's in cloud.cxx - In sky.cxx blend low density cloud layers (few/scattered) into nothing (but don't touch visibility distance) as we approach them so we can fly through clean. - For high density cloud layers (broken/overcast) we do not fade the layers out, but we fade visibility to nearly nothing as we approach the layer.
curt
2005-01-11 16:02:39 +00:00
01608b7e18Add a method to SGCloudLayer to set overall cloud alpha. This gives us the capability to slowly fade a cloud layer in or out.
curt
2005-01-11 15:21:58 +00:00
a5f0e0395aDo not reduce visibility when passing through a 'few' or 'scattered' cloud layer (i.e. <50% coverage). This is a quick hack rather than a proper fix, but it will at least make it possible to get above a scattered layer VFR.
david
2005-01-10 23:34:52 +00:00
0b723174fdAdd support for binding a thread to a specific CPU (IRIX only at this time).
ehofman
2005-01-09 10:24:54 +00:00
c52657fa1aThis was too quick, now pthreads isn't detected on IRIX (and other platforms?) anymore. This needs some more thought.
ehofman
2004-12-08 15:12:11 +00:00
7c60ccfc35I don't understand why FreeBSD doesn't see isnan() after including math.h but it doesn't. Trying the apple approach to fixing isnan results in an infinite loop (making me wonder what happens on OSX?) This is an alternative approach to checking isnan() on freebsd ...
curt
2004-11-21 03:13:54 +00:00
f30c4720aeUpdate a few more instances of my email address.
curt
2004-11-19 21:47:05 +00:00
7fc8c02688My old email address is no longer valid ... point to my web page.
curt
2004-11-19 21:44:16 +00:00
54a7a0d534Ooops, fix an unintentional line wrap.
curt
2004-11-18 19:12:17 +00:00
8d73160a75Abstract out location of gl.h, glut.h, and glu.h includes so that we can make the Mac platform happy since they put these in a different place compared to the rest of the world.
curt
2004-11-18 19:10:34 +00:00
ff10602c65Make sure that timer delay values are positive-definite, otherwise user code that wants to use zero delay to mean "next frame" will get stuck in an infinite loop.
andy
2004-11-17 19:37:45 +00:00
ef486b2cc6Remove the refference to fgsg
ehofman
2004-10-14 13:35:11 +00:00
06f3cb4f8eFix a couple bugs in openal detection. I should actually generate a new configure and test it, rather than testing the old configure script.
curt
2004-10-13 20:18:35 +00:00
074f5ff996Oops, missed a part of the previous change.
curt
2004-10-13 19:52:13 +00:00
8c26f32d5fAdd a sanity check for the existance of OpenAL. If not there, bail from the configure script with an appropriate/helpful message.
curt
2004-10-13 19:51:38 +00:00
ab69c03698Fix a typo.
ehofman
2004-10-11 07:56:08 +00:00
fab1f4e7a0Frederic: Ignore display lists when using the blend animation.
ehofman
2004-10-11 07:37:42 +00:00
41eed484c1Adding the panel was a step too far for Linux, causing a segfault.
ehofman
2004-10-10 19:38:46 +00:00
7d18f9bddeRemove a phantom makeDList call (probably an old one from my code.
ehofman
2004-10-10 19:16:25 +00:00
3a48c3de7aCheck for the plib version when using display lists, just to be sure.
ehofman
2004-10-10 19:05:25 +00:00
d769a9936bFrederic: Include FGPanelNode in the display list generation process.
ehofman
2004-10-10 18:43:11 +00:00
1697cb3b1aFrederic: Use display lists for 3d models also.
ehofman
2004-10-10 17:49:27 +00:00
62aa32a417Reverse the declaration order. jpgRenderFrame (formerly known as trRenderFrame) is now declared as a NULL function pointer and assignment of the proper function is now done in FlightGear (jpgRenderFrame=FGRenderer::update).
ehofman
2004-10-06 09:57:31 +00:00
2f479cae69Small update for future use.
ehofman
2004-09-19 09:08:12 +00:00
4820d57fa8Expose the size() method for locked and blocking thread queues.
curt
2004-09-15 15:28:58 +00:00
04e3b0b3c1Fix another case where the direction vector is not initialized which can lead to openal "inrange" assertions, crashing FlightGear.
curt
2004-09-15 15:28:14 +00:00
a7f78b9f68direction vector needs to be initialized, otherwise garbage data could cause openal to generate an assertion, aborting the top level app.
curt
2004-09-10 20:44:42 +00:00
f3d8eb4665Tweaks for 0.3.7-pre1
curt
2004-09-10 18:16:06 +00:00
090f79b951Add support for parsing an xml stream from an in memory buffer, rather than just from a specified file name.
curt
2004-09-10 15:57:52 +00:00
88c0dbf661Add support for audio orientation: direction and cone definition. This currently only works for internal view and tower view because those set the listener position correctly.
ehofman
2004-09-08 11:15:57 +00:00
9e3822ceafRemove a left over of ancient times.
ehofman
2004-08-19 12:18:20 +00:00
007b0a8fe6this simple patch will enable the direct use of Point3D::get_n() instead of making duplications to call sgCartToGeod
ehofman
2004-08-17 08:31:51 +00:00
7f0ebf8871this simple patch will prevent to have fog in Clear cload layers.
ehofman
2004-08-17 08:28:35 +00:00
5414e94a1achange the log level of the initialization of OpenAL. This prevent a console popup for no reason on Windows.
ehofman
2004-08-15 09:24:12 +00:00