Вверх ↑
Ответов: 495
Рейтинг: 163
#1: 2012-04-01 11:40:11 ЛС | профиль | цитата
lazudhic писал(а):
без наворотов



Add(MainForm,15261923,119,154)
{
Width=1026
Height=862
Color=0
Caption="GL"
BorderStyle=0
Point(Handle)
Point(doWidth)
Point(doHeight)
Point(onKeyDown)
link(onCreate,16299401:doEvent1,[])
link(onKeyDown,16509952:doCase,[(169,181)(169,212)(51,212)(51,174)])
}
Add(GL_Main,12986311,238,168)
{
Color=0
TwoSide=0
Point(Fps)
link(onInit,13490926:doInit,[])
link(onViewPort,3410847:doPerspective,[(310,181)(310,223)])
link(Handle,15261923:Handle,[(244,151)(160,151)(160,209)(125,209)])
}
Add(Timer,9506849,175,252)
{
Interval=33
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,294,252)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,224,252)
{
OutCount=5
link(onEvent1,771925:doClear,[])
link(onEvent2,771925:doPushMatrix,[])
link(onEvent3,950714:doTranslate,[(245,272)(245,335)])
link(onEvent4,771925:doPopMatrix,[(258,279)(258,272)])
link(onEvent5,12986311:doFlip,[(250,286)(250,237)(226,237)(226,188)])
}
Add(Hub,16299401,175,168)
{
OutCount=4
link(onEvent1,12986311:doInit,[])
link(onEvent2,12986311:doViewPort,[])
link(onEvent3,9506849:doTimer,[(201,188)(201,223)(163,223)(163,258)])
}
Add(GL_Perspective,3410847,336,217)
{
Aspect=1.3
Fovy=30
}
Add(Case,16509952,63,168)
{
Value=Integer(27)
link(onTrue,15261923:doClose,[])
}
Add(GL_Cube,2897359,322,329)
{
link(onDraw,14299824:doTranslate,[])
}
Add(Gl_Translate,14299824,406,329)
{
X=2
link(onTranslate,13984298:doDraw,[])
}
Add(GL_Sphere,13984298,448,329)
{
}
Add(GL_GluTools,13490926,336,168)
{
Texture=0
}
Add(Gl_Translate,950714,280,329)
{
X=-1
link(onTranslate,2897359:doDraw,[])
}

И посмотрите простые примерчики от MAV
http://forum.hiasm.com/forum.html?q=3&p=91935
карма: 4

0
файлы: 1code_27479.txt [6KB] [502]