er

Berbagai Tutorial dan Info Menarik

Belajar, Berjuang, dan Bertaqwa

Saturday, 13 December 2014

Gambar Kos 3D dengan Opengl



Source Code :

#include <stdlib.h> // standard definitions
#include <math.h> // math definitions
#include <stdio.h> // standard I/O
#include <iostream>

// include files are in a slightly different location for MacOS
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif

..............................
Download source code lengkap Di Sini


Hasil :





Keterangan :
Untuk masalah gambar, gunakan gambar dengan format BMP. Letakkan gambar di folder yang sama dengan letak penyimpanan file codeblock tersebut.

Perhatikan juga hal ini :

Untuk melihat dari berbagai sudut kamar, ganti gluLookAt, berikut script-nya :
gluLookAt(1.0, 0.8,  3.3,    1.0, 0.8,  1.0,    0, 1, 0);

gluLookAt(0.7, 5.2,  1.2,    0.7, 0.0,  1.2,    0, 0, 1);

gluLookAt(0.0, 0.95,  3.0,    1.5, 0.95,  1.0,    0, 1, 0);

gluLookAt(0.0, 0.95,  2.8,    1.0, 0.95,  1.0,    0, 1, 0);

Pilih salah satu saja.
Sekian. 
Regards.

Friday, 5 December 2014

Mantan Kepala Dinas Pariwisata Kabupaten Tegal Ditahan


Menurut Kepala Kejaksaan Negeri Slawi , Hj, Unaisi Hetty Nining,SH,MH mengatakan, mantan kepala Dinas Pariwisata dan kebudayaan Kabupaten Tegal, Dra. Indah Winarni ditahan dan dititipkan di Lapas kota Tegal. Sebelumnya, tersangka sudah menjalani serangkian pemeriksaan sehingga berkas tersangka dinyatakan P 21. “ Penahanan dilakukan setelah Satreskrim Polres Tegal melimpahkan berkas hasil penyidikan kasus dugaan korupsi proyek Road Race Cacaban yang sudah dinyatakan lengkap (P21). Tersangka dalam kapasitasnya sebagai pengguna anggaran,”
Baca Selengkapnya

Lumix Camera

Lumix Camera: Panasonic Lumix DMC-GF6. Comes with a 180-degree-tiltable LCD and enables unlimited artistic expression with a variety of creative filters, with new feature new self shot, perfect camera for you who like selfie. The Lumix DMC-GF6 compact mirror less digital camera delivers amazing image.



Find this cool stuff here: http://zocko.it/LHDh1

Coolpix S3500 Camera

Coolpix S3500 Camera: Nikon Coolpix S3500 Camera in orange.



Find this cool stuff here: http://zocko.it/LHDiF

Transparent Baby G Watch

Transparent Baby G Watch: Baby G BG 6900 7BDR by CASIO. Tough digital watches built Shock Proof, semi-transparent resin case and band with modern marine styles and it also stylish and cute, water resistant 200 m, EL backlight with afterglow.



Find this cool stuff here: http://zocko.it/LHDhq

Playstation 4 White

Playstation 4 White: Sony Ps 4 White 500gb. The PS4 is ready to rock your gaming world, immortalize your most epic moments and share at the press of a button, share it to witch, UStream, Facebook and Twitter. Are you ready for the new gaming experience ?



Find this cool stuff here: http://zocko.it/LHDfn