схема
Add(MainForm,15261923,175,406)
{
Width=939
Height=500
Ctl3D=0
WinStyle=3
WindowsState=2
MouseCapture=0
Position=1
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
Point(onMouseWheel)
link(onCreate,16299401:doEvent1,[])
link(onMouseWheel,11527075:doCalc,[(214,440)(214,244)])
}
Add(GL_Main,12986311,357,420)
{
Color=12639424
TwoSide=0
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[])
link(Handle,7623905:Handle,[(363,411)(370,411)])
}
Add(Timer,9506849,266,469)
{
Interval=10
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,357,469)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,308,469)
{
OutCount=6
link(onEvent1,771925:doClear,[])
link(onEvent2,771925:doPushMatrix,[])
link(onEvent3,8079493:doRotate,[(333,489)(333,314)])
link(onEvent4,771925:doPopMatrix,[(349,496)(349,489)])
link(onEvent5,12986311:doFlip,[(340,503)(340,440)])
}
Add(Hub,16299401,231,420)
{
OutCount=5
link(onEvent1,12986311:doInit,[])
link(onEvent2,12986311:doViewPort,[])
link(onEvent3,9506849:doTimer,[(256,440)(256,475)])
}
Add(GL_Perspective,3410847,406,427)
{
Aspect=2
Fovy=30
}
Add(GL_Point3D,7772462,623,371)
{
Y=1
Z=1
}
Add(GL_Options,15876912,532,420)
{
link(onEvent,13370757:doEnabled,[])
}
Add(GL_Rotate,8079493,392,308)
{
Angle=30
Y=200
link(onRotate,858408:doTranslate,[])
link(Angle,3048951:Position,[])
}
Add(GL_Point3D,10506615,882,378)
{
link(X,7416995:Part1,[(888,355)(895,355)])
link(Y,7416995:Part2,[(895,362)(902,362)])
link(Z,7416995:Part3,[(902,369)(909,369)])
}
Add(GL_Point3D,5206949,917,378)
{
link(X,7416995:Part4,[(923,369)(916,369)])
link(Y,7416995:Part5,[(930,362)(923,362)])
link(Z,7416995:Part6,[(937,355)(930,355)])
}
Add(Gl_Translate,858408,483,308)
{
X=-3
Y=-1.2
link(onTranslate,5852894:doDraw,[])
}
Add(Gl_Scale,683218,581,308)
{
X=1
Y=1
Z=1
link(onScale,9392691:doColor,[])
link(X,15114739:Var1,[(587,299)])
link(Y,15114739:Var2,[])
link(Z,15114739:Var3,[(601,299)])
}
Add(StrList,2315546,819,259)
{
Strings=#19:0/60/580/2000/0/580|18:0/76/600/2000/60/0|22:0/2400/600/2000/2384/0|18:0/2384/600/16/76/0|23:1984/2384/600/2000/76/0|
}
Add(ArrayEnum,12642073,833,315)
{
link(onItem,7416995:doSplit,[])
link(Array,2315546:Array,[])
}
Add(GL_GluTools,12198675,448,420)
{
Texture=0
link(onInit,5809249:doEnabled,[])
}
Add(GL_Options,5809249,490,420)
{
Flag=2
link(onEvent,15876912:doEnabled,[])
}
Add(GL_Cube2,15959241,896,427)
{
link(Point1,10506615:Point3D,[(902,422)(888,422)])
link(Point2,5206949:Point3D,[(909,422)(923,422)])
}
Add(MultiStrPart,7416995,889,315)
{
Char="/"
Count=6
link(onSplit,15959241:doDraw,[(942,321)(942,307)(872,307)(872,433)])
}
Add(GL_Color,9392691,644,308)
{
Color=12632256
link(onColor,15952797:doEvent,[])
}
Add(GL_Light,14665421,623,420)
{
Ambient=8421504
Diffuse=12632256
Specular=8388608
link(onEnabled,14665421:doMove,[(662,426)(662,440)(613,440)(613,433)])
link(Point,7772462:Point3D,[])
}
Add(GL_Options,13370757,574,420)
{
Flag=1
link(onEvent,14665421:doEnabled,[])
}
Add(Gl_Axis,5852894,532,308)
{
link(onDraw,683218:doScale,[])
}
Add(Math,11205482,588,245)
{
OpType=3
Op2=10000
Default=0.0001
}
Add(GetDataEx,15114739,588,294)
{
link(Data,11205482:Result,[])
}
Add(GL_PolygonMode,2724116,756,315)
{
Side=2
Mode=1
link(onPolygonMode,2128545:doWork2,[])
}
Add(GL_PolygonMode,6287378,756,273)
{
Side=2
Mode=2
link(onPolygonMode,2128545:doWork1,[(809,279)])
}
Add(Counter,2411833,707,245)
{
Max=1
}
Add(IndexToChanel,15952797,707,308)
{
Point(Index)
link(onEvent1,6287378:doPolygonMode,[(750,314)(750,279)])
link(onEvent2,2724116:doPolygonMode,[])
link(Index,2411833:Count,[])
}
Add(HubEx,2128545,805,315)
{
link(onEvent,12642073:doEnum,[])
}
Add(Button,5764460,658,245)
{
Left=15
Top=100
Width=80
Height=40
link(onClick,2411833:doNext,[])
}
Add(Image,7623905,357,371)
{
Left=110
Width=805
Height=460
Layout="horiz1"
WidthScale=100
Point(Handle)
Point(onMouseWheel)
}
Add(ScrollBar,14431264,539,245)
{
Left=75
Top=170
Width=15
Height=165
Max=100
Min=1
Position=1
Kind=1
link(onPosition,3171973:doWork2,[])
}
Add(MathParse,11527075,462,238)
{
DataCount=1
MathStr="%0 + %1/120"
Default=1
link(onResult,9849935:doEvent1,[])
}
Add(Hub,9849935,511,238)
{
link(onEvent1,3171973:doWork1,[(578,244)])
link(onEvent2,14431264:doPosition,[])
}
Add(HubEx,3171973,574,245)
{
link(onEvent,11205482:doOperation,[])
}
Add(ScrollBar,3048951,392,259)
{
Left=5
Top=170
Width=15
Height=165
Max=180
Min=-180
Position=30
Kind=1
}
Add(HBoxLayout,2717337,245,63)
{
Name="horiz1"
Space=3
Padding=3
Layout=""
}
Add(LayoutSpacer,3693919,182,63)
{
Top=25
Width=110
Layout="horiz1"
}