Welcome To...!

Century Park Hotel Jakarta

BOOK DIRECT : SAVE MORE AND EASY CANCELLATION!

ENJOY Diskon 15% AND EASY CANCELLATION! Eksclusive Bennefit for book and hotel official website...

AVAILABLE FROM 552,500 IDR

More Info BOOK NOW

About Hotel

Century Park Hotel Jakarta

Century Park Hotel Jakarta was established in 1991 and stands as the top of the line 4 star luxury business hotels in Senayan area Jakarta. This hotel in Senayan is near the Jakarta Convention Center / JCC, consisting of 477 spacious guest rooms and suites which reflect the spacious grandeur of its surroundings, offering a lush green view, wealth of activities and a high level of service. Conveniently located in the center of Jakarta, our hotel in Senayan is the perfect venue for all your occasions. Our banquet and event team will assist you in organizing a memorable experience, whilst our superior culinary team will offer flexibility in creating the perfect menu.

various kinds of information

Various Rooms

Deluxe Room

Executive Room

Premium Room

Junior Suite

Century Suite

Presidential Suite

Untuk info lebih lengkapnya silakan KLIL TOMBOL DIBAWAH

Info lebih lanjut

Special Deals

ENJOY 15% DISCOUNT AND EASY CANCELLATION Exclusive benefit for book on hotel official website Include:

  • 21% Tax and Services
  • Buffet Breakfast for 2 persons
  • Free Wifi internet
  • 20% Discount on Hotel restaurant

AND

WEEKEND STAYCATION: Enjoy fun activities!

Untuk info lebih lengkapnya silakan KLIL TOMBOL DIBAWAH

Info Lebih Lanjut

Hotel Promotions

  1. "Wedding Packages"
    • Most Complete Wedding Packages with Reasonable Prices Start from IDR 78.000.000,- Book your wedding at Century Park Hotel, Senayan – Jakarta...
  1. "Why You Should Book Direct With Us"
    • Do you know the benefits of booking directly to the hotel website? Here are the benefits when you book directly...
  1. "Graduation or Prom Night Package"
    • Celebrate the new phase in life at Century Park Hotel, Senayan – Jakarta and get special rate starts from IDR 300,000 Nett...
Info Lebih Lanjut

Facilities

  1. Swimming Pool
  2. Tennis Court
  3. Nirada
  4. Century Spa
  5. Anjaya Premium Lounge
Info Lebih Lanjut

Meeting

Selasa, 30 Maret 2021

Codingan sederhana Glut membuat kotak dan segitiga dan Polygon KEREN

Codingan sederhana Glut membuat kotak dan segitiga dan Polygon KEREN

Open GL bukan merupakan bahasa pemrograman tetapi merupakan library portable yang dapat digunakan di hampir semua bahasa pemrograman. 

-Langkah pertama adalah menginstall Dev C++  
-Pilih tools - Package manager maka akan muncul jendela package manager lalu pilih package yang ada pada status bar lalu pilih install package, maka akan mucul jendela untuk mencari package cari glut 3.7.6 yang sudah ada pada komputer anda lalu install
- setelah proses installasi dev C++ dan glut selesai pilih file -new -project yang ada pada status bar maka akan muncul jendela new project lalu pilih multimedia dan kemudian pilih opn GL lalu pilih ok
- Agar project dapat dicompile tambahkan :
   lglut32
   lglu32
   lopengl32
   lwinmm
   lgdi32


- caranya pilih project -parameters - tambahkan pada kotak dialog linker.


Pada saat kita akan membuat project baru maka secara otomatis maka akan muncul banyak coding pada layar. Yang perlu anda ganti pada :
"/* opengl animation codes goes here */"


PROGRAM SEGITIGA

#include <windows.h>

#include <GL/gl.h>

#include <GL/glu.h>
#include <GL/glut.h>
#include <math.h>
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
glBegin(GL_TRIANGLES);
glColor3f(1.0, 1.1, 0.1);
glVertex2d(-1, -(1*sqrt(3))/2);
glVertex2d(1, -(1*sqrt(3))/2);
glVertex2d(0, (1*sqrt(3))/2);
glEnd(); glFlush(); /* Single buffered, so needs a flush. */
}

int main(intargc, char **argv)
{
glutInit(&argc, argv);
glutCreateWindow("SEGITIGA");
glutDisplayFunc(display);
glutMainLoop();
return 0;
}

OUTPUT SEGITIGA

segitiga

PENJELASAN PROGRAM :

glBegin(GL_TRIANGLES);

merupakan coding untuk membuat segitiga, jika kita akan membuat garis maka ubah TRIANGLES dengan LINE. Serta ubah skala garis yang diinginkan.

glColor3f(1.0, 1.1, 0.1);
adalah perintah untuk memberi warna apada segitiga

