OBJ format can only store geometric data, [ points in space, how they arranged, is there is a material assigned to them, to which polygons the material is assigned, normals per vertex].
What you are wanting to serialise into the file format (texture data) is not possible. It would be possible in
USDZ as the zip would contain the texture data.
Alembic, you could write out that meta data per a point in space.
Post
Replies
Boosts
Views
Activity
Thanks @Scott
Q.A: You are correct, I am wanting to capture the entire object graph, so I can diff its entirety. A fun byproduct of this is I can also use this to record the size of the object in memory for the user feedback, but thats just a nice bonus.
Q.B: I have given Data a try, but Data seems to not 'collect' all the pointer data, so if an array or complex data type exists then it does not get added. After some discussion it looks like I may end up going the way you mentioned using Codable and then xoring the byte data.
Im looking into some existing Codable libraries that just do Byte encoding and do not serialise any keys, which will work in my case as it it very transient data.
Yip that is me, I posted in both locations incase there was some more Apple specific API that could achieve what I was asking, that exists outside of the main Swift API
I figured it out. Looks like I was converting to, when I should have been converting from
self.convert(event.locationInWindow, from: nil)
This solved my problem.
Thank you for the post, It helped in get PyQt installed using sip