rextimmy
e1398895b3
fix opengl device not returning the correct anisotropic value
2021-12-15 20:09:18 +10:00
AzaezelX
0527865462
set cubemapsaver profile to one that preserves sizes
...
also aug size mismatches for the popup so they're reported
2021-11-21 14:28:51 -06:00
Brian Roberts
e0e3ebc69d
Merge pull request #637 from Azaezel/alpha40/guiRotation
...
blatantly ganked from T2D; adds rotation as an option for drawbitmap
2021-11-08 16:08:17 -06:00
AzaezelX
8fa652a327
by request, changed fspin and the new "rotation" for bitmap gui elements to a more generic "angle" to preserve thedistinction between rotating a gui and rotating a 3d object.
2021-11-08 16:07:44 -06:00
AzaezelX
e45b959d7d
correct imageassetarrays having a singular texture profile as oposed to a type per.
...
while that certainly works for most cases it falls apart when dealing with postfx where it's an unnamed array of variable types of inputs.
shifted the profile assignment to #define INIT_IMAGEASSET_ARRAY(name, profile, index) so there's still a really obvious point where you can see the default setting, even if it's not in the more desireable OG definition spot
for postfx in particular, given we can swap that, provided an example of how to do just that
2021-11-03 12:30:52 -05:00
AzaezelX
d07d113246
blatantly ganked from T2D; adds rotation as an option for drawbitmap
...
demonstrates a bit of usage in guibitmapctrl. (do note, gui elements may need followup via altering thier clip rect depending on how folks want to end up using this)
2021-10-25 23:16:41 -05:00
Robert MacGregor
2586e73145
* BugFix: Correct a few memory leaks.
2021-10-14 19:40:16 -04:00
Brian Roberts
15aed0efc2
Merge pull request #616 from Azaezel/SoundAssetImplements
...
Sound asset implements
2021-10-13 13:11:57 -05:00
Jeff Hutchinson
90951b3cc8
Merge pull request #619 from Azaezel/alpha40/glcubefix
...
fix opengl cubemap display
2021-10-11 21:13:25 -04:00
AzaezelX
f5600826d7
Merge branch 'Preview4_0' into SoundAssetImplements
...
# Conflicts:
# Engine/source/T3D/assets/assetImporter.cpp
# Engine/source/forest/forestItem.cpp
2021-10-11 20:11:27 -05:00
AzaezelX
bce14ab63f
fix opengl cubemap display
2021-10-11 20:02:49 -05:00
Brian Roberts
8f8a8384e3
Merge pull request #608 from DraconicEnt/bugfix-msvc-compiler-warnings
...
BugFix: Correct MSVC Compiler Warnings
2021-10-11 19:31:22 -05:00
Brian Roberts
ed80136322
Merge pull request #615 from JeffProgrammer/gl_meminfo
...
OpenGL Memory Info Extensions
2021-10-11 19:31:10 -05:00
Robert MacGregor
aba091a97a
Merge remote-tracking branch 'main/Preview4_0' into bugfix-msvc-compiler-warnings
2021-10-11 19:36:52 -04:00
Robert MacGregor
1385b29f03
* Adjustment: Initial testing with extensions to load GPU VRAM.
2021-10-10 20:53:55 -04:00
Jeff Hutchinson
a458c97217
Implement more extensions to get graphics card memory for OpenGL on windows and Linux.
...
(cherry picked from commit da942cdb79a87b76e629b36415c83067e3620a70)
2021-10-10 20:09:02 -04:00
AzaezelX
e2e1c491ac
Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into kermithelpme
2021-10-09 11:32:13 -05:00
Robert MacGregor
5d26dba7da
* BugFix: Clear some MSVC compiler warnings.
2021-10-07 00:27:39 -04:00
Robert MacGregor
1b6b803a20
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
2021-10-04 20:04:21 -04:00
AzaezelX
98a079a797
code duplication prune. should aid in stability
2021-10-03 02:56:26 -05:00
AzaezelX
c523951e65
Merge branch 'Preview4_0' into alpha40/SGCleanups2
2021-09-22 18:47:31 -05:00
AzaezelX
9775d69988
pad shader uniform length pipe by 1 to avoid a bug with some integrated chips clipping
2021-09-21 17:10:07 -05:00
Brian Roberts
2fe767f2cd
Merge pull request #578 from Azaezel/alpha40/dedicatedGFXnullouts
...
dedicated gfx device suppression
2021-09-19 01:57:22 -05:00
Robert MacGregor
c8a5ccb191
* [OpenGL] BugFix: Correct shader errors being thrown during the load phase due to direct use of glUseProgram causing desync with GFXGLDevice.
2021-09-17 17:39:29 -04:00
AzaezelX
98a4e7fb12
dedicated gfx device surpression
...
augments $Video::forceDisplayAdapter = -1; to force usage of GFXAdapterType::NullDevice
skips trying to open a splash window for dedicated servers
bypasses guicanvas window display if window does not exist
2021-09-14 17:49:27 -05:00
AzaezelX
5f0551b831
don't try to generate mipmaps for images that aren't n^2 dureing preview map generation
2021-09-10 18:18:30 -05:00
Brian Roberts
86a8fb5854
Merge pull request #523 from Azaezel/alpha40/windowWonk
...
report if SDL_CreateWindow is unable to create a window at all
2021-08-10 22:29:05 -05:00
AzaezelX
fc9d767256
report if SDL_CreateWindow is unable to create a window at all
2021-08-09 23:48:01 -05:00
AzaezelX
a944b6435c
give useful data when not finding a given shader var
2021-08-09 20:19:16 -05:00
Areloch
34f0f01cea
Adds console function to compare file modified times
...
Adds console function to save a scaled image
Improved logic of generating previews for shape, material and image assets to regen if original asset loose file was modified
Added logic to generate scaled preview image for material and image assets to improve load times of AB
2021-08-08 16:20:58 -05:00
AzaezelX
b73353a446
we want old direct-file references first, then asset macros, since those plug in the old entries to empty if valid.
2021-07-29 11:12:07 -05:00
AzaezelX
3fad050028
Merge branch 'Preview4_0' into EngineAssetify_Followups
2021-07-28 13:51:44 -05:00
AzaezelX
1c0f234d3a
adress #510 - missing GFXFormatR11G11B10 macrohook
2021-07-20 11:29:13 -05:00
Areloch
5525f8ecdd
Converts all game, gui editor, and system classes to utilize assets
...
Processed core, tools and default modules to utilize assets
Converted all console types that were string based, such as TypeImageFilename to utilize const char*/the string table, which avoids a lot of type swapping shenanigans and avoids string corruption
Removed unneeded MainEditor mockup module
Removed some unused/duplicate image assets from the tools
2021-07-19 01:07:08 -05:00
Brian Roberts
2a2987869b
Merge pull request #478 from Bloodknight/SDL_OpenGL_BPP_Fix
...
Fixes a resolution switching issue when the game uses **only** OpenGL…
2021-04-22 19:51:14 -05:00
AzaezelX
ab878eb312
report which profile usages are conflicting (was,is)
2021-04-06 14:54:53 -05:00
Marc
3d2f3bda64
Fixes a resolution switching issue when the game uses **only** OpenGL as the renderer
...
Canvas.tscript fixes provided by @OTHG_Mars
2021-03-18 21:37:36 +00:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +01:00
Areloch
c5cdba750e
Fixes some minor errors on MacOS regarding compiling in clang
2021-01-14 18:00:56 -06:00
Brian Roberts
4de1449c4b
Merge pull request #442 from rextimmy/gfx_cleanup
...
Removed old fixed function code from GFX.
2021-01-05 03:00:04 -06:00
rextimmy
6d71bec417
gfx enum correction
2021-01-05 13:04:53 +10:00
rextimmy
5a933c00d3
Removed old fixed function code from GFX.
2021-01-05 12:57:17 +10:00
rextimmy
aad70af468
use const for consistency
2021-01-05 10:43:12 +10:00
rextimmy
511efcf462
Correct GFXD3D11TextureObject lock/unlock issues
2021-01-05 10:41:30 +10:00
Lukas Aldershaab
481e2a7230
Improve terrain rendering, handle bug with no detail
2021-01-04 20:06:17 +01:00
Lukas Aldershaab
26f09d9a97
Fail hard on unrecoverable mistakes in GFXTextureArray
2021-01-03 01:32:39 +01:00
Lukas Aldershaab
db496fa0c4
Make terrain texture settings global, add dialog to painter
2021-01-03 00:50:42 +01:00
Lukas Aldershaab
d3996aec84
Add texture size fields to terrain textures and improve editor performance
2021-01-02 18:33:18 +01:00
Lukas Aldershaab
9caa08b7f0
Fix off-by-one in mip levels for OpenGL
2021-01-02 18:19:26 +01:00
Lukas Aldershaab
3c8d07a03e
Cleanup and fixes
2021-01-02 02:08:22 +01:00