Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    67
  • comments
    89
  • views
    51835

Movement paths still...

Sign in to follow this  
LachlanL

103 views

Well, another week and I'm still here. Work, volleyball, church and Diablo 2 have been carving out a lot of my time lately, so I haven't made too much progress on the editor. I'll be playing in the AVL (Australian Volleyball League) over the next 2 months or so. This has plusses and minuses as far as development is concerned. Obviously as I'll be training harder, there'll be less "after work hours" time to share with programming. But on the plus-side, as several of the matches are interstate, I'll be taking my laptop along and getting stuff done in the down-time.

An update on the movement paths stuff: I think I've got the basic workings of this figured out. I have a "path manager" object, one for each path in the scene. Inside this is an array of pointers to "path node" objects, which are basic subclasses of the BASE_SCENE_OBJECT class and are inserted into the scene-graph as usual. The path nodes can use either simple linear-interpolation or catmull-ROM for that nice smooth curvy look.

Also on the agenda is modifying the CurvedWorldObject class to hold at least 2 levels of detail meshes in them. This will be fairly simple to implement and will just involve adding a couple of new unsigned chars to the mesh settings (LOD levels 0 and 1) and a floating-point distance to cut to the low-detail mesh. As each level of tesselation multiplies the face-count by 4, only going 1 level lower should give a decent drop in tris to be drawn.
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
  • 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!