Commit Graph

13 Commits

Author SHA1 Message Date
Garux 0c390241c8 fix formatting 2021-10-26 18:16:24 +03:00
Garux a5fb9388c2 fix double free on PICO model parsing error 2021-03-13 14:54:59 +03:00
Garux 623163ae9c remove unused markers 2021-01-28 02:12:15 +03:00
Neon_Knight e378a87134 It fixes compilation errors in some systems. 2018-11-14 20:59:37 -03:00
Garux 86904473bb * picomodel: do some guessings about shader paths to handle more cases out of the box; ones are based on material and diffuse map names:
name w/o path: assume textures are in the folder, where model file is
		absolute path or with ..: try to cut at "/models/" or "/textures/" (as if leading to game folders); do previous case, if not
		strip extensions and turn slashes to forward ones anytime
	* picomodel::obj: fix diffuse map paths loading from .mtl
2018-09-29 14:39:10 +03:00
Garux b12ecc838b picomodel: white default color of fm, md2 (was one white and rest black)
unified picoColor_white
2018-07-18 14:53:15 +03:00
Garux 47ef9a6ae2 * picomodel::obj: fix black default vertex color, also use one from .mtl 2018-07-14 20:52:17 +03:00
Rudolf Polzer e4287c28bb my own uncrustify run 2012-03-27 12:03:21 +02:00
Rudolf Polzer 22bb91a57d fix some compile errors 2011-06-05 19:18:08 +02:00
Rudolf Polzer 5fe03b9130 ASE support: support *node_name 2011-06-05 18:57:26 +02:00
rpolzer 5ec3a47e10 q3map2 is now waring free 2010-10-05 10:57:07 +02:00
rpolzer 7077b12d7d Some not THAT memory demanding limits extension;
use right file name when looking for .mtl


git-svn-id: svn://svn.icculus.org/netradiant/trunk@129 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-20 14:25:50 +00:00
rpolzer 107765f0e4 initial
git-svn-id: svn://svn.icculus.org/netradiant/trunk@1 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-13 18:28:57 +00:00