Commit Graph

104 Commits

Author SHA1 Message Date
dexy
13a57102a9 Selectable OccludeModels, also occluder ymap indices now displayed 2018-12-15 12:12:57 +11:00
dexy
3533260884 Rendering OccludeModels when in Occlusion mode 2018-12-15 04:09:02 +11:00
dexy
ca7f270c5c Added Occlusion mode and render YmapBoxOccluders (OccludeModels todo) 2018-12-15 01:46:48 +11:00
dexy
1e2e927cf6 Fixed grass painting and selection bugs/glitchiness 2018-12-07 13:41:18 +11:00
dexy
05d3e37394 Removed unnecessary locks when updating grass/path graphics - Improved apparent performance of grass painting when FPS is high 2018-12-05 18:26:28 +11:00
dexy
0c4001fa4b Improved RenderableCache item invalidation, Added Performance Statistics window 2018-12-05 16:23:34 +11:00
dexyfex
010350db7a Fixed build warnings 2018-12-04 17:09:28 +11:00
dexyfex
e004a5ad18 Merge remote changes with local 2018-12-03 19:59:06 +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
dexyfex
3b8b99551e Merge remote changes with local 2018-08-15 09:00:05 +10:00
dexyfex
4da1e3d8c7
Merge pull request #30 from neos7/master
Added checkbox to disable rendering of drawables and minor fields renamed
2018-08-15 08:50:44 +10:00
Carmine
f27672d6ad Added checkbox to disable rendering of drawables 2018-08-11 17:58:52 +02:00
Soloman N
6bce9acbcd Some revisions to grass brush.
- Made some changes to the way I check for deleting instances.
- Added a new bounding box check for painting grass.
- Made GetNewGrassBounds return a bounding box instead of our parameters
- Added new Expand method to bounding box util
- Added instance radius check and instance brush check to project form for possible future instance types (Props)
- Added grass brush gizmo
- Updated gui for grass instance batch panel
- Fixed bug with GoToPosition (with bounds)
2018-06-10 09:36:50 -04:00
Soloman N
b971beb5bf added grass painting 2018-06-07 12:42:41 -04:00
dexyfex
0b6432ceff GenerateNavMeshPanel WIP 2018-06-02 02:25:12 +10:00
dexyfex
4c46a850f4 Improved rendering for nav poly selection, path shader now batches selection lines and tris 2018-05-01 18:03:20 +10:00
dexyfex
f5d384601e Projects code to support audio placements editing 2018-03-17 00:16:57 +11:00
dexyfex
8b72fc1220 Editing points and portals in navmesh, improved DX error message 2018-03-14 12:36:43 +11:00
dexyfex
761278fd0b Navmesh/paths rendering depth bias, navmesh points and portals now selectable 2018-03-12 04:42:20 +11:00
dexyfex
9e448fdacc Nav mesh editing improvements 2018-03-11 01:12:08 +11:00
dexyfex
ab64a82791 Ynv polygon properties editing 2018-03-10 04:58:44 +11:00
dexyfex
bfddaada31 Drawing interior mirror portals different colour 2018-03-08 03:05:23 +11:00
dexyfex
0264011ad0 Shader improvements for decal_dirt 2018-03-07 22:24:37 +11:00
dexyfex
a68523b2ef Improved interior info display and XML conversion 2018-03-07 13:12:20 +11:00
dexyfex
6da590530b Fix for typing in textboxes when trying to move the camera in world view. Fixed debugging property exceptions in ResourceBaseTypes 2018-03-04 21:35:33 +11:00
dexyfex
4ff94156e7 Rendering scenario vehicles at correct height 2018-03-04 06:24:15 +11:00
dexyfex
6733b2a909 New ProjectForm, moved and renamed old ProjectForm 2018-03-04 00:09:31 +11:00
dexyfex
c093aa4736 New Project Window 2018-03-04 00:03:08 +11:00
dexyfex
a590df5035 Snap to ground and grid options 2018-02-25 23:30:29 +11:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00
dexyfex
375db771ee Merging GTAFolder changes 2018-02-25 00:57:47 +11:00
dexyfex
709bf125ce Created CodeWalker.Core 2018-02-24 22:52:58 +11:00
PNWParksFan
d7938dd1d8 Added GTA V folder check to main entry point in Program.cs, improved folder selection dialog
- Added bool app setting for remember GTA folder (vs. prompt every start)
 - Added checkbox to folder selection dialog for remember GTA folder
 - Changed folder selection dialog to fixed dialog window border
 - Set default Enter/Esc buttons on folder selection dialog
2018-02-21 00:27:01 -08:00
Carmine
b6cbcb6ea7 DrawableModel: replaced more names 2018-01-04 10:35:38 +01:00
dexyfex
4cbf85bd03 Added invert mouse option. 2018-01-02 11:07:24 +11:00
dexyfex
0d0a3d19d1 Hide GTAV map project option now hides collision meshes, Occlusion ymaps added to main grid 2018-01-02 08:26:56 +11:00
dexyfex
77e9c0566f Refactored rendering and input code, added show skeletons option to WorldForm 2018-01-02 07:52:54 +11:00
dexyfex
ad46bc816c Relocated RPF binary search to BinarySearchForm. Added undo operations for audio placements. Removed RPF Browser tools menu entry (it's now obsolete). Renamed MainForm to MenuForm. 2017-12-24 22:49:04 +11:00
dexyfex
9fd0a7d7a9 Render and select sphere audio zones and static emitters 2017-12-22 11:25:19 +11:00
dexyfex
d8fd82c350 Render and select audio zones (box shapes only, no spheres yet) 2017-12-22 07:26:04 +11:00
dexyfex
470f71d6ca R28_dev1 - Turkish weather bug fix, .rel progress 2017-12-20 10:52:50 +11:00
dexyfex
eab1526df5 Selected scenario vehicle nodes display car model 2017-10-02 01:06:12 +11:00
dexyfex
81e24ef86f Selected CarGen using popGroup for vehicle model set 2017-10-01 18:52:50 +11:00
dexyfex
3e46c2e60a ModelForm fragment render refactor, Grass setting 2017-10-01 18:07:45 +11:00
dexyfex
4084ecf3e9 Render selected CarGen fragment 2017-10-01 17:29:31 +11:00
dexyfex
33880bf8f6 Import scenario chain CSV, PathBVH overflow bug fix. 2017-09-30 23:58:00 +10:00
dexyfex
fd740a761d YCD inspector form. Minor PSO to XML improvements 2017-09-29 22:23:37 +10:00
dexyfex
f974c9eb49 Created MloArchetype and TimeArchetype subclasses, Meta pointer improvement 2017-09-28 14:28:09 +10:00
dexyfex
7ddd88e561 MetaTypes rearrangement, Archetype restructuring start 2017-09-28 02:24:21 +10:00
dexyfex
24370c1b5d Multi-select update graphics, fix for multi-move path nodes 2017-09-26 12:07:45 +10:00
dexyfex
bac531208c Multi-selection, move, undo/redo 2017-09-26 10:27:18 +10:00
dexyfex
efc05e1485 R26 - Added key binding for First Person mode, updated todo 2017-09-22 19:28:49 +10:00
dexyfex
2b48336e47 R26_dev8 - PopZone display, Project manifest XML 2017-09-22 17:50:26 +10:00
dexyfex
a8243c3e0e R26_dev8 - First public commit 2017-09-21 20:33:05 +10:00