summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-25Possibly avoid crash for animation at large times + allow negative fps.HEADmasterDavid Mikos1-0/+3
2008-02-21Add fo (face outline) input to model loader.David Mikos1-4/+7
2008-02-20Fixed typo - thanks metastabilityJoel Bosveld1-1/+1
2008-02-20Accumulated patchesRoland Bär5-23/+61
2008-02-19In model loader, save some memory, ignore bad vertices, allow relative paths.David Mikos3-61/+77
2008-02-17Make animatedModel.sh executable. Add pre/post strings to animation filename.David Mikos2-34/+28
2008-02-16More settings for obj loader. Animation off by default.David Mikos3-355/+886
2008-01-31Patch for animated obj models.David Mikos3-503/+701
2008-01-28Bring everything up to date, also changed velocity to use randomJoel Bosveld1-9/+15
direction
2008-01-28Add missing functionalityJoel Bosveld2-9/+57
2008-01-28Fix 2 mistakesJoel Bosveld2-5/+13
2008-01-28Finally fixed crash...Joel Bosveld2-60/+87
2008-01-26Fixed some errors, but still haven't stopped it crashing with particleJoel Bosveld2-15/+27
system. Will now crash if it runs out of memory (rather than continuing and crashing later
2008-01-25Break some stuff with particle system to try get it to use the emitterJoel Bosveld4-3/+109
structs for dataSets, doesn't work yet (crash)
2008-01-25Fix modify action to call correct functionJoel Bosveld1-16/+42
2008-01-25Fix for rotationJoel Bosveld1-2/+3
2008-01-25Add ability to use the modify command to change theJoel Bosveld1-0/+15
transformations applied to the model (can be used to make something like a 3d clock inside cube)
2008-01-23Update some function namesJoel Bosveld2-6/+8
2008-01-23Fixed crashJoel Bosveld1-0/+1
2008-01-21Some work on emitters, to properly create particlesJoel Bosveld2-3/+104
2008-01-19Changed moveLinear function to moveConstantAccelerationJoel Bosveld2-7/+21
Just set acceleration to 0 to have same effect as before
2008-01-19Fixed a typo (copy paste error)Joel Bosveld1-2/+2
2008-01-19Fixed emitter to use new named data setsJoel Bosveld6-26/+59
Also added script, and added some error checking (won't crash if it can't find data set)
2008-01-19Delete data sets when destroying a particleJoel Bosveld1-3/+11
2008-01-19Undid a test and started work on data setsJoel Bosveld6-131/+70
2008-01-19Added basic particle systemJoel Bosveld11-3/+417
The 'link' to cubefx is just made for testing, also the way data is stored in particles is soon to be changed. I also will be doing some work on the emitters (as it is only hard coded at the moment for testing)
2008-01-02Fixed mistake causing mtl files not to be read correctlyJoel Bosveld1-2/+5
2008-01-02Don't break if it can't find mtl file.Joel Bosveld1-2/+2
If it can't find mtl file, it will just draw untextured instead. Also instead of showing the file name, it will show full path to the file
2007-12-20Check for map_Kd or map_Ks in mtl file (as well as map_Ka).Joel Bosveld1-1/+1
If you specify more than 1 per material it will leak memory, but I hope to change that soon (as I think I am doing it wrong anyways)
2007-12-19Removed some outdated commentsJoel Bosveld1-3/+3
2007-12-19Use findPath function to get absolute path to mtl and tex files from theJoel Bosveld1-6/+19
path of obj file and relative paths specified in the obj and mtl files respecitvely
2007-12-19Fixed lighting bug, when loading certain modelsJoel Bosveld1-1/+1
2007-12-19Added function to get path.Joel Bosveld1-0/+44
Doesn't do anything yet, but I wanted to commit/push because I had accidentaly broken my repo
2007-12-19Rotate scene correctly in inside cube mode.Dennis Kasprzyk1-1/+2
2007-12-17Removed test line I accidentaly left inJoel Bosveld1-1/+0
2007-12-17Added script to draw model (really it is pointless, but I added itJoel Bosveld2-0/+4
anyways)
2007-12-17Removed debug messageJoel Bosveld1-1/+0
2007-12-17Seperate string (for mtllib, v, etc) at tabs as well as spacesJoel Bosveld1-32/+40
2007-12-15Don't want to end line on a tab characterJoel Bosveld1-1/+1
2007-12-15Fixed problem, should now load texture filesJoel Bosveld1-15/+9
Note, in the .obj and .mtl file all filenames must be specified with full path - this will be changed soon (as I will calculate path from given obj file). Also ppm images will not work, you will need to convert these to png images (I plan on porting imagemagick plugin to master, in order to load ppm images)
2007-12-15Removed all free's, as "free(strline);" seems to be causing a lockup.Joel Bosveld1-30/+32
2007-12-15Little bit of cleaning (doesn't yet work - locksup)Joel Bosveld2-450/+348
2007-12-14Added support for MTL files (does not yet work properly)Joel Bosveld1-73/+277
2007-12-11Use dbus argument to specify texture "string:'texture'Joel Bosveld1-19/+63
string:'/path/to/texture' Added support for normals
2007-12-11Fixed textures (still no automatic loading of texture, the file isJoel Bosveld1-2/+22
hardcoded)
2007-12-10Added basic texture support (does not yet work...)Joel Bosveld1-12/+96
2007-12-08Added some scripts.Joel Bosveld3-0/+112
photowheel.sh requires 4 arguments, which are the /path/to/image window.sh can just be run, then click on a window to draw it in cube test.sh needs 3 arguments, which are the /path/to/image and also click on a window to draw that window in a photowheel with the other 3 images (note that this does not work for some reason (whether script or cubedbus related I don't know yet))
2007-12-08Now does 3 passes over file. Faces can be defind before the verticesJoel Bosveld3-68/+99
now. Now will also recognize quads (soon it will allow for arbitrarily large polygons)
2007-12-07Reverted change which did nothing (was testing something, and didn'tJoel Bosveld1-5/+0
mean to commit)
2007-12-07Changed //coment to a #comment in file which could be run as a scriptJoel Bosveld1-1/+1