radiosity attributes

Used for operations concerning the radiosity attributes pertaining to each individual object.


xshade
shape
radiosity_attributes

List of Properties

cast_shadow Whether or not to cast shadows when doing the radiosity calculation
doublesided Whether or not to calculate both sides when doing the radiosity calculation
receiver Whether or not to receive light when doing the radiosity calculation
shooter Whether or not to radiate light when doing the radiosity calculation




Used after getting an object with a method such as xshade.scene().active_shape().

Property Details

cast_shadow

Whether or not to cast shadows when doing the radiosity calculation.

  • Get
  • Set

Type :
  int :

-1Inherit (default)
0No shadows
1Cast shadows

If set to Inherit, the settings of the above part are enabled.

print xshade.scene().active_shape().radiosity_attributes.cast_shadow

doublesided

Whether or not to calculate both sides when doing the radiosity calculation.

  • Get
  • Set

Type :
  int :

-1Inherit (default)
0Do not calculate
1Calculate

If set to Inherit, the settings of the above part are enabled.

print xshade.scene().active_shape().radiosity_attributes.doublesided

receiver

Whether or not to receive light when doing the radiosity calculation.

  • Get
  • Set

Type :
  int :

-1Inherit (default)
0Do not receive light
1Receive light

If set to Inherit, the settings of the above part are enabled.

print xshade.scene().active_shape().radiosity_attributes.receiver

shooter

Whether or not to radiate light when doing the radiosity calculation.

  • Get
  • Set

Type :
  int :

-1Inherit (default)
0Do not radiate light
1Radiate light

If set to Inherit, the settings of the above part are enabled.

print xshade.scene().active_shape().radiosity_attributes.shooter