vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
187 stars 43 forks source link

Changed the samples file, the sample changed names #80

Closed fritzvd closed 8 years ago

fritzvd commented 8 years ago

I tried to run the sample, and first thought my setup was broken. That wasn't the case. The sample just didn't exist.

Also on CPP targets on linux (with Haxe 3.2.1) I get this for lime (2.8.2 and 2.8.1) :

g++ -o ApplicationMain -rdynamic -m64 @obj/linux64//all_objs -lpthread -ldl -ldl
strip -d ApplicationMain
Engine.hx:168: BabylonHx - Cross-Platform 3D Engine | 2015 | www.babylonhx.com
Effect.hx:235: Unable to compile effect: default
Effect.hx:236: Defines: 
#define LIGHT0
#define HEMILIGHT0

#define NORMAL
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0

Effect.hx:240: Error #: 0
Effect.hx:241: Error: 

Which results in a black window.

And this for snow

Engine.hx:168: BabylonHx - Cross-Platform 3D Engine | 2015 | www.babylonhx.com
Effect.hx:235: Unable to compile effect: { fragment => woodtexture, vertex => procedural}
Effect.hx:236: Defines: 
Effect.hx:240: Error #: 0
Effect.hx:241: Error: 0:2(1): error: syntax error, unexpected NEW_IDENTIFIER

Effect.hx:235: Unable to compile effect: { fragment => grasstexture, vertex => procedural}
Effect.hx:236: Defines: 
Effect.hx:240: Error #: 0
Effect.hx:241: Error: 0:2(1): error: syntax error, unexpected NEW_IDENTIFIER

Effect.hx:235: Unable to compile effect: shadowMap
Effect.hx:236: Defines: #define NUM_BONE_INFLUENCERS 0
Effect.hx:240: Error #: 0
Effect.hx:241: Error: 0:2(1): error: syntax error, unexpected NEW_IDENTIFIER

Effect.hx:235: Unable to compile effect: default
Effect.hx:236: Defines: #define AMBIENT

#define LIGHT0
#define SPOTLIGHT0

#define SHADOWS

#define NORMAL
#define UV1
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0

Effect.hx:240: Error #: 0
Effect.hx:241: Error: 0:14(1): error: syntax error, unexpected NEW_IDENTIFIER

Effect.hx:235: Unable to compile effect: default
Effect.hx:236: Defines: #define DIFFUSE

#define LIGHT0
#define SPOTLIGHT0

#define SHADOWS

#define NORMAL
#define UV1
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0

Effect.hx:240: Error #: 0
Effect.hx:241: Error: 0:14(1): error: syntax error, unexpected NEW_IDENTIFIER

Which also results in a blank black screen program.

vujadin commented 8 years ago

thanks