1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322
|
2005-06-16 Al Riddoch <alriddoch@zepler.org>
* libmd3/inttypes.h: Add in endian check, in readiness for
making the loader endian independant.
2005-06-16 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c: Fix some error conditions which were not
correctly checked or reported.
2005-06-15 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c: Don't free mesh when it fails to load. Free all
the meshes as that is how they were allocated.
* libmd3/loader.c, libmd3/loader.h: Add libmd3_file_free() to
free the entire structure.
* tests/dumpmd3.c: Test that libmd3_file_free works.
* configure.ac: Increment interface version.
2005-06-13 Al Riddoch <alriddoch@zepler.org>
* libmd3/convert.c, libmd3/convert.h: Fix the normal extraction
code, and rename function to unpack_normals to reflect its
real job.
* tests/dumpmd3.c, tests/rendermd3.c: Use new function name for
normals.
2005-06-13 Al Riddoch <alriddoch@zepler.org>
* tests/dumpmd3.c: Fix dumping normals, which was formerly broken
due to faulty pointer arithmetic.
* libmd3/convert.c: Fix ommitting the first normal, and try
another aproach to the normal conversion.
2005-06-13 Al Riddoch <alriddoch@zepler.org>
* configure.ac: Check if libm is required for sin() and cos()
functions.
* tests/Makefile.am: Fix libraries for the tests so they pick
up libm if required.
* tests/dumpmd3.c: Dump mesh normals as part of dumping the entire
model.
* tests/rendermd3.c: Enable lighting, and experiment with
rendering using the normals.
2005-06-13 Al Riddoch <alriddoch@zepler.org>
* libmd3/convert.c: Add experimental implementation of algorithm
to extract normal data from md3 files.
2005-06-13 Al Riddoch <alriddoch@zepler.org>
* configure.ac: Cleanups.
* NEWS: Add placeholder for next release.
* libmodelfile.spec.in: Correct descriptions, and add packager
tags. Generally cleanup.
2005-02-20 Al Riddoch <alriddoch@zepler.org>
* libmodelfile.vcproj, Makefile.am: Add Visual Studio build file.
* tests/rendermd3.c: Eliminate dependency on SDL_Image.
2005-02-20 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c: Use size_t when getting return value from
fread().
2005-02-20 Al Riddoch <alriddoch@zepler.org>
* libmd3/inttypes.h: Remove inverted pre-processor check used
for debugging.
* libmd3/Makefile.am: Make sure inttypes.h is distributed.
* configure.ac: Increment version, and add a .zip distribution
format.
2005-02-14 Al Riddoch <alriddoch@zepler.org>
* configure.ac: Cleanup.
* libmd3/inttypes.h: New header to handle int types on older platforms
without C99.
* libmd3/mesh.h, libmd3/structure.h: Use new abstracted int types
header.
* tests/checksizes.c: Check that assumptions made about word sizes
are correct.
2004-10-10 Al Riddoch <alriddoch@zepler.org>
* Fix pkgconfig include path.
* Release 0.1.91.
2004-10-10 Al Riddoch <alriddoch@zepler.org>
* Release 0.1.90.
2004-05-21 Al Riddoch <alriddoch@zepler.org>
* libmd3/mesh.h: Add member for normal data.
* libmd3/structure.h: Fixed signedness of strings.
* tests/rendermd3.c: Strip unused code, and make all functions
static as this is a standalone file.
2004-05-18 Al Riddoch <alriddoch@zepler.org>
* Make tests into check_PROGRAMS, and don't build by default.
* Rename the variables defined in configure to match the project
name.
* Fix up the new spec.
2004-05-18 Al Riddoch <alriddoch@zepler.org>
* Update configure.ac
2004-04-04 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c, tests/rendermd3.c: Move declarations to the
beginning of the block to confirm with old ISO C.
2004-03-17 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Remove legacy non-vertex array rendering code.
2004-03-17 Al Riddoch <alriddoch@zepler.org>
* Updated AUTHORS and README.
2004-03-17 Al Riddoch <alriddoch@zepler.org>
* tests/dumpmd3.c: Stop using strnlen, as its not part of the standard
C library.
2004-03-17 Al Riddoch <alriddoch@zepler.org>
* Change package name to libmodelfile, remove obsolete files,
and ensure all sources are packaged correctly.
2004-03-14 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Fix convert code. Switch to vertex array
rendering, now that the vertex data is packed.
2004-03-14 Al Riddoch <alriddoch@zepler.org>
* libmd3/convert.h, libmd3/convert.c: Add function to remove
the env texcoords from the vertex data, so that rendering
is more efficient if they are not required.
* tests/dumpmd3.c: Improve error handling, and test vertex
conversion function.
* tests/rendermd3.c: Try out using the vertex conversion
functionality.
2004-03-14 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Set colour for full brightness, and
set background to grey for contrast. Detect if model is not
found.
2004-03-14 Al Riddoch <alriddoch@zepler.org>
* libmd3/mesh.h, libmd3/loader.h: Add user union to libmd3 defined
structs for extra info.
* libmd3/structure.h, tests/dumpmd3.c: Fix attribute typo.
* tests/rendermd3.c: Add handling for textures.
2004-03-13 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Change comments, and attributes of in-files
structures due to improved understanding.
* libmd3/loader.c: Re-write loader to work using start positions
and seeking, rather than just reading sequentially, and hoping
sections are in the right order.
* tests/dumpmd3.c: Fix typos and new names in dump output.
* tests/rendermd3.c: Use the official 1/64 scale and make the window
bigger.
2004-03-13 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Add some comments, including size in bytes
of each structure.
* libmd3/loader.c: Add code to handle header_len attribute.
* tests/rendermd3.c: Disable SDL parachute, and tweak scale
factor.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Slightly cleaner render code.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c: Use the stdint version of type for sizeof.
* tests/dumpmd3.c: Dump triangle indices, texcoords and vertex coords.
* tests/rendermd3.c: Implement discrete function based rendering.
Sort out vertex arrays later.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Add first pass of mesh drawing code.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c: Fix calls to calloc with zero blocks.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* tests/rendermd3.c: Add example renderer code.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* tests/dumpmd3.c: Dump the skin names.
2004-03-12 Al Riddoch <alriddoch@zepler.org>
* Add -std=c89 to compile flags to ensure ANSI C compatability.
* libmd3/loader.c: Correct check of mesh count when loading,
and add meshes to the file structure.
* libmd3/loader.c, libmd3/loader.h, libmd3/mesh.h, libmd3/structure.h:
Fix C99/C++ style comments.
* tests/dumpmd3.c: Implement dumping the mesh header.
2004-03-08 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c, libmd3/mesh.h: Implement loader for the
rest of the mesh data.
* tests/dumpmd3.c: Start writing dump code for the rest of the mesh
data.
2004-03-07 Al Riddoch <alriddoch@zepler.org>
* libmd3/mesh.h: Add member for triangles.
* libmd3/loader.c: Add loader for triangles.
2004-03-07 Al Riddoch <alriddoch@zepler.org>
* libmd3/mesh.h: New structure for all the data associated with
a mesh.
* libmd3/loader.h: Tweak the file structure to hold the mesh
data pointers using new mesh data structure.
* libmd3/loader.c: Add code to load the mesh header, and skins.
2004-03-07 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Fix spelling typo of md3_tag.position.
* libmd3/loader.c: Clean up loading of frames and tags.
* tests/dumpmd3.c: Separate dumping header into function,
and dump frames and tags.
2004-03-06 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h, libmd3/loader.h: Clear up the naming of
md3_frame structure.
* libmd3/loader.c: Implement loading frames and tags.
2004-03-01 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Re-order declarations to match order in file.
* libmd3/loader.h: Re-format, and add members to file structure
to store pointers of other loaded structures.
2004-02-29 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Re-format using spaces.
* libmd3/loader.c: Break into functions, and add stubs for
the rest of the loader.
2004-02-29 Al Riddoch <alriddoch@zepler.org>
* libmd3/loader.c, libmd3/loader.h: Add first stage of code
to actually load the file.
* tests/dumpmd3.c: Test the load code, and dump the results to
terminal.
2004-02-28 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Add remaining items for on-disk data structures.
2004-02-26 Al Riddoch <alriddoch@zepler.org>
* libmd3/structure.h: Add new header for on-disk data structures.
|