Pages: << Previous 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 Next >>
Summary Period: 2002-05-27 to 2002-05-19 (Commits 8245-8294 of 12744)
Implemented a work-around for csImageFile::MipMap() in case steps
is 0 and width or height is 1.
8 lines of code changed in:
- Fixed a bug in the coverage buffer of Dynavis in case the outline
has a lot of vertices. Now it automatically adapts the array
of vertices.
- Simplified the coverage buffer a bit by removing support for
left/right lines.
- Polygon insertion into coverage buffer is now also more robust
and faster because it doesn't care about left/right lines anymore.
49 lines of code changed in:
Fixed IsZero() from Toni by using a 'float' precision instead
of 'double'.
4 lines of code changed in:
- Eliminated a warning under MSVC.
1 lines of code changed in:
- Fixed a bug in the KD-tree of Dynavis. It was possible for
a split axis to be outside the node bounding box.
- Made the test on outline radius > instead >=. Otherwise it could
happen that the outline was recalculated every frame if radius
happened to be 0.
- Extended the unittest of csKDTree in Dynavis.
15 lines of code changed in:
- Added "freefnt2" plugin back into default MSVC build.
Fixed link problems under release builds.
2 lines of code changed in:
- Fixed a bug in KD-tree of Dynavis which could cause infinite
recursion while traversing the tree. Also enabled normal Dynavis
processing again.
- Extended Dynavis 'toggle_coverage' command so that it now has
three modes: None, Polygon, and Outline.
30 lines of code changed in:
patch submitted by malverian@lockless.dyndns.org (Philip Walls) : Added software cursor drawing, which is available to other canvases (and now svga2d canvas) via the Video.SystemMouseCursor option.
141 lines of code changed in:
- Removed SDL canvas and Freetype2 plugins from default MSVC build.
0 lines of code changed in:
Fixed a little bug:
IsZero method compared the components of the vector with 0. Now it has a default float parameter named "precision".
Its default value is SMALL_EPSILON (0.000001f), but other values can be passed.
As a precondition precision value should be > 0, the test done is
ABS(x) < precision && ABS(y) < precision && ABS(z) < precision, so if
precision value is negative this will return always true.
It could be solved typing ABS(precision) but this is no needed if we're careful.
Enjoy
Toni
4 lines of code changed in:
Added lots of debug info to Dynavis (making it totally unusable
for mere mortals) to help me debug a crash.
21 lines of code changed in:
- Fixed a bug in the handling of the polygon mesh instances in a thing.
If they were queried too early they could hold invalid date and
the vis system would not know about it.
- This fix means that Dynavis outline culling finally works :-)
50 lines of code changed in:
- Added support for calculating position dependend outlines in the
model manager of Dynavis. As long as the position doesn't move
too much with relation to the original model then the outline will
also be reused from previous frame.
- Added support for rendering outlines in the coverage buffer of
Dynavis. No support for unit testing yet.
- Added first version of outline rendering support in Dynavis.
Currently not working properly yet.
375 lines of code changed in:
- Fixed a bug in CS which caused problems with portals that go
between sectors that contain static polygon trees. The c-buffer
was not cleared properly when the portal was on a mesh that itself
doesn't have the static tree.
6 lines of code changed in:
- Changed csPolygonMeshTools::CalculateOutline() so that it returns
the output edges as sets of vertex indices instead of edge
indices.
- Extended the unit tester for CalculateOutline().
- Replaced the normals with planes in the csObjectModelManager from
Dynavis.
127 lines of code changed in:
- Removed association between Depth and pfd.cColorBits. This is the most
likely cause of corruption some are seeing, because it is ignored by us in
setup. This also forced Windows to use the depth of the desktop and
stopped setting of depth via config files.
1 lines of code changed in:
- Fixed in link problem in freefnt2.
Note:
This requires you update to latest msvc_libs 0.94a.
You can obtain the version for your compiler version from:
For MSVC 5 / 6:
ftp://sunsite.dk/projects/crystal/support/win32/msvc_libs_0.94a.zip
ftp://62.188.48.183/crystal_space/support/win32/msvc_libs_0.94a.zip
For MSVC 7:
ftp://sunsite.dk/projects/crystal/support/win32/msvc7/msvc7_libs_0.94a.zip
ftp://62.188.48.183/crystal_space/support/win32/msvc7/msvc7_libs_0.94a.zip
1 lines of code changed in:
- Put back the fflush() in engine.cpp. An fflush() can NEVER
cause crashes unless your environment is screwed up a lot.
4 lines of code changed in:
New PlaneShift release.
10 lines of code changed in:
- Fix.
2 lines of code changed in:
- Added support for MSYS from the MinGW project.
To build with MSYS do "make msys MODE=debug" in place of your old method.
- Fixed mkdir command in CS so msys can deal with directory creation.
Note: This is very hacked and early support and is subject to change.
27 lines of code changed in:
- added a missing newline at end of win32.cpp
- removed an fflush() from engine.cpp which caused crashes
- removed redundant functions ParseMixmode() from a couple of loaders;
iSyntaxService is used instead
63 lines of code changed in:
- Added csPolygonMeshTools::CalculateEdges() which will calculate a
table of edges for the mesh. Also added a unit tester for this
routine to the csgeom unit tester.
- Added csPolygonMeshTools::CalculatePlanes() function to calculate
planes for the mesh.
- Added csPolygonMeshTools::CheckActiveEdges() function to calculate
the activity state of all edges.
- Added csPolygonMeshTools::CalculateOutline() to create an outline
(expressed in 3D) for the given set of edges and planes. Added
a unit test to the csgeom unit tester.
519 lines of code changed in:
- Updated apimod96 for new csParser class.
- Some minor code cleanup in the new csParser class. It was already
formatted rather well though.
- Fixed python plugin.
60 lines of code changed in:
- stuffed the parser functions in csutil/parser.h into a class csParser
- added method csParser* GetParser() to iLoaderContext
- Parse* methods in iSyntaxService require now a csParser*
- updated loaders
311 lines of code changed in:
- removed msvc7gen from jobber
0 lines of code changed in:
- added msvc7gen to jobber
6 lines of code changed in:
I discovered that meshes rendered with DrawPolygonMesh were
still transforming all the vertices to camera space in the engine.
This is totally unneeded so I removed that. This should make
DPM meshes a little faster again.
9 lines of code changed in:
- Added new csPolygonMeshTools class in csgeom. This class will
contain functions to work with iPolygonMesh instances. Currently
it only contains the CalculateNormals() function which will calculate
the normals of all polygons in the mesh.
- Optimized csPoly3D::ComputeNormal() a bit.
- csPolyPlane contained a virtual destructor for no particular reason.
- Polygon perspective projection was doing an additional transform
of the camera plane for no particular reason.
- Implemented backface culling for writing out objects to the
coverage buffer in Dynavis.
185 lines of code changed in:
- Added #include "igeom/objmodel.h" for CS_BBOX_NORMAL
1 lines of code changed in:
Manual update
1 lines of code changed in:
- Added a new csObjectModelManager to Dynavis. This manager is
responsible for managing iObjectModel instances that are registered
to it from the engine. The model manager will detect (using a
hashmap) that two different objects in the visibility system use
the same model and in that case be able to optimize a lot of the
calculations (in future the calculation of the OBB and outline
can be cached per model instead of per object). At this moment
no objects in the engine actually support sharing models yet but
this is planned.
193 lines of code changed in:
- Added new iObjectModel interface. This interface represents a
generic way to look at some geometry in object space. This
is the most generic way to look at a mesh object.
- Added iMeshObject::GetObjectModel() and added this to all
mesh object implementations...
- Removed iMeshObject::GetShapeNumber(), GetRadius(),
GetObjectBoundingBox(), and GetWriteObject() since these are now in
GetObjectModel().
- Removed iVisibilityObject::GetShapeNumber(), GetBoundingBox(),
and GetWriteObject(). Replaced with GetObjectModel().
665 lines of code changed in:
- Added include/igeom/polymesh.h to css.h.
- Fixed bug with csEvCord not calling SCF_CONSTRUCT_IBASE in
constructor.
6 lines of code changed in:
- Added (but disabled until release of new cs mingw) "csavi" and "odivx" plugins.
2 lines of code changed in:
- Changed so origonal odivx plugin is default again for pre 4
content. This is due to the fact it is this plugin which is the only
one which consistently works correctly under Windows i.e.
MSVC and yes MinGW. :)
1 lines of code changed in:
- added command line help for win32 -[no]console
- window icon is tried to be loaded from <excutable>.ico
- glwin32 supports specification of depth buffer bits through
Video.OpenGL.DepthBits cfgvar
- added support for AlertV() to win32 canvases (displays a
message box)
- g2dtest didn't set the window title
133 lines of code changed in:
changed MSVC project name to 'freefnt2'
1 lines of code changed in:
- removed the settings for freetype 1
- fixed the notes since freetype2 now handles VFS paths
4 lines of code changed in:
replaced freefont with freefont2, also renamed the tags of the alternate font servers so they could be loaded by the plexor server
2 lines of code changed in:
replaced freefonts classid with freefont2's
3 lines of code changed in:
removed freefont plugin inclusion
0 lines of code changed in:
- Removed Freetype 1 plugin and added Freetype 2 plugin to default MSVC build.
1 lines of code changed in:
- Added (but disabled until next cs mingw release) "ie3ds" and
"freefnt2" (Freetype 2 plugin), these libs are fully supported in
the release.
Yes, I'm adding these as I go to keep track of what is yet to support. :)
2 lines of code changed in:
- csThing now implements GetWriteObject(). Currently it will
just return the full detail version of the thing. A lower
detail version is planned.
- Dynavis no longer uses iThingState. Instead it uses the
write object which is more general.
- Removed the construct trans1 * trans2.GetInverse() with
trans1 / trans2 at various places in the engine and other
plugins. This is a considerable implementation as the
latter is a lot faster.
66 lines of code changed in:
Automated Texinfo @node and @menu repair.
1 lines of code changed in:
- Removed Minimal Rebuild "/Gm" from Release builds.
0 lines of code changed in:
- Removed include to now removed "ivaria/polymesh.h"
0 lines of code changed in:
- Also added GetWriteObject() function to iMeshObject. The
same function in iVisibilityObject will pass control to the
GetWriteObject() of iMeshObject. Implementation note: it is
possible that two different mesh object instances will return
the same polygon mesh. In this case the visibility system
can use that to share shape related visibility information
for those different mesh objects. One way to implement
this from the perspective of the mesh object is to let
the factory be responsible for the geometry.
- Implemented GetWriteObject() in all mesh objects. Current
implementation just returns NULL.
- Implemented GetShapeNumber() in csThing mesh object. This
number will be incremented as soon as the geometry of
the thing changes.
- Added PolyMeshHelper class for csThing and put the old
iPolygonMesh implementation there.
- Moved iPolygonMesh interface from include/ivaria to include/igeom.
237 lines of code changed in:
- Enabled Browse Information "/FR", under debug builds.
4 lines of code changed in:
Pages: << Previous 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 Next >>
Generated by StatCvs v0.2-dev