From c42c4a7fe17ef7397752a65881ccfd4bd0902324 Mon Sep 17 00:00:00 2001 From: Shea Richardson <7100563+munkybutt@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:59:31 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2acf4eb..b1353ba 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ This software (SkinPlusPlus) is provided "as is", without any warranty. The auth - Logic is written in c++ but exposed with python bindings * Work directly with numpy ndarrays - - Pybind11 is used to generate the python bindings, so the API uses numpy ndarrays for optimal performance + - Use of Pybind11 means there is minimal copying of data to pass the data from Python to the respective c++ SDK. * Currently supported DCCs: - 3DsMax: @@ -76,13 +76,13 @@ This results in a reduction in the number of iterable structures the data needs 🔥 This means it is fast 🔥 -Take 3DsMax as an example, to get from a numpy ndarray to 3DsMax SDK Tab it requires the following steps: +Take 3DsMax as an example, to get from a numpy `ndarray` to 3DsMax SDK `Tab` it requires the following steps: - ndarray -(copy)-> py list -(copy)-> mxs Array -(copy)-> Tab -> set weights. Compared to the SkinPlusPlus approach: - ndarray -(reference)-> Eigen Matrix -(copy)-> Tab -> set weights. -The native approach runs multiple copy operations in python before passing the data to c++. +The native approach runs multiple copy operations in Python to get the data into a MaxScript `Array` so it can be passed to c++. SkinPlusPlus has no copy operations in Python. `SkinData` provides attribute access to the raw data with the following properties: