------------ Дoбавленo:
Add(MainForm,15261923,126,217)
{
Left=20
Top=105
Width=440
Height=421
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
link(onCreate,16299401:doEvent1,[(170,237)(170,293)])
link(onResize,16131419:doWork1,[(242,244)])
}
Add(GL_Main,12986311,266,287)
{
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[(306,300)(306,335)])
link(Handle,15261923:Handle,[(272,268)(146,268)])
}
Add(Timer,9506849,147,364)
{
Interval=33
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,266,350)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,196,364)
{
OutCount=7
link(onEvent1,771925:doClear,[(233,370)(233,356)])
link(onEvent2,771925:doPushMatrix,[(239,377)(239,363)])
link(onEvent3,13925991:doRotate,[(272,384)(272,412)])
link(onEvent4,771925:doPopMatrix,[(250,391)(250,370)])
link(onEvent5,16597153:doWork,[(247,398)(247,468)])
link(onEvent6,12986311:doFlip,[(243,405)(243,307)])
}
Add(Hub,16299401,182,287)
{
OutCount=3
link(onEvent1,12986311:doInit,[])
link(onEvent2,16131419:doWork2,[])
link(onEvent3,9506849:doTimer,[(224,307)(224,345)(133,345)(133,370)])
}
Add(GL_GluTools,12198675,329,287)
{
link(onInit,1101264:doEnabled,[])
}
Add(GL_Options,1101264,371,287)
{
link(onEvent,5851269:doEnabled,[])
}
Add(GL_Options,5851269,420,287)
{
Flag=1
link(onEvent,5809249:doEnabled,[])
}
Add(GL_Options,5809249,462,287)
{
Flag=2
link(onEvent,15567448:doEnabled,[])
}
Add(GL_Perspective,3410847,329,329)
{
Fovy=20
}
Add(HubEx,16131419,238,287)
{
link(onEvent,12986311:doViewPort,[])
}
Add(GL_Options,15567448,504,287)
{
Flag=8
link(onEvent,15390040:doEvent1,[])
}
Add(GL_Sphere,14716319,448,406)
{
Radius=0.7
Slices=9
Stacks=2
}
Add(GL_Color,13761942,406,406)
{
Color=12632256
Alpha=1000
link(onColor,14716319:doDraw,[])
}
Add(GL_Rotate,13925991,315,406)
{
Angle=90
Y=1
link(onRotate,4670547:doSet,[])
}
Add(GL_Rotate,10687484,315,462)
{
Angle=5
X=1
Y=1
Z=1
}
Add(GL_Light,7378905,770,406)
{
Index=1
Diffuse=16711935
Specular=0
link(onEnabled,7378905:doMove,[(813,412)(813,454)(758,454)(758,419)])
link(Point,10956286:Point3D,[])
}
Add(GL_Point3D,10956286,770,358)
{
X=2
Y=2
Z=2
}
Add(GL_Light,16410882,770,287)
{
Diffuse=16776960
Specular=0
link(onEnabled,16410882:doMove,[(814,293)(814,330)(758,330)(758,300)])
link(Point,15813314:Point3D,[])
}
Add(GL_Point3D,15813314,770,240)
{
X=-2
Y=2
Z=2
}
Add(Hub,15390040,609,287)
{
OutCount=4
link(onEvent1,5787898:doWork,[])
link(onEvent2,5598378:doWork,[(687,300)(687,412)])
link(onEvent3,7846784:doWork,[(674,307)(674,538)])
link(onEvent4,1772052:doWork,[(661,314)(661,650)])
}
Add(Check,5787898,714,287)
{
Caption="1"
link(onEvent,16410882:doEnabled,[])
}
Add(Check,5598378,707,406)
{
Caption="2"
link(onEvent,7378905:doEnabled,[])
}
Add(GL_Light,3112618,770,532)
{
Index=2
Diffuse=8454143
Specular=0
link(onEnabled,3112618:doMove,[(813,538)(813,580)(758,580)(758,545)])
link(Point,8703632:Point3D,[])
}
Add(GL_Point3D,8703632,770,484)
{
X=-2
Y=-2
Z=2
}
Add(Check,7846784,707,532)
{
Caption="3"
link(onEvent,3112618:doEnabled,[])
}
Add(GL_Light,7339896,770,644)
{
Index=3
Diffuse=65280
Specular=0
link(onEnabled,7339896:doMove,[(813,650)(813,692)(758,692)(758,657)])
link(Point,12096417:Point3D,[])
}
Add(GL_Point3D,12096417,770,594)
{
X=2
Y=-2
Z=2
}
Add(Check,1772052,707,644)
{
Caption="4"
link(onEvent,7339896:doEnabled,[])
}
Add(Check,16597153,266,462)
{
Caption="R"
link(onEvent,10687484:doRotate,[])
}
Add(GL_Material,4670547,364,406)
{
Diffuse=0
Specular=12632256
Shininess=100
link(onSet,13761942:doColor,[])
}