Hleb Valoshka
f46a00f4f1
Remove automatic mipmap mode, as it duplicates the default mode
2021-11-29 12:26:19 +03:00
Hleb Valoshka
bece12f6e4
Refactor Image class and image capture
...
* use GL_MESA_pack_invert to flip captured buffer
* move enum PixelFormat to own file
* use PixelFormat instead of GL formats in Image
* provide captureImage() in CelestiaCore
* use CelestiaCore methods to capture images in Qt UI
2021-06-16 14:15:32 +03:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +03:00
Hleb Valoshka
73638c116d
Remove basictypes.h and use standard c++11 types
2018-09-22 23:42:03 +03:00
Hleb Valoshka
b082d5f47f
Automatically convert to c++11 using clan-tidy
...
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka
882e4ecf28
fix whitespaces and indents
...
trailing spaces are removed
tabs are replaced with 4 spaces
# Conflicts:
# src/celengine/cmdparser.cpp
# src/celengine/command.cpp
# src/celestia/celestiacore.cpp
# src/celestia/celestiacore.h
# src/celestia/qt/qtappwin.cpp
# src/celestia/qt/qtglwidget.cpp
# src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel
a3bf034f82
Fixed some more DXT5nm related issues:
...
- Check for dxt5nm file extension to decide whether an image file contains a DXT5nm format file
- Make compressed normal maps work for meshes
- Avoid using dxt5nm textures with non-OGL2 render paths.
2006-10-22 00:13:18 +00:00
Chris Laurel
75e4ce8ec4
Added support for compressed normal maps.
2006-09-01 18:19:26 +00:00
Chris Laurel
2664efe9e8
Added a hasAlpha() method to query whether a texture has an alpha channel.
2004-02-22 01:35:52 +00:00
Chris Laurel
62792a9db0
Complete rewrite of texture handling code for cleanup and in order to support virtual textures. What was the texture class is now split between Texture and Image. There are several subclasses of Texture, including ImageTexture, TiledTexture, CubeMap, and VirtualTexture.
2003-07-30 05:34:04 +00:00
Chris Laurel
e97adfb3d3
Added support for the TEXTURE_BORDER_CLAMP extension
2002-04-16 09:31:34 +00:00
Chris Laurel
96397c94d7
Added support for loading compressed texture files with precomputed mipmaps.
2002-03-05 01:37:01 +00:00
Chris Laurel
d6905e5a83
Worked around apparent g++ bug with TexelFunctionObject.
2002-02-27 02:37:40 +00:00
Chris Laurel
5485de6217
Added support for texture splitting.
2002-02-25 20:29:32 +00:00
Chris Laurel
776dc484a5
Added a version of CreateProceduralTexture which takes a function object as a parameter.
2002-02-18 22:56:40 +00:00
Chris Laurel
715e64992f
Added setMaxMipMapLevel method; eliminated getJPEGTexture
2002-02-18 08:21:22 +00:00
Deon Ramsey
3de3498f3c
Multi Resolution Texturing
2002-02-13 20:38:49 +00:00
Chris Laurel
38e79736c5
Reorganized source tree into multiple directories.
2001-11-28 01:50:04 +00:00