Commit graph

4593 commits

Author SHA1 Message Date
marauder2k7
92b10df7eb cleanup nodes
ADDED: functionality to clean nodes out of the script that are related to a specific target
ADDED: functionality to clean multiple addCollisionDetails from the script
ADDED: ColConvex get added as nodes now and dont just get skipped (for future reference ColMeshes are checked for colConvex are not but this will be needed in future)

Removed: erroneous deletion of nodes and meshes from shapeEditorActions tscript file.
2024-05-16 07:04:54 +01:00
marauder2k7
25b0c5e2b1 finish fill mode setting
now fill mode actually takes effect and changes the fill mode type used to generate the convex hull
2024-05-16 04:32:14 +01:00
marauder2k7
48848f9706 rename vars
renamed vars to make more sense with the new option params
2024-05-16 03:39:18 +01:00
marauder2k7
f963a78446 TEST progress
Adding multiple collision hulls and shapes through the shape editor now works as intended though with multiple convex hulls it does produce a few lag spikes on first load of the objects.
2024-05-15 07:32:26 +01:00
marauder2k7
78f6206cde repurposed sliders
repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
2024-05-14 17:20:17 +01:00
Brian Roberts
cbe7f77ce0
Merge pull request #1278 from Azaezel/alpha41/oopsOps
fix fighting itterators
2024-05-14 09:47:54 -05:00
AzaezelX
fe5e81a27a fix fighting itterators 2024-05-13 21:31:20 -05:00
marauder2k7
81a913616c revert ThreadPool rename
revert ThreadPool rename, resources ThreadPool class is already nested in namespace VHACD
2024-05-12 21:59:18 +01:00
marauder2k7
8cf2b1d0ef Update tsMeshFit.cpp
fix addSphere
fix addCapsule

now spheres and capsules scale correctly.... hopefully....
2024-05-12 17:51:21 +01:00
marauder2k7
399844f7f1 linux and tests
fix linux build
change thread test to use TorqueThreadPool
2024-05-12 16:31:30 +01:00
marauder2k7
948d2e5cef Update tsMeshFit.cpp
code cleanup, fix warnings etc
2024-05-12 15:21:59 +01:00
marauder2k7
109d8c06e9 final cleanup
final cleanup removal of the old convexDecomp library
ADDDED: library for the floatmath from v-hacd resource, required for fit sphere/capsule/box functions
2024-05-12 15:13:03 +01:00
marauder2k7
eb33fe04af working vhacd
renamed ThreadPool to TorqueThreadPool to avoid conflics
fixed data transmission between stages of convexDecome and trimesh creation
TODO: re-add our own functions for generating sphere/cylinder/box
2024-05-12 14:43:56 +01:00
marauder2k7
679f0ff065 vhacd
added vhacd not working atm
2024-05-12 03:07:59 +01:00
AzaezelX
84c08e6ed9 work around collide not returning false with a nul object
fix a crash caused by having boundingBoxCollision on, while projecting the mouse so that there is nothing between it and a globalbounds object
it would seem we're somehow ending up in a state of WorldEditor::collide returning true it hit somethging, but NULL as far as *what*
until we properly fix this, doublecheck to make sure the hitObject isn't NULL before we start trying to reference membervars/methods
2024-05-07 00:24:49 -05:00
Brian Roberts
67b052a192
Merge pull request #1269 from Areloch/MultiObjectEditMadness
Adds handling for complex fields such as Point2, Point3 and Point4's to be able to apply value changes to only one axis across a multi-object set without affecting other axis'
2024-05-01 23:21:15 -05:00
Areloch
0d2aeac303 Cleaned up unneeded formatting values on the TypePointX field elements
Adds logic checks so we don't multi-apply edits from applyWord fields, causing redundant extra undo's
2024-05-01 21:58:18 -05:00
AzaezelX
1ea74bf8c6 enhanced argc reporting
in a method argc out of bounds scenario, report how many it got, and what range it expected
2024-05-01 18:20:14 -05:00
marauder2k7
ba03122008 add missing exe files 2024-05-01 15:54:03 +01:00
Areloch
fdadfa5eea Adds handling for complex fields such as Point2, Point3 and Point4's to be able to apply value changes to only one axis across a multi-object set without affecting other axis' 2024-04-30 18:44:17 -05:00
marauder2k7
baa977eed8 missed change
missed explicit value
2024-04-27 23:40:35 +01:00
marauder2k7
8cf5fac497 Improved error printing torquescript
Added a vector that can lookback across x number of lines in a file, if not a file just print out the error.
2024-04-27 21:19:56 +01:00
marauder2k7
f82082f59f Merge remote-tracking branch 'upstream/development' into torquescript-errorPrinting 2024-04-27 07:02:52 +01:00
Brian Roberts
4e88c4c050
Merge pull request #1255 from marauder2k9-torque/torquescript-generateCompiler
TorqueScript Generate compiler
2024-04-27 00:44:35 -05:00
Sven
ada83d9a6a
Remove redundant cstdint include 2024-04-25 18:10:26 +00:00
Sven
ac56258c9f
Revert "Remove redundant include" 2024-04-25 18:09:54 +00:00
Sven
51be14645d
Remove redundant include 2024-04-25 19:58:50 +02:00
Sven
ba5351180b
Add cstdint to ies_loader 2024-04-25 11:27:09 +00:00
Brian Roberts
29ba0439b7
Merge pull request #1260 from Azaezel/alpha41/dynamicReflectionRevisions
fix dynamicCubemaps on objects
2024-04-24 23:14:10 -05:00
Brian Roberts
d464c450d5
Merge pull request #1259 from marauder2k9-torque/test-cubemap-mip-gen
Test PR for generating cubemap mips
2024-04-24 23:14:02 -05:00
marauder2k7
6966d20104 Error printing
now torquescript will print out a more modern error message with a pointer to the offending character.
Multi line error outputs to be added to this for context
2024-04-24 06:42:25 +01:00
marauder2k7
4f3a1f395c Merge remote-tracking branch 'upstream/development' into torquescript-generateCompiler 2024-04-20 06:21:05 +01:00
Areloch
51c1ab6b83 Adds a sanity check to SimObject's setFieldValue console method so if you pass in a blank field name it doesn't crash, instead asserting in debug, and logging the error in release 2024-04-19 00:00:37 -05:00
AzaezelX
824b9a9cd5 fix dynamicCubemaps on objects 2024-04-18 13:57:29 -05:00
marauder2k7
ce4d861658 Test PR for generating cubemap mips
note ibl skips prefilter step and prefilter just becomes the cubeRefl.getCubemap()

