congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Material.setShininess
Code IndexAdd Tabnine to your IDE (free)

How to use
setShininess
method
in
javax.media.j3d.Material

Best Java code snippets using javax.media.j3d.Material.setShininess (Showing top 8 results out of 315)

origin: org.fudaa.framework.ebli/ebli-3d

/**
 * modifie la brillance de l'objet.
 */
public void setBrillance(final double _b) {
 shape_.getAppearance().getMaterial().setShininess((float) _b);
}
origin: eu.mihosoft.vrl/vrl

mat.setShininess(20.f);
origin: eu.mihosoft.vrl/vrl

mat.setShininess(20.f);
origin: eu.mihosoft.vrl/vrl

mat.setShininess(20.f);
origin: eu.mihosoft.vrl/vrl

mat.setDiffuseColor(r, g, b); 
mat.setShininess(20.f);
origin: eu.mihosoft.vrl/vrl

mat.setShininess(20.f);
origin: eu.mihosoft.vrl/vrl

/**
 * Returns a solid appearance.
 * @return the appearance
 */
private Appearance getColoredAppearance() {
  Appearance a = new Appearance();
  PolygonAttributes pa = new PolygonAttributes();
  pa.setCullFace(PolygonAttributes.CULL_NONE);  // see both sides of shape
  pa.setPolygonMode(PolygonAttributes.POLYGON_FILL);
  pa.setBackFaceNormalFlip(true);
  a.setPolygonAttributes(pa);
  LineAttributes la = new LineAttributes();
  la.setLineAntialiasingEnable(true);
  la.setLineWidth(1.f);
  a.setLineAttributes(la);
  Material mat = new Material();
  mat.setSpecularColor(1.f, 1.f, 0.8f);
  mat.setDiffuseColor(1.f, 0.4f, 0.1f);
  mat.setShininess(20.f);
  mat.setLightingEnable(true);
  a.setMaterial(mat);
  return a;
}
origin: org.fudaa.framework.ebli/ebli-3d

m.setCapability(Material.ALLOW_COMPONENT_READ);
m.setCapability(Material.ALLOW_COMPONENT_WRITE);
m.setShininess(2);
m.setLightingEnable(false);
final TextureAttributes texa = new TextureAttributes();
javax.media.j3dMaterialsetShininess

Popular methods of Material

  • <init>
  • setLightingEnable
  • setCapability
  • setDiffuseColor
  • getShininess
  • setAmbientColor
  • getAmbientColor
  • getDiffuseColor
  • getEmissiveColor
  • getLightingEnable
  • getSpecularColor
  • setColorTarget
  • getSpecularColor,
  • setColorTarget,
  • setSpecularColor

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now