I know its a difficult task, but does anyone have a clue on how to get an openGL texture directly from a vtf??
I tried googleing it, with no success...
Thanks in advance :)
Sorry if this is not the place to ask this kind of help.
I have no idea what an open GL texture is, but can't you just export the vtf to a TGA or something in VTFEdit and then import it in to that (or import it into GIMP and change it to something it can import).
Yeap, I know. The problem is that I'd like to use the textures I have on gmod. And opening and exporting all of them using an external program can be a really hard task... and not very efficient.
openGL is a library used in C and C++ to draw 2D and 3D objects. Very common on computer games.
Im using an HEX editor to try to figure out how its saved. The problem is that I dont know if data is compressed and if so, what algorithm it uses. I dont know what values are defined in the header of the texture and that kind of things...
Thanks anyway.
Use VTFLib, [url]http://nemesis.thewavelength.net/index.php?p=40[/url]
Thanks Thanks thanks :)
cookies for you :D
Ah so VTFLib is the base version of VTFEdit now it makes sense.
[QUOTE=Silver Spirit;17120841]Ah so VTFLib is the base version of VTFEdit now it makes sense.[/QUOTE]
That's not correct, but at least it makes sense to you.
[QUOTE=HiddenMyst;17120914]That's not correct, but at least it makes sense to you.[/QUOTE]
ok, what is it then? @.@
I've been reading the source code of VTFLib and it is not 'the base version' of VTFEdit. It is a library used on it.
VTFLib its an API; its a collection of functions, definitions, etc that can handle VMT and VTF files, so that when you ask VTFEdit to open a file, it calls a function inside the Lib to open it. (Did that make sense?)
I'm having problems using it on C, there is not too much documentation, and its made for C++...
I'm trying to set up a mini-3D world using gmod's textures :)
Sorry, you need to Log In to post a reply to this thread.