Граф коммитов

365 Коммитов

Автор SHA1 Сообщение Дата
John Parsaie 999772804e Add user data to hair vertex node 2023-07-07 16:42:24 -04:00
John Parsaie e82b96a3a7 Finish user data support 2023-07-07 16:00:57 -04:00
John Parsaie 61e4af2fe9 Begin to add custom user data resampling 2023-07-07 15:54:21 -04:00
John Parsaie 5d648ffd80 Add support for tex coord resampling. 2023-07-07 15:29:27 -04:00
John Parsaie 885d6a9d5b Begin support for resampling texcoord 2023-07-07 15:10:19 -04:00
John Parsaie eebf8f1b64 Add infrastructural code to make it easier to support optional vertex data 2023-07-07 12:45:55 -04:00
John Parsaie 785112cfdd Use the per-particle diameter to attenuate strip width 2023-07-06 16:54:02 -04:00
John Parsaie 1b723437d8 Load the serialized diameters into runtime memory and upload to GPU device. 2023-07-06 16:30:31 -04:00
John Parsaie c8c261d66e Serialize particle diameters into curve set. 2023-07-06 16:18:14 -04:00
John Parsaie 4cdafbc583 Initial implementation of vertex data blending after resampling. 2023-07-06 15:40:23 -04:00
John Parsaie 6314db125a Prepare to add blend weights for additional vertex data resampling. 2023-07-05 17:08:37 -04:00
Lasse Jon Fuglsang Pedersen c1aebe7ab7 update changelog 2023-06-09 14:37:21 +02:00
Lasse Jon Fuglsang Pedersen 48ba152875 fix issue with asset fields capturing mouse on mouse down outside inspector after long progress bar 2023-06-09 14:29:53 +02:00
Lasse Jon Fuglsang Pedersen 709a5752b3 add automatic lod selection, rename various fields, update changelog 2023-06-01 16:23:42 +02:00
Lasse Jon Fuglsang Pedersen 12279cb83c add options to account for solid occluders in wind propagation and strand count probe construction, update changelog, bump version to 0.11.0-exp.1 2023-05-26 17:03:50 +02:00
Lasse Jon Fuglsang Pedersen 5050608e1c change default runtime flags, omit instancing variants in default builtin lit 2023-05-02 16:13:39 +02:00
Lasse Jon Fuglsang Pedersen e78afb17f9 add wind support (adds HairWind for emitter setup, adds new volume setting to enable wind propagation, adds new solver setting to include cell forces) 2023-04-29 02:26:08 +02:00
Lasse Jon Fuglsang Pedersen ecca5c0456 updated changelog 2023-04-05 11:22:34 +02:00
Lasse Jon Fuglsang Pedersen 52fa04e7c6 clamp inputs to resampling 2023-04-05 11:11:32 +02:00
Lasse Jon Fuglsang Pedersen 1189211f0b add CHANGELOG (since initial public release), bump version to 0.10.0-exp.1 2023-03-22 00:50:28 +01:00
Lasse Jon Fuglsang Pedersen b1de6b28d2 fix issue with collision resolve and non-uniform scale box colliders (fixes #32) 2023-03-20 16:38:35 +01:00
Lasse Jon Fuglsang Pedersen f0b583c61b fix version range in asmdef for guarding against a rename in the collections package to restore compatibility with Unity.Collections >= 2.1.0-exp.4 (fixes #45) 2023-03-17 15:36:24 +01:00
Lasse Jon Fuglsang Pedersen 2eef949a9b add workaround for bounds-related issue, change buffer upload fence definition 2023-03-16 17:07:02 +01:00
Lasse Jon Fuglsang Pedersen 5dade21f4c fix synchronization issue on initialization when using async external dispatch 2023-03-16 11:37:55 +01:00
Lasse Jon Fuglsang Pedersen c9a71f743c fix format warning for topology meshes when raytracing is enabled 2023-03-15 22:03:49 +01:00
Lasse Jon Fuglsang Pedersen 23e99eeda5 fix regression in interpolation breaking output of LOD selection (fixes #54) 2023-03-15 21:22:08 +01:00
Lasse Jon Fuglsang Pedersen 88bd703664 fix issue preventing use of material variants (avoid creating variant internally) 2023-03-14 12:51:20 +01:00
Lasse Jon Fuglsang Pedersen 82f0ec6bbd fix issue with content upgrade causing some settings to be initially overwritten on a newly created hair asset 2023-03-13 16:19:29 +01:00
Lasse Jon Fuglsang Pedersen a70b19fd98 remove warning 2023-03-10 14:15:43 +01:00
Lasse Jon Fuglsang Pedersen 9f3e7b2663 allow skinning target to drive twist of root frames (previously approximated via root bone) via additional tangent stream when available and valid (i.e. adding the data requires a hair asset rebuild, and resolving the data requires package com.unity.demoteam.digital-human >= 0.2.1-preview) 2023-03-10 14:12:21 +01:00
Lasse Jon Fuglsang Pedersen 0ec4b0c734 add new setting ('Update Mode' in SettingsSystem) + related API ('DispatchUpdate' in HairInstance) to let applications that require custom scheduling explicitly control update/dispatch (fixes #4) 2023-03-08 16:32:16 +01:00
Lasse Jon Fuglsang Pedersen 96c4d74073 explicitly pass submesh vertex count to avoid issues on some platforms 2023-03-08 11:08:16 +01:00
Lasse Jon Fuglsang Pedersen 095268aa43 fix typo in alembic processing pipeline causing texcoord data to be ignored when constructing combined curve set (in practice this fixes root uv resolve via 'Resolve From Curve UV') 2023-03-07 20:57:07 +01:00
Lasse Jon Fuglsang Pedersen 739780626b bind dummy render target during non-compute path for root update 2023-03-07 14:45:45 +01:00
Lasse Jon Fuglsang Pedersen ef0358ff34 disconnect from prerequisite attachment targets on disable 2023-03-07 14:03:43 +01:00
Lasse Jon Fuglsang Pedersen 683b3cd851 clean up guards for unset keywords 2023-03-07 13:45:37 +01:00
Lasse Jon Fuglsang Pedersen 91df9ab295 remove now unused buffer 2023-03-07 13:19:22 +01:00
Lasse Jon Fuglsang Pedersen 1880622872 fix issue with initial root directions behaving strangely (broken math), make initialization disregard initial state of the root mesh when computing internal reference pose (root mesh data may already have been touched by external code by that point), further reduce memory consumption 2023-03-06 16:00:18 +01:00
Lasse Jon Fuglsang Pedersen 8ad3d098ef move static configuration to C# with [GenerateHLSL], apply both static and dynamic configuration to reduce memory usage by shrinking unused buffers 2023-02-21 16:00:29 +01:00
Lasse Jon Fuglsang Pedersen 17991a520f update renderer bounds directly when available (2021.2+) 2023-02-20 14:45:21 +01:00
Lasse Jon Fuglsang Pedersen 452d04d7a8 fix ui issue with rendering layer mask (add fallback to guard against rendering layer mask names missing in current render pipeline asset) 2023-01-18 14:46:56 +01:00
Lasse Jon Fuglsang Pedersen 998018e703 fix manually listed boundaries not taking priority over boundaries collected via overlap 2023-01-16 15:31:45 +01:00
Lasse Jon Fuglsang Pedersen 4a6dea999a fix vertex descriptor/attribute inconsistency causing validation errors with builtin pipeline on metal (fixes #16, fixes #26), fix incorrect guard that excluded builtin materials on some targets from sampling hair data, add system aware replacement shader during async shader compilation to avoid sampling non-existent position stream (note: async compilation will unfortunately still reference the generic replacement "Internal-Loading" for a single frame, causing an error log entry on e.g. metal), split common unlit/builtin shader setup into separate includes to facilitate easier reuse in custom unlit/builtin materials 2023-01-13 12:17:47 +01:00
Lasse Jon Fuglsang Pedersen 2b4677205d fix issue with resampling ignoring vertex feature flags (fixes #39) 2023-01-05 09:57:55 +01:00
Lasse Jon Fuglsang Pedersen bc0424c549 remove use of flag missing from first versions of 2021.2 2023-01-05 09:41:17 +01:00
Lasse Jon Fuglsang Pedersen a06c563891 conditional fix (2021.2+) for alembic assets not showing up in object picker (versions prior to 2021.2 still require using drag-drop) (fixes #34) 2023-01-04 14:23:28 +01:00
Lasse Jon Fuglsang Pedersen b7034c732f account for renaming and deprecated API in later versions of Unity.Collections (fixes #36) 2023-01-03 15:25:39 +01:00
Lasse Jon Fuglsang Pedersen 9150bbc3e6 fix regression in HairAssetBuilder causing false rejection of alembic source data not defining explicit width and UV (these attributes are now optional again), improve warning about incomplete (out of bounds) vertex data to also include list of missing attributes (should be useful for debugging custom data providers) 2023-01-02 12:56:13 +01:00
Lasse Jon Fuglsang Pedersen 5c82062006 bump package version 2022-12-15 15:36:10 +01:00
Lasse Jon Fuglsang Pedersen 5f1949e331 add support for building HairAsset from custom curve data (select type 'Custom' and assign implementation of HairAssetCustomData), add HairAssetCustomData, rename HairAssetProvider -> HairAssetCustomPlacement, add script updater for HairAssetProvider (now obsolete), refactor parts of HairAssetBuilder, add HairAssetBuilder.BuildFlags, fix UI overflow issue in settings enumerator, update README.md 2022-12-15 14:45:01 +01:00