Main Menu

Shinnyness

Started by dear_stephen, May 23, 2007, 12:36:46 PM

Previous topic - Next topic

dear_stephen

Is it possible to set how shiny an object is?

cheers,
Stephen

Mr.Marbles

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.

dear_stephen

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

dear_stephen

I got what I was after by moving the light further away and lightening its color.

cheers!

Mr.Marbles

You can also turn lighting off and use textures instead.

Melssj5

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.
Nada por ahora

dear_stephen

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

EgonOlsen

I would like to add this to the projects page if you don't mind!?

dear_stephen

I don't mind at all, quite the opposite :-)

EgonOlsen