Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

m-sambo

Clipping

This topic is 5431 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

Hi, this is my first post here. I have played around with OpenGL and Direct3D in the past so I know a little about 3D graphics. Lately most of my work has been web based. My latest project is a small 3D engine in Flash MX. Obviously it will be limited to maybe <100 polygons for speed but that''s ok. It''s just a learning experience. This is what I have so far: http://www.sambodata.com/projects/engine.shtml I now need to impliment clipping at least for the near view plane which is z=1. At the moment everything is fine as long as no polys straddle the near plane, if they do all hell brakes loose. My polygons are all quads so I''m looking for any info on clipping quads against a plane. I don''t think it matters if the trimmed quads turned into 5 sided polygons as I''m using Flash''s drawing api and I don''t think there would be a great difference between drawing a 4 or 5 sided polygon. Any pointers to online material on clipping would be much apreciated. Mike

Share this post


Link to post
Share on other sites
Advertisement
Thanks for the reply, Geocyte. I have never heard of that algorithm. The article should be of great help.

Mike

Share this post


Link to post
Share on other sites

  • 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!