Changeset 3344
- Timestamp:
- 04/13/09 12:16:29 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3343 r3344 377 377 378 378 const float minDist = 1e-6f; 379 const float delta= 1e-3f;379 const float eps = 1e-3f; 380 380 381 381 const float lengthToSample = length(dirSample); 382 const float sampleWeight = 1.0f / (lengthToSample + delta);382 const float sampleWeight = 1.0f / max(lengthToSample, eps); 383 383 384 384 dirSample /= max(length(dirSample), minDist); // normalize … … 599 599 600 600 OUT.illum_col.y = combinedWeight; 601 OUT.illum_col.z = oldIdx + 8;//newWeight; // the new index601 OUT.illum_col.z = oldIdx + newWeight; // the new index 602 602 OUT.illum_col.w = eyeSpaceDepth; 603 603 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/toto.txt
r3342 r3344 148 148 fix walk speed for deferred shading 149 149 150 fix color bleeding 151 fix ao2 152 fix full resolution mode 153 154 for the paper: make ao more efficient, for example we do not need to downsample normal texture for ao version 1 155 also for full resolution mode: test what happens if we do not use downsampling, look why currently so slow with full resolution (was previously > 80 frame or so!!) 150 fix color bleeding fix ao2 fix full resolution mode 151 152 for the paper: make ao more efficient, for example we do not need to 153 downsample normal texture for ao version 1 also for full resolution 154 mode: test what happens if we do not use downsampling, look why 155 currently so slow with full resolution (was previously > 80 frame or 156 so!!) 156 157 157 158 158 159 /////////////// 160 159 161 160 162 always update tempcoh after changes to sample intensity usw. … … 210 212 211 213 fix normals!! 214 215 216 ssao should be only for ambient lighting 217 use better buddha model 218 show rotating spheres 219 images of sibenik 220 performance test from vienna? 221 try out method described in the paper for detecting pixels 222 unifiy index and counter 223 fix shadows! 224 make images with / without filter
Note: See TracChangeset
for help on using the changeset viewer.