coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

Finish Class Reference

This object holds information about how the object reflects or refracts the eye-beam. More...

#include <Texture.h>

Inheritance diagram for Finish

Inheritance graph
[legend]
Collaboration diagram for Finish:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PROPERTY_AMBIENT = 0x0100, PROPERTY_DIFFUSE = 0x0101, PROPERTY_SPECULAR = 0x0102, PROPERTY_SPECULAR_SIZE = 0x0103,
  PROPERTY_REFLECTION = 0x0104, PROPERTY_REFRACTION = 0x0105, PROPERTY_METALLIC = 0x0106, PROPERTY_IOR = 0x0107
}

Public Methods

 DECLARE_CLASS (Finish,Object)
 Finish ()
virtual void setProperty (int nProperty,const Variant &vValue)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual Color getColor (const Vector3 &point)

Public Attributes

double ambient
double diffuse
double specular
double specular_size
double metallic
double reflection
double refraction
double ior

Detailed Description

This object holds information about how the object reflects or refracts the eye-beam.

No special calculations are made here. The shading is done in the World object.

See also:
Pigment , Texture , World


The documentation for this class was generated from the following file:
  • Texture.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: