Hardware Instancing in XNA on the XBOX 360 (ziggyware.com)

submitted by zygotezygote(1090) 4 years, 11 months ago

Adam Miles has created a Hardware Instancing sample for the XBOX 360 in XNA. This sample demonstrates how to render one object many times using only a single draw call. Since the XBOX 360 does not support the XNA functions for object instancing, the code has been created using HLSL shaders and some fancy tricks. Typically support for Hardware Instancing is shotty on different machines, however with the XBOX you are guaranteed the code to work on all XBOX systems identically making Hardware Instancing a very viable option. Note that this code is XBOX 360 specific and will not run properly on windows. Just as the Windows Hardware Instancing code does not work on the XBOX 360. However having both available lets you use Hardware Instancing on both systems :)

add a comment |category: |Views: 136

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story