FBXSharpie icon indicating copy to clipboard operation
FBXSharpie copied to clipboard

How to add FbxNode properties?

Open youarebritish opened this issue 5 years ago • 5 comments

As far as I can tell, none of the Token constructors are exposed, so it's not clear to me how to use FbxNode.AddProperty. What is the intended method of adding properties?

youarebritish avatar Jan 29 '20 01:01 youarebritish

@youarebritish how did you know I’m British, although been living in canada 7 years now :)

This repo is a overhaul of someone else’s work and what I’ve been working on mainly is the loading / saving / optimization / improvement side of things. I’ve been working towards goal of loading one format Version and then being able to Save as a diff version.

Once that work is done I want to start creating classes for each of the node types so becomes easier for user to add a camera etc

The more I understand what users other than my self would like from library the more I can focus my efforts in appropriate directions as the library grows.

Unfortunately I’ve not looked into adding properties etc yet

I hope that briefly explains where I am at at the moment.

UkooLabs avatar Jan 29 '20 02:01 UkooLabs

C# libraries which can write FBX documents are few and far between, and this appears to be the most modern one I could find. I was able to add properties by making the Token subclasses public. If that's not the intended workflow, it was the fix most apparent to me.

youarebritish avatar Jan 29 '20 02:01 youarebritish

@youarebritish cool, will look into making them public for now. Out of interest if you don’t mind me asking, what do you use the writing features for / use of library?

UkooLabs avatar Jan 29 '20 13:01 UkooLabs

I'm working on some game modding tools to convert to and from proprietary model formats.

youarebritish avatar Jan 29 '20 17:01 youarebritish

@youarebritish just started work on project full steam now, and apart from fixing some bugs, have now made the tokens public

UkooLabs avatar Jun 09 '20 04:06 UkooLabs