Java Code Examples for com.jogamp.opengl.GL3#GL_POINTS

The following examples show how to use com.jogamp.opengl.GL3#GL_POINTS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BlazeBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public BlazeBatcher() {

        // Create the batch
        batch = new Batch(GL3.GL_POINTS);
        colorTarget = batch.newFloatBuffer(COLOR_BUFFER_WIDTH, false);
        infoTarget = batch.newIntBuffer(INFO_BUFFER_WIDTH, false);
    }
 
Example 2
Source File: LoopBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public LoopBatcher() {

        // create the batch
        batch = new Batch(GL3.GL_POINTS);
        colorTarget = batch.newFloatBuffer(COLOR_BUFFER_WIDTH, false);
        loopInfoTarget = batch.newIntBuffer(LOOP_INFO_BUFFER_WIDTH, false);
    }
 
Example 3
Source File: NodeLabelBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public NodeLabelBatcher() {

        // Create the batches
        topBatch = new Batch(GL3.GL_POINTS);
        labelFloatsTarget = topBatch.newFloatBuffer(FLOAT_BUFFERS_WIDTH, false);
        labelIntsTarget = topBatch.newIntBuffer(INT_BUFFERS_WIDTH, false);
        bottomBatch = new Batch(topBatch);
    }
 
Example 4
Source File: IconBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public IconBatcher() {

        // Create the batch
        batch = new Batch(GL3.GL_POINTS);
        colorTarget = batch.newFloatBuffer(COLOR_BUFFER_WIDTH, false);
        iconTarget = batch.newIntBuffer(ICON_BUFFER_WIDTH, false);
    }
 
Example 5
Source File: FpsBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public FpsBatcher() {

        // Create the batch
        this.batch = new Batch(GL3.GL_POINTS);
        this.colorTarget = batch.newFloatBuffer(COLOR_BUFFER_WIDTH, false);
        this.iconTarget = batch.newIntBuffer(ICON_BUFFER_WIDTH, false);
        this.pixelDensity = 0;
        this.projectionScale = 0;
    }
 
Example 6
Source File: ConnectionLabelBatcher.java    From constellation with Apache License 2.0 5 votes vote down vote up
public ConnectionLabelBatcher() {

        // Create the batch
        attributeLabelBatch = new Batch(GL3.GL_POINTS);
        final ConstellationColor summaryColor = VisualGraphDefaults.DEFAULT_LABEL_COLOR;
        summaryLabelInfo.setRow(summaryColor.getRed(), summaryColor.getGreen(), summaryColor.getBlue(), VisualGraphDefaults.DEFAULT_LABEL_SIZE * LabelUtilities.NRADIUS_TO_LABEL_UNITS, 0);
        floatsTarget = attributeLabelBatch.newFloatBuffer(FLOAT_BUFFER_WIDTH, false);
        intsTarget = attributeLabelBatch.newIntBuffer(INT_BUFFER_WIDTH, false);
        summaryLabelBatch = new Batch(attributeLabelBatch);
    }