-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No effect when changing the near and far plane #95
Comments
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
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).
But how much Dpi has your NFT Marker? |
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. |
@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. |
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
|
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
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.
The text was updated successfully, but these errors were encountered: