Creating an Interactive 3D world with C# and DirectX
8. Render Everything on the Screen
Here you go!
//Clear the Screen TV.Clear(false); //Enable the RenderAllMeshes property true TVScene.RenderAllMeshes(true); // Then, we display everything that we have rendered // (from the objects of the world) to the screen. TV.RenderToScreen();
I hope this tutorial has made you think about making a new 3D game of your own. Look how easy it is to develop a full-fledged 3D application in .NET.
About the Author
Ms. Fatima Ahmed is a B.S. (C.S.) from Department of Computer Science, University of Karachi, Pakistan. She is working as a Research Assistant at Centre for Computer Studies, Institute of Business Administration (IBA) Karachi, and is involved in research work related to Virtual Reality and Simulation System using DirectX 9.0 and .NET. She is also working on a Parallel Lab project where parallel machines are installed using PVM and Grid Computing technologies. She is also a technical article writer for JupiterMedia Corporation U.S.A since 2001 and has written a number of articles on Networking Technologies including VPN, PVM, ATM, and so forth, and Programming Languages including C#, VB .NET, and VB. Her technical papers are also being published in the European Journal of Engineering Education and IEEE journals. She was also the Editor for Proceedings of ICICT (1st International Conference on Information and Communication Technologies) 2005, Karachi. She is also an active participant in organizing and taking part in different national and international events including seminars, conferences, and exhibitions. She is a Microsoft's MVP for DirectX and a local Microsoft Technical Speaker for the local events held at different educational institutes in Pakistan.
Page 7 of 7