Merge branch 'Terrain' into develop
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using Newtonsoft.Json;
|
using LibNoise.Primitive;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
@@ -114,10 +115,23 @@ namespace RH_Engine
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteTextMessage(stream, createGraphics.RoadCommand(routeID));
|
Console.WriteLine("tunnelID is: " + tunnelID);
|
||||||
|
|
||||||
//string groundId = GetId("GroundPlane", stream, createGraphics);
|
WriteTextMessage(stream, createGraphics.TerrainCommand(new int[] { 256, 256 }, null));
|
||||||
//Console.WriteLine("ground id: " + groundId);
|
Console.WriteLine(ReadPrefMessage(stream));
|
||||||
|
|
||||||
|
|
||||||
|
command = createGraphics.AddBikeModel();
|
||||||
|
|
||||||
|
WriteTextMessage(stream, command);
|
||||||
|
|
||||||
|
Console.WriteLine(ReadPrefMessage(stream));
|
||||||
|
|
||||||
|
command = createGraphics.AddModel("car", "data\\customModels\\TeslaRoadster.fbx");
|
||||||
|
|
||||||
|
WriteTextMessage(stream, command);
|
||||||
|
|
||||||
|
Console.WriteLine(ReadPrefMessage(stream));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
|
|||||||
Reference in New Issue
Block a user