Samuel Girardin Posted February 20, 2014 Share Posted February 20, 2014 Hi, Here is a new demo. A car ? Yes. You can drive it ? Yes. You can make some drifts ? Yes (by pressing 'd' to switch car behavior). Some problems remain : the export (.obj) from 3DSmax flips UV, and I wasn't able to fix it in babylon. One strange solution worked, it was to apply negative scale to the model... I prefer to flip the texture in PS... I'm working now on tire skids. My first solution works but it's very crappy & impact performances (add some texture boxes under tyres...). What is the best solution to display tire skids ? using shader to create some decals ? If someone have some ideas or examples... Cannon.js is not use here, I was inspired by some other tech webgl demos. http://www.visualiser.fr/Babylon/Drift/default.htm The 3D model come from some samples I downloaded from an SDK (license MSPL). I think I can use it. Xanmia, jahow, Temechon and 2 others 5 Quote Link to comment Share on other sites More sharing options...
Temechon Posted February 20, 2014 Share Posted February 20, 2014 Very nice !! Quote Link to comment Share on other sites More sharing options...
davrous Posted February 20, 2014 Share Posted February 20, 2014 Very cool! Thanks for sharing. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 20, 2014 Share Posted February 20, 2014 This is friendly. beautiful realization Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted February 20, 2014 Author Share Posted February 20, 2014 @davrous @temechin @dad72 ()=> this.thanks() ! Edit : For tire' skids, got something start working with shaders. It think it's a good choice. Need some time now to understand what I did , and bind it to the car demo . 100 fois sur le métier, remettez votre ouvrage... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 21, 2014 Share Posted February 21, 2014 Awesome, this can definitely find a place in our homepage! Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted February 22, 2014 Author Share Posted February 22, 2014 Great ! I sent you a message. Hope it works, when I checked it, the message seems to have been cut ? Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted February 24, 2014 Author Share Posted February 24, 2014 Finally, I use object pooling to create skid traces. As I said, I started with shader, I managed to 'paint' some skid traces on the ground; but the perfs were not good (due I think to my lack of shader's knowledge) ; so I switch with object pooling (just some textured planes over the ground). After a while (about a 360 turn) , the first skid traces are switched by the new ones. Quote Link to comment Share on other sites More sharing options...
minhhuy_it Posted March 4, 2015 Share Posted March 4, 2015 Hello Samuel Girardin, I'm a student. I'm learning about BabylonJS. In your example, you can turn on the light of Car. If not exist, you can add this feature. I need it. Help me, thank you very much! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 4, 2015 Share Posted March 4, 2015 @Samuel: That's pretty cool! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.