Jump to content

Rookie Question About Model Display


Recommended Posts

Apologies for the rookie question but I am new to 3D graphics and to BabylonJS.

I have successfully created a model from custom meshes through the Babylon APIs. The model displays but parts of it disappear and reappear depending on the relative position of the model and the camera.

Here's a sample: https://geekart3.azurewebsites.net/babylon.html  If you watch the model rotate you see pieces appearing and disappearing. You can also move the camera position and see the same issue. The meshes in the model do not change, they are only generated on load.

I am digging in to see if I can solve it but any pointers as to what may be wrong would be welcome.


Link to comment
Share on other sites


Welcome to the forum! We all ask rookie questions from time to time. And we're glad you're asking, as we love new devs.? Just adjust your clipping planes for your camera(s) by using:

camera.minZ = 'babylon world unit numerical value';


camera.maxZ = 'babylon world unit numerical value';.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...