RUNAGAMES

THATS IT.

I run the example code from BattleTank 2005, and everything its ok, except the terrain, it is just dont being rendered.

I dont know what it is, there is no error, the screen appears with all others elements except the terrain.

Hope some one can help with this issue.

I'm using
WinXP
VS.NET Standar Edition
DirectX SDK (December 2006)
.NET framewok 2 and 3 installed
C# Language

Thank you very much.

http://blogs.msdn.com/coding4fun/archive/2006/11/09/1044115.aspx#comments



Re: Game Technologies: General PLEASE HELP! CANNOT RENDER TERRAIN AT Beginning Game Development Guide from Code4Fun

RUNAGAMES

I have found my own answer, but i still dont know why.
it seems to be a hardware issue, i have a mobility radeon 9200 in my notebook, but that doesnt matter.

i changed CreateFlags.HardwareVertexProcessing to CreateFlags.SoftwareVertexProcessing


_device = new Microsoft.DirectX.Direct3D.Device(
0,
Microsoft.DirectX.Direct3D.
DeviceType.Hardware,
this,
CreateFlags.SoftwareVertexProcessing,
presentParams
);

And it works for now.





Re: Game Technologies: General PLEASE HELP! CANNOT RENDER TERRAIN AT Beginning Game Development Guide from Code4Fun

The ZMan

This would imply your card cannot handle hardware vertex processing. I'm not too surrised since thats a pretty old DX8 card http://en.wikipedia.org/wiki/Radeon_9200