Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with BabylonHx samples. #93

Open
tranlong021988 opened this issue Mar 28, 2016 · 3 comments
Open

Issues with BabylonHx samples. #93

tranlong021988 opened this issue Mar 28, 2016 · 3 comments

Comments

@tranlong021988
Copy link

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
Copy link
Author

@vujadin
Copy link
Owner

vujadin commented Mar 28, 2016

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
#93 (comment)

@vujadin
Copy link
Owner

vujadin commented Mar 28, 2016

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
#93 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants