You can now use Appearance attributes to control the fineness of the subdivision of the spheres rendered. For example to obtain medium quality spheres use:
Code: Select all
SceneGraphComponent sgc = ...;
sgc.getAppearance().setAttributes(CommonAttributes.LEVEL_OF_DETAIL, 0.5);
Note that the attribute is not prefixed with CommonAttributes.POINT_SHADER -- it's considered a global parameter, and can be accessed through the RenderingHintsShader inspector of the Navigator panel.
CommonAttributes.LEVEL_OF_DETAIL has been around for a while in the jReality source but until now hasn't been used in the jReality core. In the unlikely case you have been using this attribute in your code, be advised that it now has the effect described above in the jReality core.
I've checked these changes into the jReality SVN repository.