Skip to content

NAP 0.5.5

Compare
Choose a tag to compare
@cklosters cklosters released this 15 Nov 13:38
· 1440 commits to main since this release

'Minor' release with various improvements and bug fixes.

This release addresses one of the most common causes of frustration when working with Napkin: The Inspector view losing focus and being rebuild after editing a property. This was introduced, at the time, as a shortcut to not having to handle and properly implement all the data model changes. Many temporary hacks were introduced to restore state, but none were truly satisfactory.

This release addresses this shortcoming. It ensures that the inspector view and property items keep their state when an edit is made. It only redraws the part that is required. This means that item selection, item collapse / expand state and the scroll position are maintained. It also improves performance because only the items that change are updated / redrawn. Other improvements, fixes and new features include:

Improvements

  • Property changes in Napkin are handled locally (napkin)
    • Removes the need to rebuild the property model after a change to the data model is detected.
    • Improves overall performance and ensures state of the view is kept between edits.
  • Added icons for property edit actions (napkin)
  • Improved property edit action labels (napkin)
  • Better initial layout of properties when a resource is selected (napkin)
  • Better visibility of embedded resource in array (napkin)
    • Resource ID promoted to item index
  • Ability to author ID of embedded resource in array at a specific index (napkin)
  • Improved general handling of Instance Properties (napkin)
    • Use RTTI to create and update instance properties
  • Removed documentation generation from source code (docs)
  • Removed all asio includes from udp header files (mod_napudp)
  • Construction of nap::SphereMesh (mod_naprender)
  • UDP setup and layout (mod_napudp)

New Features

  • nap::TorusMesh (mod_naprender)
    • Predefined torus mesh with additional normal, uv and color vertex attributes.
    • Used in the copystamp demo
  • Support for vec4 / ivec4 parameter and parameter tracks (mod_napparameter)
  • Support for vec4 / ivec4 parameter blenders (mod_napparameter)
  • Support for vec4 / ivec4 parameter editors (mod_napparametergui)
  • Multicast support (mod_napudp)

Fixes

  • Potential memory leak when allocating Instance Properties (napkin)
  • Incorrect behaviour when hovering over curve (mod_napsequencegui)
  • Wrong initialization of audio file resources when previous errors occurred during initialization (mod_napaudio)
  • Ensure windows sdk version is set when asio is included in packaged env (mod_napasio)
  • Replaced broken failed preset load popup with log warning message (mod_napparametergui)
  • Storage buffer binding update of flock system render material (flocking demo)
  • Thread could potentially exit before mRun is set to true (mod_napudp)
  • Remove adapter before calling onStop, fixing a potentiol error where adapter could get called while its internal implementation is already stopped or discarded (mod_napudp)
  • Properly export parameter group (mod_napparameter)
  • Synchronization of storage buffers when using multiple onCompute calls within a single frame (mod_naprender)
  • Remove double binding changed callback in numeric binding instance
  • Imgui enter key remap fix, thanks to @andras-v

Thirdparty

  • Bumped glslang to latest master

Download

Special thanks to @lshoek @TimGroeneboom @cheywood @bmod @cklosters @andras-v