Package nu3a.material.color

Examples of nu3a.material.color.N3ColorData


   */
  public N3Material(N3Scene scene, String name) throws N3NameException {
    this.name = name;
    this.scene = scene;
    scene.addNamedObject(this);
    colorData = new N3ColorData();
    textures = new Vector(0, 1);
    texture_mode = N3_MODULATE;
    multitexture = false;
    isDirty = false;
    active_texture = null;
View Full Code Here


   */
  protected N3VisualObject(N3Scene scene, N3GeometryData g, String name)
      throws N3NameException {
    super(scene, name);
    geometry = g;
    colorData = new N3ColorData();
    vertexData = new N3VertexData();
    normalData = new N3NormalData();
    texCoordData = new N3TexCoordData();
    disabledLights = new Vector(0, 1);
    geometry.addGeometryListener(this);
View Full Code Here

   *            Nombre del nodo
   */

  protected N3VisualObject(N3Scene scene, String name) throws N3NameException {
    super(scene, name);
    colorData = new N3ColorData();
    texCoordData = new N3TexCoordData();
    disabledLights = new Vector(0, 1);
    geometry = null;
    scene.addVisualObject(this);
  }
View Full Code Here

   * @param render
   *            Render en el que realizar el dibujado de la caja.
   */
  public void draw(N3Render render) {
    N3VertexData v = new N3VertexData();
    N3ColorData c = new N3ColorData();
    c.addColor(new N3ColorRGBA(1.0f, 1.0f, 1.0f));

    v1.x = minX;
    v1.y = maxY;
    v1.z = maxZ;

View Full Code Here

TOP

Related Classes of nu3a.material.color.N3ColorData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.