Commit Graph

66 Commits

Author SHA1 Message Date
dexy
4cc780a461 New MetaNames, Fragments glass windows progress, Renaming some things in Skeleton and Bone 2019-11-05 20:47:10 +11:00
dexy
8335fd065c Fix for generating bone bind transform inverse when not given, Skeleton bone star size fix in world view 2019-11-04 00:04:02 +11:00
dexy
6be0d5cb30 Skin mesh now using correct bone transforms 2019-11-03 22:43:39 +11:00
dexy
9f84ba8ad0 Added vertex shaders for skin mesh support 2019-11-03 06:25:20 +11:00
dexy
3462513e27 Fixed UV anim clips assignment to use geometry's ShaderID for the lookup. 2019-11-02 22:53:54 +11:00
dexy
68a028dc0b Minor improvement to UV anims 2019-11-02 20:40:14 +11:00
dexy
b61899dedf Fix loading some YCDs 2019-11-02 18:37:21 +11:00
dexy
6f0a7d99f9 Experimental bone animations playing from YCD. Windmills, fans, radars, ufos etc 2019-11-02 18:14:36 +11:00
dexy
80b6f3742b Experimental UV animations playing from YCD. (some air cons broken!) 2019-11-02 06:46:45 +11:00
dexy
4834b8c520 Fixed casing issues with MetaNames which probably was causing XML issues. Moved shader param names to new ShaderParamNames enum to preserve casing. Moved meta type names to new MetaTypeName enum to avoid polluting MetaNames. 2019-10-31 17:11:12 +11:00
dexy
4559312f1c Handle mouse back/forward in RPF Explorer, Fix 2D mode ymap frustum culling, Added Disable embedded collisions flag name on Entity form 2019-03-30 03:30:45 +11:00
dexy
60b1570930 Fix for vehicle wheels rendering corrupting the saved file 2019-03-28 20:33:07 +11:00
dexy
bd283a5c07 Ymap frustum culling 2019-03-23 22:23:37 +11:00
dexy
023be70bb4 Model Material Editor 2019-03-22 01:29:37 +11:00
dexy
bc1efebe5c FBX importer v1, fix for YNDs DLC loading, fix for renamed NG encrypted RPFs, RelFile MetaNames addition 2019-03-20 21:21:47 +11:00
dexy
a11ec59dda Optimised BasicShaderPSGeomVars for DiffuseSampler2, added BasicVS_PNCTT.cso to source control 2019-02-20 20:56:04 +11:00
horstche
3690b082bc Added vertex shader PNCTT and started implementation of DiffuseSampler2. (#43)
Added vertex shader PNCTT and implementation of DiffuseSampler2.
2019-02-20 20:41:00 +11:00
dexy
9af0b41967 Fix for XML/PSO conversion inaccuracies 2019-01-14 12:25:03 +11:00
dexy
fbf57293c1 Skewy wheels bug fix 2019-01-13 22:18:57 +11:00
dexy
d794f592d8 Vehicle wheel right hand side flip/fix 2019-01-13 21:31:33 +11:00
dexy
ac3bcb7f4e Added MetaNames by 0x1F9F1 - from companion app 2019-01-13 19:51:49 +11:00
dexy
187f8379cd Vehicle viewer progress 2019-01-13 17:04:32 +11:00
dexy
d7d4054971 Fix for XmlMeta not importing Vector3 arrays properly, Added extra texture sampler options 2019-01-12 12:17:02 +11:00
dexy
f3c7538d78 Fixed vehicle license plates rendering 2019-01-11 20:40:13 +11:00
dexy
6c244c6406 Replaced CMapData and CEntityDef property gets with field gets for performance 2019-01-09 18:09:12 +11:00
dexy
dd3b8bdab4 Waiting for textures to load before rendering 2019-01-09 16:55:11 +11:00
dexy
da7a9e106f HD textures option in model viewer 2019-01-09 12:15:38 +11:00
dexy
1af436b403 Stopped HD ytd's getting loaded when HD texture not enabled, changed cache stacks to queues, added distance property to entity 2019-01-08 18:57:24 +11:00
dexy
2d8305c7a1 Added renderable texture dict hierarchy caching 2019-01-06 15:51:58 +11:00
dexy
9dde38c930 HD textures (WIP), vehicles.meta gtxd loading 2019-01-06 05:04:33 +11:00
dexy
a7c17f318c Render car generators option for MrFoxPro 2018-12-23 15:29:35 +11:00
dexy
801d530d78 Slightly improved newer vehicles rendering 2018-12-21 22:37:55 +11:00
dexy
7660a228eb Renamed skin vertex types and adjusted vertex layouts 2018-12-21 20:11:28 +11:00
dexy
f738a03eaa Fixed interior and embedded collisions not being drawn when in Collisions mode 2018-12-16 17:20:00 +11:00
dexy
3533260884 Rendering OccludeModels when in Occlusion mode 2018-12-15 04:09:02 +11:00
dexy
1e2e927cf6 Fixed grass painting and selection bugs/glitchiness 2018-12-07 13:41:18 +11:00
dexy
a7e2c7a0b6 Fixed RenderableCache item invalidation and cleaned up code 2018-12-05 17:36:23 +11:00
dexy
0c4001fa4b Improved RenderableCache item invalidation, Added Performance Statistics window 2018-12-05 16:23:34 +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
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
aec2426d7b Moved renderentities check 2018-08-12 18:04:34 +02: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
4c46a850f4 Improved rendering for nav poly selection, path shader now batches selection lines and tris 2018-05-01 18:03:20 +10:00
Carmine
4235c5a0c2 BoundsMaterialTypes: Read colours from materialfx.dat 2018-04-03 14:27:15 +02:00
dexyfex
a85eb257be Rendering support for missing/new vertex type used by some vehicles 2018-03-17 01:03:37 +11:00
dexyfex
52e4b2f20b R29 - Added AwcForm WIP warning, tweaked paths depth clipping, updated todo 2018-03-14 22:54:18 +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