DezOnlyOne Posted December 29, 2015 Share Posted December 29, 2015 I have a scene that has a virtual patient. I am using a free camera in the scene, and I am having an issue where the right side edge of the scene window is close to the patient, the head and the entire body goes invisible. I attached some images to illustrate, but is this an issue where the camera frustum edge is making geometry invisible? Is there a way to make adjustments to it so that I am not clipping my virtual patient? headOn.png - shows how the patient is normallyheadOff.png - what happens when the patient is near the edge of the window. He will disappear completely if he is closer. Thanks in advance Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 29, 2015 Share Posted December 29, 2015 I have the same thing with the Make Humans. The Hair or clothes just disappear as the camera moves. One thing, is the origin of your head mesh between the feet? Seems crude unless the scene can never be without a patient, but have you tried head.alwaysSelectAsActiveMesh = true ? Quote Link to comment Share on other sites More sharing options...
DezOnlyOne Posted December 29, 2015 Author Share Posted December 29, 2015 JCPalmer,That seems to fix the issue. Can you think of any issues that that would cause? If not, this fix will work for me just fine Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 29, 2015 Share Posted December 29, 2015 I think it might be related to the origin being far away from all the verts affecting the. Think I might need to glue down the hair meshes on my models too. isInFrustrum depends on the boundingInfo. One other approach is to override _updateBoundingInfo(): Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 29, 2015 Share Posted December 29, 2015 Try enabling the debug later and show the bounding boxes - is the head's box in the right place? Quote Link to comment Share on other sites More sharing options...
DezOnlyOne Posted December 29, 2015 Author Share Posted December 29, 2015 RaananW They aren't! I am sure this has something to do with the bones and the offset of those bones. Checking with the artist, but because we will not have an instance where the patient is not visible, we don't have a problem with rendering him at all times. I forgot to check that in the debug layer though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.