Development > Artwork
A question about MDX files
Sandro:
--- Quote from: geever on July 24, 2017, 07:06:53 pm ---Thanks Sandro for correcting me. As you know I'm not much into the Renderer or graphics in general and yeah, I guessed what it exactly does from the function name. Could you maybe update the code to better reflect what it does? Maybe adding some in-line documentation?
--- End quote ---
While I'd like to, I haven't got a working environment, just a copy of source right now (of 2.5 release). So only things right now I can do is to make suggestions and perhaps provide some code snippets, if I'll be able to compile them.
Going back to the R_ModCalcUniqueNormalsAndTangents() function, it really calculates normals, but only to use them as intermediate data; they are discarded at the function returns.
After some thoughts, it looks to me that it will be better to call this function R_ModBuildIndexedMesh(), because it is what it actually does.
Andermaiden:
--- Quote from: geever on July 24, 2017, 07:06:53 pm ---Andermaiden: I checked, ufomodel.exe is not shared by our buildbot, unfortunately. I'd need Windows or make a cross-compiler work on my computer to make one. Not that it is impossible but someone else might provide it faster than me. Btw. did you try the pre-packaged Code::Blocks we share? It wasn't updated for a while, so I cannot guarantee that it works, but may worth a try.
-geever
--- End quote ---
in the instructions for codeblocks there's a step that says:
"copy the dynamic libraries (*.dll) from contrib\dlls\ to the UFO:AI root dir, or into a directory in your path (e.g. c:\windows\system32). Or add the contrib\dlls directory to your path."
I suppose I have to include it to Compiler search dirs but I cannot find a directory called "dlls" in "MinGW\contrib\".
I tried to compile ufomodel as it goes just in case the latter isn't necessary but it gave 36 errors so I guess I'll need to follow all the steps (to having it properly configured) before ruling it out.
geever:
--- Quote from: Andermaiden on July 25, 2017, 01:00:49 am ---in the instructions for codeblocks there's a step that says:
"copy the dynamic libraries (*.dll) from contrib\dlls\ to the UFO:AI root dir, or into a directory in your path (e.g. c:\windows\system32). Or add the contrib\dlls directory to your path."
I suppose I have to include it to Compiler search dirs but I cannot find a directory called "dlls" in "MinGW\contrib\".
I tried to compile ufomodel as it goes just in case the latter isn't necessary but it gave 36 errors so I guess I'll need to follow all the steps (to having it properly configured) before ruling it out.
--- End quote ---
contrib directory is in the UFOAI Git repository
-geever
geever:
Damn, I was wrong. Actually we zip all win32 binaries in our snapshot releases:
2.5: http://ufoai.org/snapshots/ufoai-stable-win32.zip
2.6-dev: http://ufoai.org/snapshots/ufoai-latest-win32.zip
-geever
Andermaiden:
--- Quote from: geever on July 25, 2017, 07:09:22 pm ---Damn, I was wrong. Actually we zip all win32 binaries in our snapshot releases:
2.5: http://ufoai.org/snapshots/ufoai-stable-win32.zip
2.6-dev: http://ufoai.org/snapshots/ufoai-latest-win32.zip
-geever
--- End quote ---
Thanks! That should do it
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version