Dilma писал(а):
ну вообщето в схеме нет настроек источника светаSniper36, (GL_Material) во что имел ввиду Dilma.
Add(MainForm,15261923,-122,7)
{
Left=20
Top=105
Width=440
Height=421
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
link(onCreate,16299401:doEvent1,[(-78,27)(-78,55)])
link(onResize,16131419:doWork1,[(-6,34)])
}
Add(GL_Main,12986311,18,49)
{
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[(58,62)(58,97)])
link(Handle,15261923:Handle,[(24,44)(-102,44)])
}
Add(Timer,9506849,-94,133)
{
Interval=33
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,25,119)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,-45,133)
{
OutCount=5
link(onEvent1,771925:doClear,[(6,139)(6,125)])
link(onEvent2,771925:doPushMatrix,[(6,146)(6,132)])
link(onEvent3,10714674:doWork1,[(37,153)(37,181)])
link(onEvent4,771925:doPopMatrix,[(6,160)(6,139)])
link(onEvent5,12986311:doFlip,[(2,167)(2,69)])
}
Add(Hub,16299401,-66,49)
{
OutCount=3
link(onEvent1,12986311:doInit,[])
link(onEvent2,16131419:doWork2,[])
link(onEvent3,9506849:doTimer,[(-24,69)(-24,107)(-104,107)(-104,139)])
}
Add(GL_GluTools,12198675,88,49)
{
link(onInit,1101264:doEnabled,[])
}
Add(GL_Light,14989894,305,49)
{
}
Add(GL_Options,1101264,130,49)
{
link(onEvent,5851269:doEnabled,[])
}
Add(GL_Options,5851269,179,49)
{
Flag=1
link(onEvent,5809249:doEnabled,[])
}
Add(GL_Options,5809249,221,49)
{
Flag=2
link(onEvent,15567448:doEnabled,[])
}
Add(GL_Perspective,3410847,88,91)
{
Fovy=20
}
Add(HubEx,16131419,-10,49)
{
link(onEvent,12986311:doViewPort,[])
}
Add(GL_Options,15567448,263,49)
{
Flag=8
link(onEvent,14989894:doEnabled,[])
}
Add(GL_Sphere,14716319,214,175)
{
Radius=0.6
Slices=60
Stacks=60
link(onDraw,3710676:doColor,[])
}
Add(GL_Color,13761942,172,175)
{
Color=255
link(onColor,14716319:doDraw,[])
}
Add(GL_Cylinder,6839709,305,175)
{
Slices=60
Stacks=60
}
Add(GL_Color,3710676,263,175)
{
Color=32768
Alpha=0.6
link(onColor,6839709:doDraw,[])
}
Add(MultiElement,10714674,87,175)
{
link(onEvent1,4670547:doSet,[])
link(Data1,7437463:Value,[(93,170)(80,170)])
link(Data2,11582071:Value,[(100,167)(122,167)])
}
BEGIN_SDK
Add(EditMulti,4359962,10,10)
{
EventCount=1
WorkCount=1
DataCount=2
Width=223
Height=109
link(doWork1,3276760:doRotate,[(19,9)(19,55)])
}
Add(GL_Rotate,3276760,35,49)
{
Y=1
link(onRotate,8079493:doRotate,[])
link(Angle,4359962:Data1,[(41,29)(16,29)])
}
Add(GL_Rotate,8079493,112,49)
{
X=1
link(onRotate,4359962:onEvent1,[(188,55)(188,16)])
link(Angle,4359962:Data2,[(118,29)(23,29)])
}
END_SDK
Add(GL_Material,4670547,130,175)
{
Diffuse=0
Specular=16777215
Shininess=128
link(onSet,13761942:doColor,[])
}
Add(Memory,7437463,74,126)
{
Default=Integer(270)
}
Add(Memory,11582071,116,126)
{
Default=Integer(90)
}