• entries
    732
  • comments
    1562
  • views
    492502

Peh

Sign in to follow this  
Ravuya

112 views

I spent a bit of time working on getting AABBs to work for the Geometry class in Iodine; the idea is that you'll be able to shove a bunch of polygons into the Geometry and have it provide the ability to frustum cull as well as render using an index buffer and vertex buffer.

There's a type of Renderable called the GeometryRenderable; this contains a Geometry object as well as some material data (shaders, textures, special effects) to determine how to draw it. You install this Renderable into the scene information, and then it gets shuffled into the draw buffer and used when it comes time to render your frame. Fun!

This isn't too advanced, but it is pretty necessary. I'm also considering adding polygon splitting so I can use it for map culling, but that should probably be the responsibility of the map generator rather than the Geometry class itself, as splitting is a rarely required task.

Basically, all this rambling is just to make sure I don't break up the posts this week; I think I'll try to make one entry each day this month. Can I do it? I hope so.

Today's link: the science of gangsta rap.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now