Skip to content
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

SCNCamera should set zNear and zFar to show full scene #37

Open
XanderXu opened this issue Jul 18, 2023 · 0 comments
Open

SCNCamera should set zNear and zFar to show full scene #37

XanderXu opened this issue Jul 18, 2023 · 0 comments

Comments

@XanderXu
Copy link

Describe the bug
In Lsystem3DView's generateScene func, add the SCNCamera, but use the default zNear(1m) and zFar(100m).

But it's too small, can't show the full plant, the scene has been clipped, can't see the far part.

Platform (please complete the following information):
iOS 14

Additional context
set zNear and zFar to camera should be ok

cameraNode.camera?.zNear = 0.1
cameraNode.camera?.zFar = 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant