Blender Git Commit Log

Git Commits -> Revision 14251d4

Revision 14251d4 by Jeroen Bakker (master)
June 6, 2018, 06:50 (GMT)
Workbench: Speed up fo scene with many duplis

The ObjectID pass was generating per material per dupli a specific
number for the outline what results in a GPU context switch. In spring scene
01-050 a scene with many trees (duplis) generated 28000 GPU materials.

Now only new materials are created when objectid pass is enabled. Also
added a hard limit to the number of objects for the objectid pass (255)
Basically the outline between objects will not be drawn, but it will be
very hard to detect them also.

Also fixed for XRay mode.

Commit Details:

Full Hash: 14251d46155b1f781b45d17eba1e6480fbb15be9
Parent Commit: 1889eec
Lines Changed: +6, -6

2 Modified Paths:

/source/blender/draw/engines/workbench/workbench_deferred.c (+4, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021