The Hero 7,399 Posted January 7, 2019 Share Posted January 7, 2019 (edited) This weekend I decided to play a bit with webgl and javascript and write a little viewer for GTA models. It should be able to load most dff files (native geometry NOT supported), textures are loaded like <img> elements by the browser. To make it a bit more interesting I implemented a little parser for IDE files and carcols.dat and made this vehicle viewer for III, VC and SA: http://gta.rockstarvision.com/vehicleviewer/ As for the code, it naturally only implements a small subset of RenderWare and perhaps it should be made a bit cleaner. It was mostly meant to be a proof of concept, but feel free to use and adapt it for you purposes. Hope you like it. Screenshot: BUGS: - due to name clashes some textures are not what they should be. (black64 &c.) - HTML and CSS are hard, so that part sucks a bit Edited January 7, 2019 by The Hero 23 Link to post Share on other sites
BeyondTheVeilOfDeath 253 Posted January 7, 2019 Share Posted January 7, 2019 first to like xdd. anyways great job on the viewer! Link to post Share on other sites
cj2000 826 Posted January 8, 2019 Share Posted January 8, 2019 Looks a bit like GGM. On the pics it looks like the tool can only handle vehicles, but what about other models? Link to post Share on other sites
The Hero 7,399 Posted January 8, 2019 Author Share Posted January 8, 2019 It can render other models, I just didn't write an interface for it. I wanted to write something that could work with a a number of models and vehicles seemed like a good idea. 1 Link to post Share on other sites
Vadim M. 683 Posted January 13, 2019 Share Posted January 13, 2019 This thing is osum! Link to post Share on other sites
gts. 2,326 Posted January 13, 2019 Share Posted January 13, 2019 (edited) Nice work aap. Have you ever think about implement alphabetical order in the vehicle lists? Otherwise, is a great tool. Edited January 13, 2019 by gts. Link to post Share on other sites
The Hero 7,399 Posted January 13, 2019 Author Share Posted January 13, 2019 You're right, i should do that. I'll also be happy to accept a patch though Link to post Share on other sites
GTA-Roloboy 0 Posted December 7, 2020 Share Posted December 7, 2020 Very cool, is there a way we can make the wheels visible as well? Link to post Share on other sites
The Hero 7,399 Posted December 7, 2020 Author Share Posted December 7, 2020 no, sorry Link to post Share on other sites