NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi John, > I am using DisplayImplJ3D to display my objects. How do I change the > surface texture of my objects such that they don't reflect the light so much? To do this you will need to write a custom DataRenderer that extends visad.java3d.DefaulatRendererJ3D, and custom ShadowTypes that extend all the ShadowTypes in the visad.java3d package. The ShadowTypes need to override the method: public static Appearance makeAppearance(GraphicsModeControl mode, TransparencyAttributes constant_alpha, ColoringAttributes constant_color, GeometryArray geometry, boolean no_material) from visad.java3d.ShadowTypeJ3D, to change the various attributes of the Java3D Appearance. The extension of DataRenderer needs to override the makeShadow*Type() methods, described in section 1.4 of the DataRenderer tutorial at: http://www.ssec.wisc.edu/~billh/dr_tutorial.html Good luck, Bill
visad
archives: