Go to file
Sergey Sharybin f6f7e270e3 Slight refactor of VBO code to deal with multiple textures.
Added compareDrawSettings callback to driver mesh's callbacks which are
drawing textured faces (mapped and not mapped). This new callback checks
if two faces are drawing with the same settings (testures, shading etc)
and if they not, flush of faces happens into ogl using glDrawArrays and
next face would be drawn with it's own settings.

Currently implemented compareDrawSettings is used to resolve issue from
bug report only, probably there are extra places where this callback is
needed, but haven't seen configuration where current logic will fail,
so it should be ok.

Also reordered arguments passing to drawMappedFaces DM's callbacks,
so now all drawing callback are accepting list of callbacks and then
userData, instead of using mixed order of callbacks and userData which
was a bit confusing to work with.

This commit fixes:
- #26410: VBO & multitexture doesnt work
- #29464: VBO enabled causes UV coruption
2011-12-01 12:12:39 +00:00
build_files Buildbot configuration tweaks 2011-11-27 19:21:49 +00:00
doc corrections for docs 2011-11-28 17:19:25 +00:00
extern Fix #29469: Latest motion tracking not working. 2011-12-01 10:25:16 +00:00
intern Another possible fix for #29301: issue with BVH intersection, reorder code a 2011-11-30 16:29:26 +00:00
release Rename Movie to Movie Clip source for background image 2011-11-30 05:34:32 +00:00
source Slight refactor of VBO code to deal with multiple textures. 2011-12-01 12:12:39 +00:00
CMakeLists.txt rename cmake WITH_OCEANSIM --> WITH_MOD_OCEANSIM and tag CYCLES_CUDA_BINARIES_ARCH as advanced. 2011-11-13 14:16:43 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile minor changes 2011-11-23 17:14:29 +00:00
SConstruct exclude addons_contrib/ for release builds. 2011-11-17 19:43:59 +00:00