[Abysmal-commit] SF.net SVN: abysmal:[287] abysmal/trunk
Status: Pre-Alpha
Brought to you by:
jlanger85
|
From: <jla...@us...> - 2009-04-19 12:46:48
|
Revision: 287
http://abysmal.svn.sourceforge.net/abysmal/?rev=287&view=rev
Author: jlanger85
Date: 2009-04-19 12:46:45 +0000 (Sun, 19 Apr 2009)
Log Message:
-----------
WIP: 3d models
Ported the 3d modelling stuff from UWadv
It's currently a mess and not well integrated in abysmal. Additionally the modelling stuff in UWadv
was only partly done, so there's a lot of stuff still missing or buggy
For now I fixed texture coordinates (I hope so) and implemented the gourard
shading.
The next step is to clean up the code and remove the tessellation and stuff in
the model decoding stage. Instead the new approach should be to put everything
into a bunch of structures and do the tessellation later. Why? For the
tessellation or coloring we need some info from the object itself or the tile
containing the object. At the model loading stage we do NOT have these information,
so with the UWadv approach it's not possible to render pillars and door frames
correctly (since they need the tile ceil height) or render beds correctly
(because they modify the coloring according to some fields in the object data)
Modified Paths:
--------------
abysmal/trunk/.gitignore
abysmal/trunk/doc/uw-formats.txt
abysmal/trunk/src/base/geometry.h
abysmal/trunk/src/base/levelgeometry.cpp
abysmal/trunk/src/base/levelgeometry.h
abysmal/trunk/src/game/core.cpp
abysmal/trunk/src/game/shock/states/mainstate.cpp
abysmal/trunk/src/game/uw/import/ark.cpp
abysmal/trunk/src/game/uw/import/levelloader.cpp
abysmal/trunk/src/game/uw/states/mainstate.cpp
abysmal/trunk/src/game/uw/uwgame.cpp
abysmal/trunk/src/game/uw/uwgame.h
abysmal/trunk/src/game/uw/uwobject.cpp
abysmal/trunk/src/game/uw/uwobject.h
abysmal/trunk/src/renderer/renderer.h
Added Paths:
-----------
abysmal/trunk/src/game/uw/import/modelimport.cpp
abysmal/trunk/src/game/uw/model_builtin.cpp
abysmal/trunk/src/game/uw/model_builtin.h
abysmal/trunk/src/game/uw/models.cpp
abysmal/trunk/src/game/uw/models.h
abysmal/trunk/src/renderer/tess.cpp
abysmal/trunk/src/renderer/tess.h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|