![]() |
|
[share] new pict - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: C & C++ (https://hacker-newbie.org/forum-77.html) +---- Thread: [share] new pict (/thread-18727.html) Pages:
1
2
|
[share] new pict - ZERO ANGEL - 12-17-2013 semoga berguna puat para team HN main(int argc, chare **argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_DEPTH); glutInitWindowPosition(100,100); glutInitWindowSize(800,600); glutCreateWindow("Back to Nature"); initLight(); I_FOG(); EVENT_INIT(); glutDisplayFunc(EVENT_LOOPING); glutReshapeFunc(EVENT_RESHAPE); glutIdleFunc(EVENT_LOOPING); glutKeyboardFunc(EVENT_KEYBOARD); glutSpecialFunc(EVENT_KEYBOARD_DOWN); glutSpecialUpFunc(EVENT_KEYBOARD_UP); //Texture texRumput = raw_texture_load("Textures//rumput.raw",240,240); texKayu01 = raw_texture_load("Textures//kayu1.raw",200,200); texKayu02 = raw_texture_load("Textures//kayu2.raw",240,240); texKayu03 = raw_texture_load("Textures//kayu3.raw",240,240); texBrick = raw_texture_load("Textures//brick.raw",768,512); texCeiling= raw_texture_load("Textures//ceiling.raw",240,240); texFloor = raw_texture_load("Textures//floor.raw",240,240); texWater = raw_texture_load("Textures//water.raw",512,512); texAsphalt = raw_texture_load("Textures//asphalt.raw",480,240); glEnable(GL_DEPTH_TEST); glutMainLoop(); return 1; } jika masih kurang sempurna tolong kritik dan saran nya di bawah..? maklum pemula ![]() ![]()
RE: [share] new pict - umem - 12-17-2013 fungsinya apa ya om?
RE: [share] new pict - ZERO ANGEL - 12-17-2013 (12-17-2013, 01:17 PM)umem Wrote: fungsinya apa ya om? hanya sebuah gambar aja mas iseng aja tadi..heheheheheh ![]() ![]() ![]() ![]()
RE: [share] new pict - Dr.A - 12-17-2013 Itu kode kode nya di apain bro...?? RE: [share] new pict - ZERO ANGEL - 12-17-2013 (12-17-2013, 02:41 PM)Dr.A Wrote: Itu kode kode nya di apain bro...?? seperti kita mainkan element html aja mas..![]() ![]()
RE: [share] new pict - Bung Ali - 12-17-2013 bahasa pemrograman apa itu bro...??? RE: [share] new pict - sohai - 12-17-2013 (12-17-2013, 07:15 PM)ZERO ANGEL Wrote:(12-17-2013, 02:41 PM)Dr.A Wrote: Itu kode kode nya di apain bro...?? ciuss nih html .. klo di liat2 keknya bukan javascript bukan html bukan ... cuma klo terlintas di benak mirip main pada bahasa c RE: [share] new pict - longcat - 12-18-2013 (12-17-2013, 10:23 PM)sohai Wrote:(12-17-2013, 07:15 PM)ZERO ANGEL Wrote:(12-17-2013, 02:41 PM)Dr.A Wrote: Itu kode kode nya di apain bro...?? malahan yang terlintas di benak ane kenapa TS share cuam setengah dan ga ada perincian atau penjelasan contoh di save sebagai apa ,fungsinya untuk apa dll ![]() ![]()
RE: [share] new pict - ZERO ANGEL - 12-18-2013 (12-18-2013, 01:37 AM)longcat Wrote:(12-17-2013, 10:23 PM)sohai Wrote:(12-17-2013, 07:15 PM)ZERO ANGEL Wrote:(12-17-2013, 02:41 PM)Dr.A Wrote: Itu kode kode nya di apain bro...?? ![]() ![]() ![]() ![]() mafff gua hanya buat nya setengah2 maklum pemula mas masih acak2an mainnya c++ nya mas...![]() ![]() ![]() ![]()
RE: [share] new pict - Rukanda - 12-24-2013 C++ ya?? gak ngerti sih tapi kalo boleh tau compiler nya apa? saya mau nyoba.. |