Blender Git Loki

Git Commits -> Revision 461b3c8

Revision 461b3c8 by Dalai Felinto (master)
August 15, 2018, 22:26 (GMT)
Camera Reconstruction: Camera Path

The only difference from 2.7x is that we were using glLineWidth(2.0) before,
which is not supported reliably in the latest OpenGL.

Big thanks to Cl�ment Foucault for helping with this, on the design as well as
debugging the implementation.

For the records, I'm creating and destroying batches for the path geometry at
every draw. The pipeline is as follows:

1. Create GPUBatch with all the points
2. Create new shgroup with simple shader
3. Add call with the gpubatch
4. Save it in a linked list in stl->g_data
5. Free it after all drawing is done

Commit Details:

Full Hash: 461b3c817e981f9a6dbc354a2c142d1d1d344976
Parent Commit: 248c049
Lines Changed: +59, -3

1 Modified Path:

/source/blender/draw/modes/object_mode.c (+59, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021