Closed himanshu-daga closed 5 months ago
Thanks for pointing that out. The renderer currently doesn't clip far values, but it should be easy to add. I'll put it on the to-do list!
I have added far-clipping to the shader code in #53
This fix will be published in the next update :)
Hi @dylanebert, Thanks for the prompt response. I was about to raise PR for the same & found it's already fixed :) I tested this locally & works fine on my end. Any estimate on when can we expect this update to go live?
Greetings! I am currently working with the gsplat.js library and have encountered an issue related to adjusting the far clipping plane. While I am able to successfully apply near clipping by modifying the
_near
property, adjusting the_far
property does not seem to have the expected effect on the far clipping plane.Reproduction Steps To replicate the issue, I modified the jsfiddle example provided in the documentation as follows: camera._data._near = 9; camera._data._far = 9.001; Despite setting a small value for _far, the far clipping effect is not observed as expected, as you can see in the screenshot below:![image](https://github.com/huggingface/gsplat.js/assets/25201878/acc98134-ef68-42a9-9a76-467fada59c9b)
Expected Behavior I expect that modifying the _far property should allow me to control the far clipping plane, similar to how adjusting the _near property affects the near clipping plane.
Thank you for your attention to this matter!
PS- PFB full code for reference i used in the experimentation