de.jreality.tutorial.app
Class VertexColorsExample

java.lang.Object
  extended by de.jreality.tutorial.app.VertexColorsExample

public class VertexColorsExample
extends java.lang.Object

This example shows how to use vertex colors on a point set.

Not that in contrast to the case of the default line shader, the attribute CommonAttributes.VERTEX_COLORS_ENABLED plays no role in the point shader. If vertex colors are present in the PointSet instance they are used when rendering. If you don't want vertex colors, you should remove the attribute.

Author:
gunn (from code donated by forum member STRESS).

Constructor Summary
VertexColorsExample()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexColorsExample

public VertexColorsExample()
Method Detail

main

public static void main(java.lang.String[] args)