Jump to content

Submesh disappearing on mobile


JonVarner
 Share

Recommended Posts

I seem to have an issue where one of my sub mesh objects (the rings) disappear when I rotate the camera while up close. My first thoughts was clipping plan, but when I played around with the clipping plans it caused clipping but of a different sort. The mesh is one single object with sub meshes. Anyway, any suggestion on where I might look to solve the problem would be greatly appreciated. Thanks. 

 

image.thumb.png.a71cd2025044dd2a2423e0c84c59fafd.png

Link to comment
Share on other sites

I bet the frustrum is saying the mesh is not visible.  check your bounding box.

I had this happen when I made planes with incorrect bounding boxes, it would hide them if my pivot point was not in focus but when I manually enabled bounding boxes on them it fixed it.

Link to comment
Share on other sites

make a cube mesh that would encapsulate the entire coil mesh.  Then set the coil meshs boundingbox as the cube meshs bounding box (I think it might be a _variable but is still read/write-able...) and then dispose the cube and see if that fixes it.

I cant remember exactly how I did it in the past but I think that was close to the steps.

I might of actually just manually changed its bounding extents... damn I cant remember now Id have to look it up.

Link to comment
Share on other sites

Ok so I was able to fix the problem but still not 100% sure what the root cause was. Basically what was happening was that the mesh was being moved by joints. So when the rings are in the center of the scene their actual pivot point and bounding box information is that of its original state. So when I zoomed in the pivot point got clipped and I think this is what also clipped the geometry. To fix this I simply exported the mesh in the centered state so that both the center of the bounding boxs and the pivot point are at the center of the scene. At some point, I will spend more time looking into this but it seems for now I have a solution.

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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