Author Topic: Shinnyness  (Read 4265 times)

Offline dear_stephen

  • byte
  • *
  • Posts: 32
  • 'day mate
    • View Profile
    • Fluidforms ~ Individual Design
Shinnyness
« on: May 23, 2007, 12:36:46 pm »
Is it possible to set how shiny an object is?

cheers,
Stephen

Offline Mr.Marbles

  • int
  • **
  • Posts: 81
    • View Profile
Re: Shinnyness
« Reply #1 on: May 23, 2007, 03:09:32 pm »
You can try this:
Code: [Select]
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.

Offline dear_stephen

  • byte
  • *
  • Posts: 32
  • 'day mate
    • View Profile
    • Fluidforms ~ Individual Design
Re: Shinnyness
« Reply #2 on: May 23, 2007, 04:52:40 pm »
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

Offline dear_stephen

  • byte
  • *
  • Posts: 32
  • 'day mate
    • View Profile
    • Fluidforms ~ Individual Design
Re: Shinnyness
« Reply #3 on: May 23, 2007, 05:03:45 pm »
I got what I was after by moving the light further away and lightening its color.

cheers!

Offline Mr.Marbles

  • int
  • **
  • Posts: 81
    • View Profile
Re: Shinnyness
« Reply #4 on: May 23, 2007, 05:34:46 pm »
You can also turn lighting off and use textures instead.

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: Shinnyness
« Reply #5 on: May 24, 2007, 04:31:53 am »
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

Offline dear_stephen

  • byte
  • *
  • Posts: 32
  • 'day mate
    • View Profile
    • Fluidforms ~ Individual Design
Re: Shinnyness
« Reply #6 on: June 01, 2007, 06:14:44 pm »
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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Shinnyness
« Reply #7 on: June 01, 2007, 06:45:58 pm »
I would like to add this to the projects page if you don't mind!?

Offline dear_stephen

  • byte
  • *
  • Posts: 32
  • 'day mate
    • View Profile
    • Fluidforms ~ Individual Design
Re: Shinnyness
« Reply #8 on: June 01, 2007, 08:27:14 pm »
I don't mind at all, quite the opposite :-)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Shinnyness
« Reply #9 on: June 01, 2007, 10:48:05 pm »
I don't mind at all, quite the opposite :-)
Added!