Category Archives: XNA

Standard XNA Library

Standard XNA Library adalah sebuah library yang memudahkan dalam pembuatan aplikasi dengan menggunakan Microsoft XNA Framework 4.0. Library ini memiliki kelas-kelas yang dapat membantu dalam pembuatan terrain, sky dome, ocean, dan bloom effect. Untuk mengunduh Standard XNA Library klik di … Continue reading

Posted in XNA | Leave a comment

Mengubah Gambar Berwarna Menjadi Grayscale Menggunakan XNA 4.0

Pada tutorial kali ini saya akan membahas cara mengubah gambar berwarna menjadi grayscale menggunakan XNA 4.0. Cara yang diperkenalkan dalam tutorial ini dapat digunakan dalam pembuatan permainan pada platform Windows Phone 7 dan Windows. Pada XNA 4.0 resource gambar direpresentasikan … Continue reading

Posted in Windows Phone 7, XNA | Leave a comment

Saving Current Frame into an Image File XNA 4.0

This implementation will save current frame into an image file named “anImageFile.png” Put this code into your draw method. if (takeScreenshot) { Color[] colors = new Color[GraphicsDevice.Viewport.Width * GraphicsDevice.Viewport.Height]; GraphicsDevice.GetBackBufferData<Color>(colors); Texture2D tex2D = new Texture2D(GraphicsDevice, GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height); tex2D.SetData<Color>(colors); String filename … Continue reading

Posted in XNA | Tagged | Leave a comment

Realtime Optimally Adapting Meshes (ROAM) XNA Implementation

In this tutorial I will explain about Realtime Optimally Adapting Meshes (ROAM) implementation using C# XNA 4.0 Framework. Also this implementation is my final project for my computer science degree. This implementation is based on original ROAM paper and C++ … Continue reading

Posted in XNA | Leave a comment