-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Details: - Breaks renderers API: - processVisibleItem takes an additional first argument, nodeId (or edgeId for edges), that must be used as a color in the shaders in PICKING mode - draw becomes setUniforms, and no more has to call the drawGl method. Also, it receives a ProgramInfo as an additional input - The WebGL method used for drawing must be specified in the ProgramDefinition - Migrates existing programs to picking - Adds a new WebGL context that draws the picking layer - Migrates getNodeAtPosition and getEdgeAt to read the new layer - Deletes everything quadtree related TODO: - ATM edges are drawn over nodes on the picking layer, and this must be fixed - Picking should probably be done on their respective layer, but on a texture - The performance impact should be quantified
- Loading branch information
Showing
35 changed files
with
564 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.