Вверх ↑
Ответов: 8930
Рейтинг: 823
#1: 2017-01-09 13:13:05 ЛС | профиль | цитата
buchkov, да всё работает
схема


Add(MainForm,15261923,98,252)
{
Width=939
Height=500
Ctl3D=0
WinStyle=3
MouseCapture=0
Position=1
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
Point(onMouseWheel)
link(onCreate,16299401:doEvent1,[])
link(onMouseWheel,11527075:doCalc,[(137,286)(137,90)])
}
Add(GL_Main,12986311,280,266)
{
Color=12639424
TwoSide=0
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[])
link(Handle,7623905:Handle,[(286,257)(293,257)])
}
Add(Timer,9506849,189,315)
{
Interval=10
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,280,315)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,231,315)
{
OutCount=6
link(onEvent1,771925:doClear,[])
link(onEvent2,771925:doPushMatrix,[])
link(onEvent3,8079493:doRotate,[(256,335)(256,160)])
link(onEvent4,771925:doPopMatrix,[(272,342)(272,335)])
link(onEvent5,12986311:doFlip,[(263,349)(263,286)])
}
Add(Hub,16299401,154,266)
{
OutCount=5
link(onEvent1,12986311:doInit,[])
link(onEvent2,12986311:doViewPort,[])
link(onEvent3,9506849:doTimer,[(179,286)(179,321)])
}
Add(GL_Perspective,3410847,329,273)
{
Aspect=2
Fovy=30
}
Add(GL_Point3D,7772462,546,217)
{
Y=1
Z=1
}
Add(GL_Options,15876912,455,266)
{
link(onEvent,13370757:doEnabled,[])
}
Add(GL_Rotate,8079493,315,154)
{
Angle=30
Y=200
link(onRotate,858408:doTranslate,[])
link(Angle,3048951:Position,[])
}
Add(GL_Point3D,10506615,805,224)
{
link(X,7416995:Part1,[(811,201)(818,201)])
link(Y,7416995:Part2,[(818,208)(825,208)])
link(Z,7416995:Part3,[(825,215)(832,215)])
}
Add(GL_Point3D,5206949,840,224)
{
link(X,7416995:Part4,[(846,215)(839,215)])
link(Y,7416995:Part5,[(853,208)(846,208)])
link(Z,7416995:Part6,[(860,201)(853,201)])
}
Add(Gl_Translate,858408,406,154)
{
X=-3
Y=-1.2
link(onTranslate,5852894:doDraw,[])
}
Add(Gl_Scale,683218,504,154)
{
X=1
Y=1
Z=1
link(onScale,9392691:doColor,[])
link(X,15114739:Var1,[(510,145)])
link(Y,15114739:Var2,[])
link(Z,15114739:Var3,[(524,145)])
}
Add(StrList,2315546,742,105)
{
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,756,161)
{
link(onItem,7416995:doSplit,[])
link(Array,2315546:Array,[])
}
Add(GL_GluTools,12198675,371,266)
{
Texture=0
link(onInit,5809249:doEnabled,[])
}
Add(GL_Options,5809249,413,266)
{
Flag=2
link(onEvent,15876912:doEnabled,[])
}
Add(GL_Cube2,15959241,819,273)
{
link(Point1,10506615:Point3D,[(825,268)(811,268)])
link(Point2,5206949:Point3D,[(832,268)(846,268)])
}
Add(MultiStrPart,7416995,812,161)
{
Char="/"
Count=6
link(onSplit,15959241:doDraw,[(865,167)(865,153)(795,153)(795,279)])
}
Add(GL_Color,9392691,567,154)
{
Color=12632256
link(onColor,15952797:doEvent,[])
}
Add(GL_Light,14665421,546,266)
{
Ambient=8421504
Diffuse=12632256
Specular=8388608
link(onEnabled,14665421:doMove,[(585,272)(585,286)(536,286)(536,279)])
link(Point,7772462:Point3D,[])
}
Add(GL_Options,13370757,497,266)
{
Flag=1
link(onEvent,14665421:doEnabled,[])
}
Add(Gl_Axis,5852894,455,154)
{
link(onDraw,683218:doScale,[])
}
Add(Math,11205482,511,91)
{
OpType=3
Op2=10000
Default=0.0001
}
Add(GetDataEx,15114739,511,140)
{
link(Data,11205482:Result,[])
}
Add(GL_PolygonMode,2724116,679,161)
{
Side=2
Mode=1
link(onPolygonMode,2128545:doWork2,[])
}
Add(GL_PolygonMode,6287378,679,119)
{
Side=2
Mode=2
link(onPolygonMode,2128545:doWork1,[(732,125)])
}
Add(Counter,2411833,630,91)
{
Max=1
}
Add(IndexToChanel,15952797,630,154)
{
Point(Index)
link(onEvent1,6287378:doPolygonMode,[(673,160)(673,125)])
link(onEvent2,2724116:doPolygonMode,[])
link(Index,2411833:Count,[])
}
Add(HubEx,2128545,728,161)
{
link(onEvent,12642073:doEnum,[])
}
Add(Button,5764460,581,91)
{
Left=15
Top=100
Width=80
Height=40
link(onClick,2411833:doNext,[])
}
Add(Image,7623905,280,217)
{
Left=110
Width=805
Height=460
Point(Handle)
Point(onMouseWheel)
}
Add(ScrollBar,14431264,462,91)
{
Left=75
Top=170
Width=15
Height=165
Max=100
Min=1
Position=1
Kind=1
link(onPosition,3171973:doWork2,[])
}
Add(MathParse,11527075,385,84)
{
DataCount=1
MathStr="%0 + %1/120"
Default=1
link(onResult,9849935:doEvent1,[])
}
Add(Hub,9849935,434,84)
{
link(onEvent1,3171973:doWork1,[(501,90)])
link(onEvent2,14431264:doPosition,[])
}
Add(HubEx,3171973,497,91)
{
link(onEvent,11205482:doOperation,[])
}
Add(ScrollBar,3048951,315,105)
{
Left=5
Top=170
Width=15
Height=165
Max=180
Min=-180
Position=30
Kind=1
}

карма: 19

0