- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceMaterial.setAmbientColor()
方法的一些代码示例,展示了YoAppearanceMaterial.setAmbientColor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoAppearanceMaterial.setAmbientColor()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.appearance.YoAppearanceMaterial
类名称:YoAppearanceMaterial
方法名:setAmbientColor
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition BlackMetalMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(6.0f);
mat.setAmbientColor(0.16f, 0.18f, 0.2f);
return mat;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition FenceMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.4f, 0.4f, 0.4f);
mat.setDiffuseColor(0.95f, 0.95f, 0.95f);
mat.setShininess(2.0f);
mat.setAmbientColor(0.45f, 0.45f, 0.45f);
return mat;
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition AluminumMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(7.5f);
mat.setAmbientColor(0.17f, 0.5f, 0.7f);
return mat;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition AluminumMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(7.5f);
mat.setAmbientColor(0.17f, 0.5f, 0.7f);
return mat;
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition BlackMetalMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(6.0f);
mat.setAmbientColor(0.16f, 0.18f, 0.2f);
return mat;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition PlaneMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(7.5f);
mat.setAmbientColor(0.17f, 0.5f, 0.7f);
return mat;
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition PlaneMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.5f, 0.5f, 0.5f);
mat.setDiffuseColor(0.2f, 0.4f, 0.5f);
mat.setShininess(7.5f);
mat.setAmbientColor(0.17f, 0.5f, 0.7f);
return mat;
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public static AppearanceDefinition FenceMaterial()
{
YoAppearanceMaterial mat = new YoAppearanceMaterial();
mat.setSpecularColor(0.4f, 0.4f, 0.4f);
mat.setDiffuseColor(0.95f, 0.95f, 0.95f);
mat.setShininess(2.0f);
mat.setAmbientColor(0.45f, 0.45f, 0.45f);
return mat;
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public static void addRock3D(CombinedTerrainObject3D combinedTerrainObject, Vector3D normal, double centroidHeight, double[][] vertices)
{
// AppearanceDefinition rockAppearance = YoAppearance.DarkGray();
YoAppearanceMaterial rockAppearance = new YoAppearanceMaterial();
rockAppearance.setSpecularColor(0.5f, 0.5f, 0.5f);
rockAppearance.setDiffuseColor(0.4f, 0.4f, 0.4f);
// rockAppearance.setDiffuseColor(0.2f, 0.4f, 0.5f);
rockAppearance.setShininess(6.0f);
rockAppearance.setAmbientColor(0.16f, 0.18f, 0.2f);
ArrayList<Point2D> vertexPoints = new ArrayList<Point2D>();
for (double[] point : vertices)
{
Point2D point2d = new Point2D(point);
vertexPoints.add(point2d);
}
ConvexPolygon2D convexPolygon = new ConvexPolygon2D(Vertex2DSupplier.asVertex2DSupplier(vertexPoints));
RotatableConvexPolygonTerrainObject rock = new RotatableConvexPolygonTerrainObject(normal, convexPolygon, centroidHeight, rockAppearance);
combinedTerrainObject.addTerrainObject(rock);
}
代码示例来源:origin: us.ihmc/valkyrie
mat.setAmbientColor(new MutableColor(0.5f,0.5f,0.5f));
mat.setDiffuseColor(new MutableColor(0.5f,0.5f,0.5f));
mat.setSpecularColor(new MutableColor(0.5f,0.5f,0.5f));
mat.setAmbientColor(ModelFileLoaderConversionsHelper.stringToColor(tmpvis.getMaterial().getAmbient()));
mat.setDiffuseColor(ModelFileLoaderConversionsHelper.stringToColor(tmpvis.getMaterial().getDiffuse()));
mat.setSpecularColor(ModelFileLoaderConversionsHelper.stringToColor(tmpvis.getMaterial().getSpecular()));
代码示例来源:origin: us.ihmc/ihmc-model-file-loader
mat.setAmbientColor(ModelFileLoaderConversionsHelper.stringToColor(sdfVisual.getMaterial().getAmbient()));
mat.setDiffuseColor(ModelFileLoaderConversionsHelper.stringToColor(sdfVisual.getMaterial().getDiffuse()));
mat.setSpecularColor(ModelFileLoaderConversionsHelper.stringToColor(sdfVisual.getMaterial().getSpecular()));
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList类的一些代码示例,展示了YoGraphicsList类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition类的一些代码示例,展示了YoGraphicPosition类的具体用
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance类的一些代码示例,展示了YoAppearance类的具体用法。这些代码示例主要
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry类的一些代码示例,展示了YoGraphicsListReg
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicVector类的一些代码示例,展示了YoGraphicVector类的具体用法。这些
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceTexture类的一些代码示例,展示了YoAppearanceTexture类
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPolygon类的一些代码示例,展示了YoGraphicPolygon类的具体用法。
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicReferenceFrame类的一些代码示例,展示了YoGraphicReferen
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor类的一些代码示例,展示了YoAppearanceRGBColo
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCoordinateSystem类的一些代码示例,展示了YoGraphicCoord
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicLineSegment类的一些代码示例,展示了YoGraphicLineSegmen
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic类的一些代码示例,展示了YoGraphic类的具体用法。这些代码示例主要来源于Git
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceMaterial类的一些代码示例,展示了YoAppearanceMateria
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape类的一些代码示例,展示了YoGraphicShape类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicText类的一些代码示例,展示了YoGraphicText类的具体用法。这些代码示例
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCylinder类的一些代码示例,展示了YoGraphicCylinder类的具体用
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicVRML类的一些代码示例,展示了YoGraphicVRML类的具体用法。这些代码示例
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicAbstractShape类的一些代码示例,展示了YoGraphicAbstract
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceTransparent类的一些代码示例,展示了YoAppearanceTran
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactPosition类的一些代码示例,展示了YoArtifactPo
我是一名优秀的程序员,十分优秀!