webarkit / ARnft

A small javascript library for WebAR with NFT
GNU Lesser General Public License v3.0
219 stars 53 forks source link

high resolution images #286

Open Parisa-DolphinSoft opened 2 years ago

Parisa-DolphinSoft commented 2 years ago

Hi I created a js project with react and three.js and arnft (jsartoolkit). I see some problem in arnft performance (or maybe I did not understand How to use correctly) I hope whenever you find the answer help me. This is my email also : vira4.company@gmail.com

I checked this complete example also : https://github.com/webarkit/ARnft

Problems: 2)For high resolution images for example 2k,4k converting images to fset2,iset,fset3 takes too long and if we use a low resolution image Program can not detect We should change size? dpi?dimension? How can we do it better?

tkapu commented 2 years ago

I read somewhere, that a resolution from 1000x1000 and dpi set to 300 should work great. Some more informations: https://github.com/Carnaux/NFT-Marker-Creator/wiki/Creating-good-markers