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

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • 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