Is it possible to set how shiny an object is?
cheers,
Stephen
You can try this:
myObject3D.setSpecularLighting(true);
If this doesn't work you may need to apply a material with specular lighting to your 3D model via a modeling program (e.g. 3D Max, blender, etc.). Unfortunately, I don't believe jPCT supports the creation of material objects that can be applied to your object through the code.
Hi
Thanks for the responce. I tried it out and did see a difference.
Unfortunatly it is not quite what I am after. I am trying to create a wood material and would like to reduce the shinyness so that the object appears more mat. i.e. unpollished wood
Stephen
I got what I was after by moving the light further away and lightening its color.
cheers!
You can also turn lighting off and use textures instead.
I guess that if you see your objects too shinny (nothing real) if for a shinny ambient light, try reducing it and using some lights to get the correct effect of ilumination and shinnyness.
Can you post a pic of the actual render and a render of what are you expecting.
Hi
In the mean time I've got more or less what I was after, by lowering the light and rasing the ambient light.
Have a look at: http://www.fluidforms.at/shop/catalog/product_info-products_id-77.html (http://www.fluidforms.at/shop/catalog/product_info-products_id-77.html)
I would like to add this to the projects page if you don't mind!?
I don't mind at all, quite the opposite :-)