AzaezelX
11a29ef97a
preload materials for shapebasedatas and debris
2021-08-09 16:14:10 -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
AzaezelX
482e836797
membervar compile fix
2020-12-28 17:18:19 -06:00
Areloch
3b111b14cc
Merge pull request #417 from Azaezel/alpha40_shapeMacroMagic
...
corrected and implemented a usage of shapeasset macros
2020-12-28 00:15:04 -06:00
AzaezelX
516a05301f
corrected and implemented a usage of shapeasset macros (and stray membervars touched). todo: shapebaseimage, debris.
2020-12-22 12:34:15 -06:00
AzaezelX
6408297eb9
add validation flagging for server objects
...
sets up a generic `ServerAssetValidator` PersistenceManager onServerCreated and saves anything marked dirty after processing. demonstrates looking that up and setting something dirty via shapebase::preload asset tagging
2020-12-16 21:31:54 -06:00
AzaezelX
8bb43dd5ae
error string interpreter, example of usage in shapebase::preload, plus flips the datablock filter back on to save some network bandwidth.
2020-12-03 15:37:51 -06:00
AzaezelX
220771d2fe
variation on #387 that also introduces errorcodes
2020-12-01 19:16:36 -06:00
AzaezelX
c626bc10e0
get shapeassetID read. TODO: find further flaws and unrem the filter
2020-11-27 19:03:20 -06:00
Brian Roberts
6441ecd941
Merge pull request #317 from Areloch/ShapeBaseDataAssetify
...
Implements hook-look-up logic for shape assets to ShapeBaseData including autoimport handling
2020-11-27 18:04:16 -06:00
AzaezelX
afb39d398f
code review:
...
1) got rid of evey class having it's own gravity
2) rigidshape inheritance simplifications
3) gravitymod from physicszones taking buoyancy into account natively (we still track raw bouyancy to cancel it out for player)
4) disableMove used throughout
5) items can now also be influenced by the appliedforce from physicszones
2020-10-02 13:53:46 -05:00
Areloch
ead26ec18a
Implements hook-look-up logic for shape assets to ShapeBaseData including autoimport handling
...
Also fixes issues with editing/spawning DBs via the asset browser
2020-09-21 20:51:41 -05:00
Areloch
8956559bfd
Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code.
2020-09-19 18:25:10 -05:00
Areloch
9b907e77ee
Swaps some references from the windows SDK-specific FLT_MAX to T3D's F32_MAX
...
Takes the makeFullPath in findTSShapeConstructor and turn it into a string before passing it along to the Filename to make stricter compilers happy
Removed some referenced to fields that don't exist in the current build
Removed unneeded ASM language activation for the cmake files
Adjustments to material map assembling macros to better comply to stricter compilers
2020-05-13 02:10:11 -05:00
AzaezelX
76dbedb02f
reskinning fixes
...
1) falls back to assuming the word "base" is what is to be replaced if no "oldSkin = newSkin" entry exists
2) falls back to *using* base if the entry is left entriely blank
2019-05-21 12:03:19 -05:00
AzaezelX
dd1470202d
Merge branch 'development' of https://github.com/GarageGames/Torque3D into PBR_ProbeArrayGLWIP
...
# Conflicts:
# Engine/source/gfx/D3D11/gfxD3D11Device.cpp
# Engine/source/lighting/lightManager.cpp
# Templates/Full/game/levels/Empty Room.mis
# Templates/Full/game/levels/Empty Terrain.mis
2019-05-01 23:18:31 -05:00
suncaller
31d0eb16f8
Clean up MSVC warning [C4312] conversion from type to type * of greater size
2019-02-02 23:09:55 -05:00
Areloch
b4a1d18f42
Core implementation of Physical Based Rendering.
2018-09-15 20:19:57 -05:00
Areloch
5a1af9ccd7
Merge pull request #2236 from Azaezel/memberMess
...
cleans up all 'hides' warnings (at time of writing)
2018-05-30 20:36:43 -05:00
Areloch
1f2847bc11
Merge pull request #2108 from Azaezel/reskinRedux
...
allows for arbitrary reskinning
2018-04-30 23:37:36 -05:00
Azaezel
f068664742
gamebase mmebervar cleanups. mPacked in particular is likely to geta followup for other cleaning.
2018-03-28 23:41:47 -05:00
Azaezel
6e0c24023f
MountedImage& image = mMountedImageList[i]; clarification cases
2018-03-13 19:29:08 -05:00
Azaezel
654fc29dc2
bounds to mBounds conflict avoidance
2018-03-13 01:05:15 -05:00
Lukas Joergensen
2bd43efcb9
Fix minor errors in console function definitions
2017-12-08 21:08:35 +01:00
Azaezel
f9bf4fca4b
new method: TSShapeInstance::resetMaterialList(). Sets all object-instance mapto values back to initial state. reskin now does so to avoid having to track origional values independently. (so say, if you've already got skin1 plugged in to one, and nothing in to another, no need to set skin1=skin2 on the first and skin2 or base=skin2 on the second to swap both on over to skin2).
...
also by request, went ahead and killed case sensitivity for mapto string replacement when reskinning.
2017-11-12 23:58:34 -06:00
Marc Chapman
8aaed004f1
Collision events
2017-07-27 01:41:40 +01:00
Marc Chapman
ab88b8f489
anim-clip -- sequence selection by afx effects
2017-07-27 00:31:43 +01:00
Marc Chapman
a64a2c9793
remap-txr-tags -- runtime reassignment of texture tag names. (Useful for splitting up tags with the same name in order to map different materials to them.)
...
bbox-check -- a change that allows disabling of a confusing error message.
2017-07-27 00:15:01 +01:00
Marc Chapman
d4c2eeea98
Selection Highlighting
2017-07-26 23:48:29 +01:00
Marc Chapman
f9f05f154f
datablock-temp-clone -- Implements creation of temporary datablock clones to allow late substitution of datablock fields.
2017-07-26 21:10:43 +01:00
Marc Chapman
0b84fccdd2
substitutions -- Implementation of special substitution statements on datablock fields.
2017-07-26 20:18:27 +01:00
Areloch
25686ed4be
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Masquara
15f67015d3
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Thomas "elfprince13" Dickerson
27e2871b01
Replaced StringTable->insert("") with StringTable->EmptyString()
2017-01-11 23:36:04 -05:00
Azaezel
fbfd3ed8ed
clang: constructor initialization order
...
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
James Urquhart
e6159a590a
Add basic support for showing openvr controllers and tracked objects
2016-09-11 22:42:42 +01:00
James Urquhart
ba91478fad
Baseline working openvr code
2016-09-11 22:42:42 +01:00
John3
a6dcf6ee09
added path @dottools
2016-08-07 08:06:38 -05:00
Areloch
79358ee4be
Fix to include a needed include for the accumulation volume stuffs
2016-08-07 01:35:23 -05:00
Anis
4c59f39c09
Merge pull request #1642 from Azaezel/globalAccumulation
...
level-wide accumulation assignment
2016-08-07 02:31:45 +02:00
Azaezel
9a4acc8a46
initial assignment cleanup (also shapebase for staticShape et al)
2016-06-20 16:47:01 -05:00
OTHGMars
b5a957dfdc
ShapeBase Mounting
...
Added mount transforms to ShapeBase
2016-06-17 10:36:30 -05:00
Areloch
8d195f9236
Makes the tab/spaces consistent for the entire console method function rather than mix-n-matching the formatting.
2016-05-10 10:58:03 -05:00
Areloch
27bb7a712a
Corrects tabs.
2016-05-09 13:47:29 -05:00
Areloch
3a99541541
Select camera when in material editor crashfix.
...
When attempting to select a camera Object(so going into the editor, going into the freefloating camera and then back to the player camera and selecting the freefloating one) while the material editor was open, it would crash because it attempts to access the shapebase object's shapeInstance - but cameras don't have a shape.
This fixes it so it makes sure there's a shapeinstance before trying to get the material data.
2016-05-09 13:43:06 -05:00
Anis A. Hireche
f701228a37
Steve Acaster's Ai Poses
2016-02-26 15:53:20 +01:00
Daniel Buckmaster
4f2f1ca4e1
Merge pull request #1356 from Areloch/PVS_Cleanup_813
...
Convert un-modified function arguments to const references.
2015-07-20 22:55:22 +10:00
Daniel Buckmaster
c2e5dc3345
Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development
...
Conflicts:
Engine/source/T3D/shapeBase.h
2015-07-17 16:55:12 +10:00
Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Daniel Buckmaster
6cbb4d5b16
Merge pull request #1344 from eightyeight/fix-wreorder
...
Fix -Wreorder warnings from ShapeBase
2015-07-12 15:59:31 +10:00