Add(MainForm,15261923,84,231) { Left=20 Top=105 Width=565 Height=376 Position=1 link(onCreate,16299401:doEvent1,[]) } Add(GL_Main,12986311,287,245) { Color=29041 TwoSide=0 link(onInit,12198675:doInit,[]) link(onViewPort,3410847:doPerspective,[(328,258)(328,293)]) link(Handle,1396084:Handle,[]) } Add(Timer,9506849,168,378) { Interval=33 Enable=1 link(onTimer,1049454:doEvent1,[]) } Add(Hub,1049454,210,378) { link(onEvent1,8091521:doClear,[]) link(onEvent2,9648777:doPopMatrix,[(238,391)(238,265)]) } Add(Hub,16299401,133,245) { OutCount=4 link(onEvent1,12986311:doInit,[]) link(onEvent2,12986311:doViewPort,[]) link(onEvent3,10104455:doData,[(158,265)(158,97)]) link(onEvent4,9506849:doTimer,[(158,272)(158,384)]) } Add(GL_GluTools,12198675,343,245) { Texture=0 link(onInit,5809249:doEnabled,[]) } Add(GL_Light,14989894,525,245) { link(onEnabled,14989894:doMove,[(569,251)(569,286)(515,286)(515,258)]) link(onMove,15598885:doWork2,[]) link(Point,4869358:Point3D,[]) } Add(GL_Options,5809249,385,245) { Flag=2 link(onEvent,5027054:doEnabled,[]) } Add(GL_Perspective,3410847,343,287) { Fovy=30 zFar=60 } Add(GL_Options,13309583,469,245) { link(onEvent,14989894:doEnabled,[]) } Add(GL_Options,5027054,427,245) { Flag=10 link(onEvent,13309583:doEnabled,[]) } Add(GL_Point3D,4869358,525,203) { X=1 Y=2 Z=10 } Add(Bitmap,210468,665,133) { @Hint=#17:Вставить текстуру| AddHint(50,-17,109,13,@Hint) } Add(GL_GenTextures,10031895,707,252) { Index=1 link(Bitmap,5543447:Bitmap,[]) AddHint(-60,66,21,13,Index) } Add(GL_GTools,15217893,287,378) { @Hint=#2:\/| Point(doPushMatrix) link(onEvent,3276760:doRotate,[]) AddHint(0,-29,25,13,@Hint) } Add(GL_GTools,9648777,245,259) { @Hint=#2:/\| Point(doPopMatrix) link(onEvent,12986311:doFlip,[]) AddHint(-6,-24,25,13,@Hint) } Add(GL_GTools,8091521,245,378) { @Hint=#1:X| Point(doClear) link(onEvent,15217893:doPushMatrix,[]) AddHint(0,-29,22,13,@Hint) } Add(GL_Rotate,3276760,329,378) { Y=1 link(onRotate,8079493:doRotate,[]) link(Angle,1396084:MouseX,[(335,210)(300,210)]) } Add(GL_Rotate,8079493,371,378) { X=1 link(onRotate,1147232:doBindTexture,[]) link(Angle,1396084:MouseY,[(377,197)(307,197)]) } Add(Gl_Begin,769225,539,378) { BlockType=9 link(onBegin,819356:doTexCoord,[]) } Add(GL_Vertex3D,531398,707,378) { link(onVertex,2463599:doTexCoord,[]) } Add(Gl_End,9536563,917,378) { link(onEnd,9100822:doBegin,[(964,384)(964,417)(527,417)(527,433)]) } Add(GL_VertexTexture,819356,581,378) { T=1 link(onTexCoord,7340288:doVertex,[]) } Add(GL_Vertex3D,3776179,791,378) { X=1 link(onVertex,8759467:doTexCoord,[]) } Add(GL_VertexTexture,8408123,665,378) { link(onTexCoord,531398:doVertex,[]) } Add(GL_Vertex3D,6386502,875,378) { X=1 Y=1 link(onVertex,9536563:doEnd,[]) } Add(GL_VertexTexture,2463599,749,378) { S=1 link(onTexCoord,3776179:doVertex,[]) } Add(GL_Vertex3D,7340288,623,378) { Y=1 link(onVertex,8408123:doTexCoord,[]) } Add(GL_VertexTexture,8759467,833,378) { S=1 T=1 link(onTexCoord,6386502:doVertex,[]) } Add(Gl_Begin,9100822,539,427) { BlockType=9 link(onBegin,10577136:doTexCoord,[]) } Add(GL_Vertex3D,3256532,707,427) { X=1 link(onVertex,4444493:doTexCoord,[]) } Add(Gl_End,3465373,917,427) { link(onEnd,1516562:doBegin,[(961,433)(961,469)(521,469)(521,482)]) } Add(GL_Vertex3D,7625862,791,427) { X=1 Z=-1 link(onVertex,12630736:doTexCoord,[]) } Add(GL_Vertex3D,11920226,875,427) { X=1 Y=1 Z=-1 link(onVertex,3465373:doEnd,[]) } Add(GL_Vertex3D,8665242,623,427) { X=1 Y=1 link(onVertex,14465543:doTexCoord,[]) } Add(GL_VertexTexture,10577136,581,427) { T=1 link(onTexCoord,8665242:doVertex,[]) } Add(GL_VertexTexture,14465543,665,427) { link(onTexCoord,3256532:doVertex,[]) } Add(GL_VertexTexture,4444493,749,427) { S=1 link(onTexCoord,7625862:doVertex,[]) } Add(GL_VertexTexture,12630736,833,427) { S=1 T=1 link(onTexCoord,11920226:doVertex,[]) } Add(Gl_Begin,1516562,539,476) { BlockType=9 link(onBegin,5924204:doTexCoord,[]) } Add(Gl_End,15089530,917,476) { link(onEnd,14575262:doBegin,[(961,482)(961,514)(527,514)(527,531)]) } Add(GL_Vertex3D,10433982,707,476) { X=1 Z=-1 link(onVertex,8284830:doTexCoord,[]) } Add(GL_Vertex3D,16241939,791,476) { Z=-1 link(onVertex,6761050:doTexCoord,[]) } Add(GL_Vertex3D,6921135,875,476) { Y=1 Z=-1 link(onVertex,15089530:doEnd,[]) } Add(GL_Vertex3D,7708288,623,476) { X=1 Y=1 Z=-1 link(onVertex,734252:doTexCoord,[]) } Add(GL_VertexTexture,5924204,581,476) { T=1 link(onTexCoord,7708288:doVertex,[]) } Add(GL_VertexTexture,734252,665,476) { link(onTexCoord,10433982:doVertex,[]) } Add(GL_VertexTexture,8284830,749,476) { S=1 link(onTexCoord,16241939:doVertex,[]) } Add(GL_VertexTexture,6761050,833,476) { S=1 T=1 link(onTexCoord,6921135:doVertex,[]) } Add(Gl_Begin,14575262,539,525) { BlockType=9 link(onBegin,11469307:doTexCoord,[]) } Add(Gl_End,2906070,917,525) { link(onEnd,13055217:doBegin,[(961,531)(961,566)(520,566)(520,580)]) } Add(GL_Vertex3D,11825502,707,525) { Z=-1 link(onVertex,16219260:doTexCoord,[]) } Add(GL_Vertex3D,5288523,791,525) { link(onVertex,10274698:doTexCoord,[]) } Add(GL_Vertex3D,15191359,875,525) { Y=1 link(onVertex,2906070:doEnd,[]) } Add(GL_Vertex3D,11522987,623,525) { Y=1 Z=-1 link(onVertex,1114253:doTexCoord,[]) } Add(GL_VertexTexture,11469307,581,525) { T=1 link(onTexCoord,11522987:doVertex,[]) } Add(GL_VertexTexture,1114253,665,525) { link(onTexCoord,11825502:doVertex,[]) } Add(GL_VertexTexture,16219260,749,525) { S=1 link(onTexCoord,5288523:doVertex,[]) } Add(GL_VertexTexture,10274698,833,525) { S=1 T=1 link(onTexCoord,15191359:doVertex,[]) } Add(Gl_Begin,13055217,539,574) { BlockType=9 link(onBegin,1730315:doTexCoord,[]) } Add(GL_Vertex3D,12655483,707,574) { Y=1 link(onVertex,3447859:doTexCoord,[]) } Add(Gl_End,16519107,917,574) { link(onEnd,41283:doBegin,[(961,580)(961,613)(518,613)(518,622)]) } Add(GL_VertexTexture,1730315,581,574) { T=1 link(onTexCoord,15465506:doVertex,[]) } Add(GL_Vertex3D,14779627,791,574) { X=1 Y=1 link(onVertex,7942354:doTexCoord,[]) } Add(GL_VertexTexture,11663758,665,574) { link(onTexCoord,12655483:doVertex,[]) } Add(GL_Vertex3D,10726670,875,574) { X=1 Y=1 Z=-1 link(onVertex,16519107:doEnd,[]) } Add(GL_VertexTexture,3447859,749,574) { S=1 link(onTexCoord,14779627:doVertex,[]) } Add(GL_Vertex3D,15465506,623,574) { Y=1 Z=-1 link(onVertex,11663758:doTexCoord,[]) } Add(GL_VertexTexture,7942354,833,574) { S=1 T=1 link(onTexCoord,10726670:doVertex,[]) } Add(Gl_Begin,41283,539,616) { BlockType=9 link(onBegin,8406274:doTexCoord,[]) } Add(GL_Vertex3D,15025123,707,616) { link(onVertex,11818947:doTexCoord,[]) } Add(Gl_End,12271557,917,616) { } Add(GL_VertexTexture,8406274,581,616) { T=1 link(onTexCoord,5597132:doVertex,[]) } Add(GL_Vertex3D,4075608,791,616) { X=1 link(onVertex,15959152:doTexCoord,[]) } Add(GL_VertexTexture,6450873,665,616) { link(onTexCoord,15025123:doVertex,[]) } Add(GL_Vertex3D,5354274,875,616) { X=1 Z=-1 link(onVertex,12271557:doEnd,[]) } Add(GL_VertexTexture,11818947,749,616) { S=1 link(onTexCoord,4075608:doVertex,[]) } Add(GL_Vertex3D,5597132,623,616) { Z=-1 link(onVertex,6450873:doTexCoord,[]) } Add(GL_VertexTexture,15959152,833,616) { S=1 T=1 link(onTexCoord,5354274:doVertex,[]) } Add(GL_BindTexture,1147232,490,378) { Index=1 link(onBindTexture,769225:doBegin,[]) AddHint(83,-64,21,13,Index) } Add(Image,1396084,280,133) { Left=5 Top=15 Width=300 Height=300 Point(Handle) Point(MouseX) Point(MouseY) } Add(Img_Copy,4047974,665,196) { Width=48 Height=48 link(onCopy,5543447:doLoad,[]) link(Source,210468:Bitmap,[]) link(X,1117662:Result,[(678,103)(566,103)]) link(Y,16657761:Result,[(685,187)(566,187)]) } Add(Bitmap,5543447,707,196) { HWidth=48 HHeight=48 } Add(Hub,14402767,623,196) { InCount=2 link(onEvent1,4047974:doCopy,[]) link(onEvent2,15598885:doWork1,[(648,209)]) } Add(HubEx,15598885,644,252) { link(onEvent,10031895:doGenTextures,[]) } Add(ScrollBar,15627192,357,49) { Left=320 Top=15 Width=160 Max=255 Page=1 link(onPosition,4771074:doEvent1,[]) } Add(Math,1117662,560,49) { OpType=2 Op2=48 link(onResult,14402767:doEvent1,[(613,55)(613,202)]) } Add(Math,16657761,560,112) { OpType=2 Op2=48 link(onResult,14402767:doEvent2,[(606,118)(606,209)]) } Add(Label,8043976,441,63) { Left=490 Top=15 Caption="0" } Add(Hub,4771074,413,49) { InCount=2 OutCount=3 link(onEvent1,3344928:doOperation,[]) link(onEvent2,12790440:doOperation,[(494,62)(494,118)]) link(onEvent3,8043976:doText,[]) } Add(DoData,10104455,357,91) { Data=Integer(110) link(onEventData,4771074:doEvent2,[(396,97)(396,62)]) } Add(Math,12790440,504,112) { OpType=10 Op2=4 ResultType=0 link(onResult,16657761:doOperation,[]) } Add(Math,3344928,504,49) { OpType=8 Op2=16 ResultType=0 link(onResult,1117662:doOperation,[]) }