def loadModel(filename):
verts = []
faces = []
f = open(os.path.join(sys.path[0], filename), 'r')
lexemizer = re.compile(r'([^\s]+)')
for l in f.readlines():
if l[0] == '#': continue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v -3.000000 1.800000 0.000000 | |
v -2.991600 1.800000 -0.081000 | |
v -2.991600 1.800000 0.081000 | |
v -2.989450 1.666162 0.000000 | |
v -2.985000 1.921950 0.000000 | |
v -2.985000 1.921950 0.000000 | |
v -2.981175 1.667844 -0.081000 | |
v -2.981175 1.667844 0.081000 | |
v -2.976687 1.920243 -0.081000 | |
v -2.976687 1.920243 0.081000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using LibNoise; | |
using LibNoise.Builder; | |
using LibNoise.Filter; | |
using LibNoise.Modifier; | |
using LibNoise.Primitive; | |
using OpenTK; | |
namespace Erebus | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Scene xmlns="http://schemas.datacontract.org/2004/07/Erebus" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<ActiveCamera xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" z:Id="i1"> | |
<Components> | |
<Component i:type="TypeComponent"> | |
<Type>Camera</Type> | |
</Component> | |
<Component i:type="CameraComponent"> | |
<FarClip>1000</FarClip> | |
<FieldOfView>60</FieldOfView> | |
<NearClip>1</NearClip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Scene xmlns="http://schemas.datacontract.org/2004/07/Erebus" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<ActiveCamera> | |
<Components> | |
<Component i:type="TypeComponent"> | |
<Type>Camera</Type> | |
</Component> | |
<Component i:type="CameraComponent"> | |
<FarClip>1000</FarClip> | |
<FieldOfView>60</FieldOfView> | |
<NearClip>1</NearClip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using OpenTK; | |
using OpenTK.Graphics; | |
using System.Reflection; | |
using System.Collections.Generic; | |
namespace Erebos | |
{ | |
public static class Config | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abandoned | |
able | |
absolute | |
adorable | |
adventurous | |
academic | |
acceptable | |
acclaimed | |
accomplished | |
accurate |