/
stud_22-365
/
GLXEngine
Обзор
Документация
Войти
/
stud_22-365
/
GLXEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/Demos/rendering/phong/PhongC.cpp
29 строк
924 B
GLScene
Removed to Examples folder
27 дек 2022, 21:41
27 дек 2022, 21:41
9ec27fa
Код
Авторство
О чём код?
/*: Per-Pixel phong shading demo. The TGLPhongShader implements phong shading through the use of an ARB vertex and fragment program. So far only the material and light properties are supported, some form of texture support will be added in future updates. */ //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop USEFORM("fPhongC.cpp", Form1); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->CreateForm(__classid(TForm1), &Form1); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //---------------------------------------------------------------------------