Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize the processor specification for models, animations, materials #1

Closed
dtzxporter opened this issue Mar 3, 2020 · 0 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dtzxporter
Copy link
Owner

Animations are being tested now. Materials should support full-range pbr.

@dtzxporter dtzxporter added the documentation Improvements or additions to documentation label Mar 3, 2020
@dtzxporter dtzxporter self-assigned this Mar 3, 2020
@dtzxporter dtzxporter added the enhancement New feature or request label Mar 3, 2020
dtzxporter pushed a commit that referenced this issue Dec 2, 2021
Import model into current collection.
Devostated added a commit to Devostated/cast that referenced this issue Nov 9, 2024
The clean up code had following errors:

dtzxporter#1
> NameError:name 'CAST_IMPORT_BIND_SKIN' is not defined

Solution:
`mxutils.ImportSymbols(PLUGIN_RES_DIR)` is required to load the symbols of the res directory.

dtzxporter#2
> vnTag.Set(vnData, int(i / 3),
TypeError:function takes at most 3 arguments (6 given)

Solution:
[c4d.NormalTag.Set](https://developers.maxon.net/docs/py/2025_0_0/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseTag/VariableTag/NormalTag/index.html?highlight=c4d%20normaltag#c4d.NormalTag.Set) has to be a dict
Devostated added a commit to Devostated/cast that referenced this issue Nov 9, 2024
The clean up code had following errors:

dtzxporter#1
> NameError:name 'CAST_IMPORT_BIND_SKIN' is not defined

Solution:
`mxutils.ImportSymbols(PLUGIN_RES_DIR)` is required to load the symbols of the res directory.

dtzxporter#2
> vnTag.Set(vnData, int(i / 3),
TypeError:function takes at most 3 arguments (6 given)

Solution:
[c4d.NormalTag.Set](https://developers.maxon.net/docs/py/2025_0_0/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseTag/VariableTag/NormalTag/index.html?highlight=c4d%20normaltag#c4d.NormalTag.Set) has to be a dict
@Devostated Devostated mentioned this issue Nov 9, 2024
Devostated added a commit to Devostated/cast that referenced this issue Nov 10, 2024
Fixed an issue that was related to reading the values of the weightTag

Error:
> Joint index out of range

Solution dtzxporter#1:
Inserting the weightTag before reading it's values.

Solution dtzxporter#2:
```diff
- boneIndexes[bone.Hash()] = newBone
+ boneIndexes[bone.Hash() or i] = newBone
```
This solution was only needed for Apex Legends models, which seem to not always have a bone hash?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant