Post

Replies

Boosts

Views

Activity

Reply to How to capture all byte data of a class instance
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.
Feb ’23
Reply to Accessing the colored mesh generated by LiDAR scan
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.
May ’22