Methods

Example

C#
    protected TVLandscape Land = new TVLandscape();
        
    // Generate the height of the land from the grayscale of the image.
    Land.GenerateTerrain("Media\\bump.bmp", CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_LOW, 8, 8, 0f, 0f, 0f, true);
    Land.SetPagingSystem(true, 10);
    
    Land.SetTexture(Globals.GetTex("LandTexture"),-1);
    Land.SetTextureScale(16, 16,-1);
    Land.SetMaterial(Globals.GetMat("tmatt"));
 
tv3d6.5/ctvlandscape.txt · Last modified: 2005/12/15 16:22 by 204.10.35.162