glVertex2d(-1, -(1*sqrt(3))/2);
glVertex2d(1, -(1*sqrt(3))/2);
glVertex2d(0, (1*sqrt(3))/2);
coding di atas digunakan untuk mengatur skala segitiga.

glutCreateWindow("SEGITIGA");
coding di atas adalah perintah untuk membuat window dengan nama SEGITIGA



PROGRAM PERSEGI

#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <math.h>
void display(void)
{
glClearColor (0.0,0.0,0.0,0.0);
glClear (GL_COLOR_BUFFER_BIT);

     glColor3f (1.0, 0.0, 0.0);

glBegin(GL_POLYGON);
glVertex2f(-0.5,-0.5);
glVertex2f(-0.5,0.5);
glVertex2f(0.5,0.5);
glVertex2f(0.5,-0.5);
glEnd ();
glFlush();
}

int main(intargc, char **argv)
{
glutInit(&argc, argv);
glutCreateWindow("PERSEGI");
glutDisplayFunc(display);
glutMainLoop();
return 0;
}




OUTPUT PERSEGI

persegi


PROGRAM GARIS

#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <math.h>
void display(void)
{
glClearColor (0.0f, 0.0f, 0.0f, 0.0f);
glClear (GL_COLOR_BUFFER_BIT);

glPushMatrix ();
glClearColor(1,1,1,0);
glColor3f(1,1,1); //
glBegin(GL_LINES);
glVertex3f(0,0,0.0);
glVertex3f(0.10,10.0,13.13);
glEnd ();
glFlush();
}

int main(intargc, char **argv)
{
glutInit(&argc, argv);
glutCreateWindow("GARIS");
glutDisplayFunc(display);
glutMainLoop();
return 0;
}

OUTPUT GARIS
garis
PENJELASAN PROGRAM :

glBegin(GL_LINES);
merupakan coding untuk membuat garis.

glVertex3f(0,0,0.0);
glVertex3f(0.10,10.0,13.13);
merupakan coding untuk mengatur skala garis.

glClearColor(1,1,1,0);
merupakan perintah untuk memberi warna background dengan format R G B A

glutCreateWindow("GARIS");
digunakan untuk membuat window dengan nama GARIS



PROGRAM POLYGON

#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <math.h>
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
glBegin(GL_POLYGON);
glColor3f(1.1, 0.0, 1.1);
glVertex3f(0.2,0.2,0.0);
glVertex3f(0.6,0.1,0.0);
glVertex3f(0.8,0.3,0.0);
glVertex3f(0.7,0.6,0.0);
glVertex3f(0.4,0.8,0.0);
glEnd(); glFlush(); /* Single buffered, so needs a flush. */
}

int main(intargc, char **argv)
{
glutInit(&argc, argv);
glutCreateWindow("POLIGON");
glutDisplayFunc(display);
glutMainLoop();
return 0;
}


OUTPUT POLYGON

polygon
PENJELASAN PROGRAM :


glBegin(GL_POLYGON);
merupakan coding untuk membuat polygon.

glColor3f(1.1, 0.0, 1.1);
digunakan untuk memberi warna polygon

glVertex3f(0.2,0.2,0.0);
glVertex3f(0.6,0.1,0.0);
glVertex3f(0.8,0.3,0.0);
glVertex3f(0.7,0.6,0.0);
glVertex3f(0.4,0.8,0.0);


merupakan coding untuk mengatur skala polygon

glutCreateWindow("POLIGON");
merupakan coding untuk membuat window dengan nama POLIGON

REFERENSI :

3 advantages of booking at Century Park Hotel

Strategic Location
Many People Who Stay Overnight
Fairly Friendly Price
Cheap enough around central Jakarta
FriendlyFacilitiesAndServices
Comfort is an priority

GALLERY

HOTEL
Century Park Hotel
Break Fast Room
Century Park Hotel
NIRADA
Century Park Hotel
BOOK
Century Park Center

Sosial Media Century Park Hotel

If you want to visit or view social media such as FB, TWITER, and on the official website at Century Park Hotel, you can click the menu below.

Contact

LOCATION

45 minutes to the international airport  |  Close to major office buildings and key business addresses Walking distance to exclusive shopping malls: Plaza Senayan, Senayan City, Ratu Plaza – and fx Sudirman Minutes away from Jakarta Convention Centre, home to national and international exhibition, conference and other events No-smoking policy is applied in all area of the hotel except at the 100 Bar No pet allowed in the hotel premises  |  Parking space is available for hotel guests Please ask concierge for any transport arrangement. Taxi is also available 24 hours

Address:

Jalan Pintu Satu Senayan 10270 Jakarta Indonesia

Phone:

+62 (21)571-2041

Diberdayakan oleh Blogger.

Codingan sederhana Glut membuat kotak dan segitiga dan Polygon KEREN

Open GL bukan merupakan bahasa pemrograman tetapi merupakan library portable yang dapat digunakan di hampir semua bahasa pemrograman.  -Lang...