phantom75
Community Member

Posts: 2
|
 |
« on: October 06, 2007, 07:21:38 PM » |
|
Hello there,
I tried to load a heightmap with the following code: ====================== TVLandscape Land; // = new TVLandscape() didn't make things better Land = Scene1.CreateLandscape("myland"); Land.GenerateTerrain("C:\\height.bmp", CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_HIGH, 2048,2048,0,0,0); //<---- Access-Violation Land.SetCullMode(CONST_TV_CULLING.TV_FRONT_CULL); Land.ExpandTexture(Global1.GetTex("land"), 0, 0, 8, 8 ); ======================= In Line 3 I'm getting an access-violation-Exception whith the GenerateTerrain. Can you help me with that?
Version 6.5 Beta, AMD 64 3400+, 1GB, C# Express 2005
Many thanks for your help, your's
Martin
|