Jump to content

Lerige

Members
  • Content Count

    9
  • Joined

  • Last visited

About Lerige

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    France

Recent Profile Visitors

1978 profile views
  1. Do you have more information on how you did the cell shading for the scene materials for the DiStraction demo? Awesome BTW

  2. Thanks all for the nice comments and ideas. @DK, davrous: I am very honoured! Please let me complete 2 or 3 buildings and update the ground texture. I should be able to achieve this by next weekend. If it's ok for you, I send you a message as soon as it's done.
  3. Hi everyone, It's a long time since I've been here, and I finally decided to work again on my small demo. It's not completely finished (still have to add some buildings and update the ground texture, and maybe fine tune the car behavior...) but here it is: http://chr.is.free.fr/distraction/ Any feedback is welcome of course.
  4. Hi Ranaan, If this can help, working on my own small demo from babylon 1.14 to 2.0, I've noticed the problem is located in "toEulerAngles" function. I've switched back to 1.14 version which give correct results for me. For example: e: {x: 0, y: 3.141592653589793, z: 0} toEulerAngles (2.0 version): {x: 3.141592653589793, y: 3.141592653589793, z: 0} toEulerAngles (1.14 version): {x: 0, y: 3.141592653589793, z: 0} I admit I've been to lazy to go further at this moment... I'll try look into this next week end if no one found the explanation before
  5. Hello Thanks for your answer. You're right: I can't use standard scene import in this case. I've decided to manage this with a parent "empty" blender object in which I put everything without shadow. This will do the job !
  6. Hi all, My context: I have to load different meshes (not a complete scene) from different babylon files, without lights, and then I assemble them in one scene. Some of the babylon files come from Blender and others from .obj conversion. All my meshes from .obj should cast shadows. But I'd like to get "cast shadows" information from Blender files, since Blender meshes could, or could not, cast shadows. The shadow generator is defined independently in the code. I also have to say that I'm both new to Babylon and Blender. Yes, I'm looking for trouble I've made three hypothesis... H1/ complete
  7. ok I confirm Here is a quick and dirty test : http://www.babylonjs-playground.com/#1OEPUZ#4 If you zoom back and move the camera you should see the sprites "shadow" effect on the sphere shadow. I assume this not the expected behavior cause you have "this.renderSprites = false;" by default in renderTargetTexture class. Now if you uncomment the renderManager updated fonction you should have the correct behavior : no more sprite shadows. The correction is simply to add the "if(renderSprites) {". Without this line, this boolean is not used... I hope I am clear enough
  8. Hi all, I'm playing with sprites and experiencing strange behavior with shadows. After a quick look in code I've found this in rendering manager : this._renderSprites(index); It seems it lacks a "if (renderSprites) {" arround it. I'll try to confirm this this evening when I'll have time for real tests ++
  9. Thanks for your answer and I have to apologize cause it was a too fast question... I've just found the answer : I was using ToEulerAngles to define my target rotation from a physic engine... and ToEulerAngles has been rewritten between 1.14 and 2.0... I've just still have to understand the difference now
  10. Hi all, Since this is my first post here, I'll start with congratulations to the developers and contributors of this library. Very nice work. So nice that have started to play with it I have a question regarding the follow camera between 1.14 and 2.0 alpha. I have no issue using 1.14. But it seems the camera is broken in 2.0: with 1.14 cameraTarget.rotation.y will return negative values if this angle is greater than PI.with 2.0 it will return positive values in any case (no mean to make a difference between PI/2 and -PI/2 for example, the value is PI/2 in both cases).Any explanation for t
×
×
  • Create New...