File: PositionalLight.scn

package info (click to toggle)
sofa-framework 1.0~beta4-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 88,820 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (18 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Node name="root" dt="0.01" gravity="0 0 -10" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="0" showBoundingTree="0">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse"  response="default" />
	<Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.02" contactDistance="0.02" />
	<Object type="CollisionGroup" />
	<Object type="LightManager" /> 

	<Object type="PositionalLight" name="light1" color="1 0 0" attenuation="0.4" position="0.5 0.7 2"  /> 
	<Object type="PositionalLight" name="light2" color="0 1 0" attenuation="0.4" position="0.5 -0.7 2" />
	<Object type="PositionalLight" name="light3" color="0 0 1" attenuation="0.4" position="-0.8 0 2"   />

	<include href="Objects/SaladBowl.xml"               />	
	<include href="Objects/TorusRigid.xml"            scale="0.05"  rx="30" ry="15" dz="0.5" />
</Node>