Jump to content
  • Advertisement
Sign in to follow this  
jagguy2

3D camera clipping

This topic is 2706 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using away3D and actionscript3.

What are the 3D concepts where objects are clipped/not clipped when out of view.
I am having problems finding this for away3D.

MY issue is when I move the camera forward , objects move behind me and out of view.
If an object is only partly displayed (1/3 in view) it seems to just vanish when the camera is moved forward without displaying the rest of the image.

Share this post


Link to post
Share on other sites
Advertisement

I am using away3D and actionscript3.

What are the 3D concepts where objects are clipped/not clipped when out of view.
I am having problems finding this for away3D.

MY issue is when I move the camera forward , objects move behind me and out of view.
If an object is only partly displayed (1/3 in view) it seems to just vanish when the camera is moved forward without displaying the rest of the image.


The camera has a frustum, a square truncated pyramid which extends from the camera position to the far plane and contains all that lies in view. Each side is represented by a plane that encloses the volume, top, bottom, left, right, near, and far.

I've no experience with the library that you are using, but I imagine that either

1) You are testing position against the camera frustum, rather than bounding volumes, which means that if the center of your object is outside of the frustum it is clipped, even if part of the mesh is visible.

2)Your near plane depth is too far ahead for what your attempting to do. This would result in a larger dead area infront of the camera where objects will never be rendered.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!