Commit Graph

16 Commits

Author SHA1 Message Date
Niek Schoemaker
da3dc2f8f3
Optimizations and refactoring
Added pooling to most of the Space Init functions (BVH Builders, etc)

Added multi threading to search world and Space Init functions
2024-01-08 05:00:55 +01:00
Niek Schoemaker
528ab1a98c
Another big commit, updated to .NET 8.0 and a lot more refactoring and optimizations 2024-01-06 19:41:10 +01:00
Niek Schoemaker
ba72dadd16
Many optimizations and bug fixes 2023-11-11 18:59:17 +01:00
Colton Fox
1b074b4389 Correctly calculate BVH item extents 2023-07-28 16:47:11 -04:00
dexy
5f481bfd6f Fixed BVH generation for BoundComposite 2020-01-27 16:58:53 +11:00
dexy
3f24a234e6 Collisions editing progress 2020-01-13 23:31:27 +11:00
dexy
33dc83c0e0 Collisions editing progress 2020-01-06 22:17:51 +11:00
dexy
d5c0bc2477 Collision detection refactoring and improvements 2019-12-10 18:33:45 +11:00
dexy
58d2293358 Collision detection refactoring and improvements 2019-12-09 22:33:36 +11:00
dexy
52f4563680 Change entity culling to use boxes instead of spheres 2019-12-06 22:36:11 +11:00
dexy
9a53c2147b Deferred shading 2019-12-04 00:52:22 +11:00
dexy
3e2dd89702 Trying to generate hash for LOD lights 2019-01-26 21:00:13 +11:00
Soloman
462e464c2f Ability to edit YTYP files and MLO Entity Defintions + Revisions to grass brush (#33)
* - Add ability to edit/add ytyp files to project.
- Add ability to edit/add ytyp archetype files to ytyp.
- Add ability to add/remove entities from mlo archetype defs.
- Add ability to save ytyp files.
- Add dialog popup before optimizing grass batches.
- Fix grass batches not being selected when chaning selection in project explorer.
- Merged with upstream/master.
- Squashed last 4 commits for PR cleanliness.

* Fixed windows forms reference error.

* - Added error checking to deleting mlo entities.
- Fixed various bugs with deleting mlo entities.
- Fixed edit archetype panel Asset Type box.
- Removed redundant/unnecessary.
- Removed backwards references between MCEntityDef and YmapEntityDef. All ymap entity to mcentity references are grabbed using indecies in the MloInstanceData class.
- Fixed "YmapMenu" not showing when selecting entities/mlo entities in project form.

Current bugs:
- Loading a ytyp file -- mlo entities are not editiable, and are created in the world.
- entitysets are not editable (properly).
- Removing an mloinstancedef from a ymap does not delete the mlo instance's gizmo from the world, and it's still selectable. (Although all references are lost, and I believe collected by the GC?)

* - Moved archetype initialization methods YmapFile.InitYmapEntityArchetypes(GameFileCache gfc)  and MloInstanceData.InitYmapEntityArchetypes(GameFileCache gfc)
- Added ability to load mlo instance defs through ymap files.
- Fixed add method for mlo archetypes.

* - Removed SetOrientationInv.
- Removed unreachable code + updated comment.
- Renamed CreateEntity to CreateYmapEntity, and renamed params for consistency.

* Split calls to CreateYmapEntity() and MloArchetype.AddEntity().

* Fixed redundant rotation inversions.

* - Added ability to select rooms.
- Changed tree view grouping for mlo entities.
- Fixed projectexplorer selection bugs.
- Added ability to toggle mlo entity sets.
- Fixed some change events when editing archetypes.
2018-12-03 19:54:04 +11:00
Soloman N
b971beb5bf added grass painting 2018-06-07 12:42:41 -04:00
dexyfex
a590df5035 Snap to ground and grid options 2018-02-25 23:30:29 +11:00
dexyfex
709bf125ce Created CodeWalker.Core 2018-02-24 22:52:58 +11:00