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.
Topic: App & System Services SubTopic: General Tags:
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.
Topic: Spatial Computing SubTopic: ARKit Tags:
May ’22
Reply to Installing PyQt5 on `arm64` stopped working all of a sudden (some `sip` issue)
Thank you for the post, It helped in get PyQt installed using sip
Replies
Boosts
Views
Activity
Nov ’23
Reply to MouseDown location from MTKView wrapped NSVieRepresentable
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.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How to capture all byte data of a class instance
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
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
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.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
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.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
May ’22