Generates cubemap mip levels after the bake correctly on DX side.
2024-04-18 07:56:52 +01:00
Brian Roberts
e5aa6e4a95
Merge pull request #1258 from Azaezel/alpha41/probePoke
shift capturing from a globalMacro to a sceneRenderstate S32
2024-04-18 01:42:33 -05:00
AzaezelX
fe26ffc375 shift capturing from a globalMacro to a sceneRenderstate S32
lets us ditch shader recompilation so that can be done on the fly without hitches, though does cost us a per-shader const for objects and postfx
2024-04-16 13:51:41 -05:00
Brian Roberts
848db69ef1
Merge pull request #1256 from Azaezel/alpha41/orphanOops
getPrefabByCHild should skip NULLs
2024-04-15 17:55:24 -05:00
AzaezelX
f6419d9659 fix order of ops mangling useGroupCenter snapping 2024-04-15 15:33:06 -05:00
AzaezelX
785872d398 getPrefabByCHild should skip NULLs 2024-04-15 13:20:09 -05:00
marauder2k7
587f80da91 Update bison.bat
make it output the header file, this way the linkage should always work..... "should"
2024-04-15 00:33:04 +01:00
marauder2k7
77eec75bed Update astNodes.cpp
typo
2024-04-14 22:52:32 +01:00
marauder2k7
856d3bc901 fix for linux
linux case sensitivity
2024-04-14 22:47:55 +01:00
marauder2k7
83b3f01928 update bison flex
-Updated bison flex exe files to the latest windows version i could find
-Regenned the compiler..... alot of changes.....
2024-04-14 22:17:41 +01:00
marauder2k7
0954b081d0 GenerateCompiler
-ReAdded generateCompiler.bat
-Fixed paths in bat filse
-Fixed paths for includes
2024-04-14 07:08:17 +01:00
AzaezelX
ce36e2cac6 typofix 2024-04-10 16:27:30 -05:00
AzaezelX
39e72cf2b6 ditch _snapfloat entirely in favor of just using the shared mRoundF 2024-04-10 15:56:44 -05:00
AzaezelX
f52c1165b6 fix editor grid snap 2024-04-10 15:17:47 -05:00
AzaezelX
65fe0be037 use consistent clipping 2024-04-10 15:17:24 -05:00
AzaezelX
f7ed077d82 round utility functions
add mRoundF to return nearest floating value to stepsize
2024-04-10 14:17:19 -05:00