Skip to content

Conversation

@kalwalt
Copy link
Member

@kalwalt kalwalt commented Apr 14, 2020

First attempt to get width, height and dpi from the NFT marker data to use for positioning the three.js model in the 3d space.
ref PR kalwalt/jsartoolkit5#42

@kalwalt kalwalt self-assigned this Apr 14, 2020
@kalwalt kalwalt marked this pull request as draft April 14, 2020 09:13
@kalwalt
Copy link
Member Author

kalwalt commented Apr 15, 2020

The example fails to detect and track the pinball image. Probably my implementation is partially wrong because is returning a struct without a id_patt, i will fix this.

@kalwalt
Copy link
Member Author

kalwalt commented Apr 26, 2020

I will not merge this PR, i have done naother test with this branch https://github.com/kalwalt/jsartoolkitNFT/tree/feature-position-v2 the repositioning of the model works as i will expect, but with a lot of jttering of the model. I'm not satisfied with this result. I think that this jttering is caused by the continuosly updating of the position. I think instead of retrieve dpi, width and height of the marker we should get these values at the init, while the loading of the NFT marker is ended. I will work on this on a new and updated branch.

@kalwalt kalwalt closed this Apr 26, 2020
@kalwalt kalwalt deleted the feature-position branch October 25, 2021 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants