This project is mirrored from https://git.alchemyviewer.org/alchemy/alchemy-next.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
- Apr 05, 2024
- Dec 06, 2023
-
-
This PR fixes the non-working material hashing for LLGLTFMaterial instances. There are several issues in the current code, stemming to the fact that the hashing is performed on the block of the member variables: 1.- There are padding bytes between member variables, even after rearranging them to avoid most of the padding; in particular, the std::array's size is not a multiple of 4 bytes (64 bits), and most compilers will pad them to the next 4-byte aligment as a result. Note that C++ standards do not impose the zeroing of padding bytes on construction of a class instance, with only a couple exceptions (such as explicit zero-initialization). Those bytes MUST therefore be zeroed by us on construction. 2.- The TextureTransform strutcure getPacked() method did not touch some of the packed bytes, and as a result could *potentially* cause an issue for hashing when applied to a transform of another material instance. 3.- With the recent addition of the local textures tracking map, the said map cannot be hashed as a block of memory (map pairs will typically be allocated on the heap or on the stack, not in the memory block used by member variables). This PR solves all these issues and offers proper hashing of LLGLTFMaterial instances.
-
- Nov 21, 2023
-
-
Rye Mutt authored
-
- Nov 18, 2023
-
-
Rye Mutt authored
-
- Nov 16, 2023
-
-
Rye Mutt authored
-
- Nov 14, 2023
-
-
Rye Mutt authored
-
David Parks authored
-
- Nov 13, 2023
-
-
Rye Mutt authored
-
David Parks authored
* SL-20570 Fix for lossy (and square) normal maps when importing GLTF materials. * SL-20582 Fix for overriding to alpha mode blend not working. Incidental decruft of dead code (thanks, Rye!)
-
- Nov 09, 2023
-
-
Rye Mutt authored
-
- Nov 08, 2023
-
-
Rye Mutt authored
-
David Parks authored
SL-20582 Fix for overriding to alpha mode blend not working. Incidental decruft of dead code (thanks, Rye!)
-
- Nov 07, 2023
-
-
Rye Mutt authored
-
- Nov 06, 2023
-
-
Andrey Kleshchev authored
-
Andrey Kleshchev authored
-
Andrey Kleshchev authored
-
Andrey Kleshchev authored
-
Andrey Kleshchev authored
-
Andrey Kleshchev authored
Update editor in which texture changed to local
-
- Oct 25, 2023
-
-
Brad Linden authored
-
- Oct 12, 2023
-
-
Cosmic Linden authored
-
- Oct 11, 2023
-
-
Rye Mutt authored
-
- Oct 09, 2023
-
-
Cosmic Linden authored
-
- Oct 08, 2023
-
-
Rye Mutt authored
-
- Sep 22, 2023
-
-
David Parks authored
-
- Sep 05, 2023
-
-
Rye Mutt authored
-
- Aug 29, 2023
-
-
David Parks authored
-
- Aug 11, 2023
-
-
Cosmic Linden authored
-
- Jun 27, 2023
-
-
Rye Mutt authored
-
- May 03, 2023
-
-
Brad Linden authored
-
- Apr 21, 2023
-
-
Cosmic Linden authored
-
- Apr 13, 2023
-
-
Rye Mutt authored
-
- Apr 11, 2023
-
-
David Parks authored
SL-19564 Rebalance exposure and sky. Hack legacy diffuse map saturation and brightness to allow ACES Hill all the time.
-
- Apr 04, 2023
-
-
David Parks authored
* SL-19538 Remove hacky ambiance scale and take the mittens off probe ambiance values. Fix for sky brightening being done in sRGB space.
-
- Apr 03, 2023
-
-
David Parks authored
-
Signed-off-by:
Miezhiko <Miezhiko@gmail.com>
-