Comments (4)
Hey,
i believe that i have become aware of an error concerning changing the near and far plane after camera initialization. When i change those after initialization (e.g.arControllerNft.setProjectionFarPlane(..)
) the camera matrix will not be updated:Seems the values are only taken into account in the setup method?
jsartoolkitNFT/emscripten/ARToolKitJS.cpp
Line 716 in f639010
Yes i think that is only in setup. But the fact is we get the camera Matrix in the Worker and we send this value with a postmessage
that is readed in the threejs_worke_ES6r.js script in the onmessage:jsartoolkitNFT/examples/threejs_worker_ES6.js
Lines 85 to 101 in f639010
I think you modified the far plane in these files i think (or something similar i think).
jsartoolkitNFT/emscripten/ARToolKitJS.cpp
Line 514 in f639010
I try to increase the far plane value, because the augmentation model gets lost when the tracking image is to far away from the camera, but it's still tracked (what i can read from the logs).
Did I get something wrong?
Thanks a lot.
But how much Dpi has your NFT Marker?
from jsartoolkitnft.
Hello, I am getting the same issue. My objects get clipped after a certain distance but the tracker can track the target. I want to increase the far plane or the clipping distance.
from jsartoolkitnft.
@anand-dotworld this depends not by the far plane of the jsartoolkitNFT camera but by two factors dpi of the NFT marker and the far clipping plane of you render engine Threee.js used in the render engine or what else.
from jsartoolkitnft.
I think when camera settings are changed it's needed to re-run the setCamera method
jsartoolkitNFT/emscripten/ARToolKitJS.cpp
Lines 413 to 457 in 2bbc6b3
jsartoolkitNFT/emscripten/ARToolKitJS.cpp
Lines 704 to 716 in 2bbc6b3
from jsartoolkitnft.
Related Issues (20)
- loadNFTMarker and loadNFTMarkers in ARControllerNFT.ts are not updated
- remove artoolkitNFT gloabl variable
- Check if deleteCamera exist
- matrixCopy is not required
- Issue with github-action: set-output is deprecated.
- simd vectorization need also other flags?
- Module '"@webarkit/jsartoolkit-nft"' has no exported member 'ARToolkitNFT' HOT 4
- Node.js 12 actions are deprecated. - github action warning.
- Image tracking video with worker examples needed. HOT 2
- Examples not working HOT 4
- About version 1.6.0 wrong version displayed HOT 1
- Marker Detection problem in new versions HOT 8
- Verify if detectMarker is strictly needed HOT 1
- emsdk 3.1.50 cause builds errors HOT 1
- emsdk 3.1.40 output stderr printf message as log error messages.
- Implement ThreeJS Interactive + multiple NFT
- Threaded examples not working on mobile browser HOT 3
- Marker detection problem after the first time HOT 4
- Textures not loading using GLTFLoader HOT 2
- How to use AnimationMixer for threejs models?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsartoolkitnft.