a3b6ae9fb9
Cleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.
...
Also, fix missing cleanup of Object.runtime when copying Object
datablocks!
2018-07-30 16:58:44 +02:00
8cd7828792
GWN: Port to GPU module: Replace GWN prefix by GPU
2018-07-18 11:49:15 +02:00
a67cc72232
MetaBall support for Workbench + EEVEE
...
Note: Metaballs only support the first material slot. Splicing it per
material would create empty Batches. In order to overcome this we set
the batch for other materials to NULL. We added extra checks in EEVEE
and Workbench to not draw when the geom is NULL.
2018-06-11 11:52:41 +02:00
24ca903f6d
Draw Manager: draw_cache_imp_displist, always return IndexBuf even when there is no index
...
This prevents possible errors with materials and a crash with low resolution metaball.
Also a small cleanup was done in the code.
2017-12-18 23:17:55 -02:00
6b794565aa
Fix crash with DispLists without vertices
...
Wee must return VertBuffers even when its size is zero
2017-12-14 14:31:08 -02:00
5b5de35604
Support for Batchs split by material for objects of type Curve, Surface, and Text
...
**ToDo:**
- add vertbuff for UV (what can be adapted from `dl_surf_to_renderdata`)
2017-12-14 12:21:38 -02:00
0c37824bfa
Draw Maganer: Cleanup: Remove unnecessary lines of code in draw_cache_impl_metaball.c
2017-12-01 18:25:46 -02:00
ec2c0c5534
Cleanup: warnings
2017-11-17 19:02:45 +11:00
88c88c4610
Fix T51210: Draw Manager: Support for Metaball Drawing
...
Differential Revision: D2914
2017-11-16 15:12:32 -02:00