BabylonHx icon indicating copy to clipboard operation
BabylonHx copied to clipboard

Issues with BabylonHx samples.

Open tranlong021988 opened this issue 9 years ago • 3 comments

hi, I already update BabylonHX and new issue appear (openFL project):

src/samples/BumpMap.hx:37: lines 37-39 : Void -> Void should be com.babylonhx.Scene -> Null<com.babylonhx.tools.EventState> -> Void src/samples/BumpMap.hx:37: lines 37-39 : For function argument 'func'

Do you know how to fix it. By the way, with new samples update, especially, the Bones Sample , it's seem that Dude Model get something wrong (almost naked) , and Rabbits have terrible face. It's seem that is texture mapping issue.

tranlong021988 avatar Mar 28 '16 11:03 tranlong021988

https://dl.dropboxusercontent.com/u/86585940/Screenshot%202016-03-28%2018.51.58.png naked dude.

tranlong021988 avatar Mar 28 '16 11:03 tranlong021988

Texture mapping is fine, you just have to flip textures vertically 'by hand'. BHx doesn't work well with openfl (mixing 2D rendering on top of 3D), that's why shadows are broken.

On Mon, Mar 28, 2016 at 1:53 PM, tranlong021988 [email protected] wrote:

https://www.dropbox.com/s/g0vcanpv0xjait1/Screenshot%202016-03-28%2018.51.58.png?dl=0 http://url naked Dude.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/vujadin/BabylonHx/issues/93#issuecomment-202353313

vujadin avatar Mar 28 '16 11:03 vujadin

Scene registerBeforeRender method changed its signature (in babylonJS). I'll fix this soon but in the meantime you can use :

function(scene:Scene, ?es:EventState) { }

On Mon, Mar 28, 2016 at 1:53 PM, tranlong021988 [email protected] wrote:

https://www.dropbox.com/s/g0vcanpv0xjait1/Screenshot%202016-03-28%2018.51.58.png?dl=0 http://url naked Dude.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/vujadin/BabylonHx/issues/93#issuecomment-202353313

vujadin avatar Mar 28 '16 12:03 vujadin