Sign in to follow this  
grunt123

Question about instancing

Recommended Posts

Hi, Currently, our game is cpu-bound, and needs some instancing. We are using GPU-based skinning technique for all our animated objects ... is there a way to instance a gpu-skinned object in d3d9? (think d3d10 can do this, but not sure about d3d9)

Share this post


Link to post
Share on other sites
Quote:
Original post by grunt123
Currently, our game is cpu-bound, and needs some instancing. We are using GPU-based skinning technique for all our animated objects ...

Are you absolutely sure you're draw call limited and instancing is the solution? This typically only happens when you have hundreds of instances of some geometry (grass, foliage, particles). Chances are you're actually limited by something else right now. Not sorting draw calls by state and resource changes is a common cause.
Quote:
is there a way to instance a gpu-skinned object in d3d9? (think d3d10 can do this, but not sure about d3d9)

Efficiently Drawing Multiple Instances of Geometry (Direct3D 9).

Share this post


Link to post
Share on other sites
There are way too many drawprimitive calls at the moment (i'm porting a game btw). i'm trying to find anything to reduce the number of drawprimitive calls (along with state change calls). It looks like i can't really do instancing for gpu-skinned objects tho.

Share this post


Link to post
Share on other sites

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

Sign in to follow this