• Advertisement
Sign in to follow this  
  • entries
    122
  • comments
    246
  • views
    89907

Temp Update - The Joy of C#

Sign in to follow this  

80 views

This
import map_interface

t = map_interface.terrain()
o = map_interface.objs()

tex1 = t.load_texture(engine,".\\textures\\Stone_Sample_002.JPG")
plane = t.Create_Terrain_with_plane(engine, width = 3000, height = 3000)

plane_node = t.Add_Terrain_to_scene(engine, plane, tex1)
engine.terrain.Add_Sky_Box(".\\textures\\sk5n.bmp", ".\\textures\\sk5n.bmp",
".\\textures\\sk4n.bmp", ".\\textures\\sk2n.bmp",
".\\textures\\sk1n.bmp", ".\\textures\\sk3n.bmp")

house = o.Load_Mesh(engine, ".\\models\\house 1\\house1.x")
o.Add_Animated_Entity(engine, handle = house)

generates:
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement