I recently got some tasks from lecturer to create some shapes in 2 Dimension form using OpenGL. I was wondering why must OpenGL. Why not using Blender or 3Ds Max. That software has already prepare so many tools for making object weather in 2D or 3D object. So, i decided to ask her , she said that “if you use OpenGl, you won’t know , how 3D software work”. So, i take conclusion, that my lecturer want us to know how to create an object from math calculation into an object. That is something complicated. More over, if we must make the object move (animation).
By searching some articles on Internet, i finally decided to use my favorite programming language “java“. That’s something awesome. I have to create each items by code per code. Okay, if you’d like to use NetBeans IDE, you must download the plugin JOGL (Java Bindings for Open GL) here. After that, just install it into your NetBeans IDE.
- Start NetBeans IDE
- Tool –> Plugins –>go to tab Downloaded –> add Plugins…
- Search and block all files *.nbm JOGL after you extract it from *.zip –> Ok
- Create a New Project –> File -> new Project. You will find some new projects form (JOGL Application default, Panel and Canvas).
- You will see the tree of program like this
- Just Compile and Run The program
- Congratulations, you have already to create a new 2D Object Using java in NetBeans
for the next post, i’d like to show you how to create various type of 2D form. Bye
Some days ago, we propose a proposal for LKTM (Lomba Karya Tulis Ilmiah). In this proposal, we actually don’t consider what will we present inside it. But, before that. i made an research about “Augmented Reality” . This is actually new discovery. Augmented Reality recently developed in Japan by some experts. Suddenly, in my head there was an idea to write it in my proposal. I was still wondering, if i just write down something like that, i would not be a winner, i have to make something new. I remember when i was a kid. i used to watch “wayang” in my village. But now, it doesn’t appear any more. then, i try to combine both of them “wayang” and “Augmented Reality” and write down into my proposal.
Alhamdulillah, give thanks to Allah. 2 days after, i got message and call from the committee that my proposal was accepted. Then in campus i consult to my lecture. I found the weakness of my proposal and the strength of it. So, i decided to repair it later in my presentation.
The next day, i did presentation. I was in 5th queue. Finally, in when my time after presentation, i show little bit of my prototype. Alhamdulillah again, the jugde interested in my topic. Then they gave me so much question about that. Fortunately i could answer all of them.
At 3 o’clock am. i was annouced as the winner. I got a cup, some money and absolutely, satisfaction of Intelligence.Once again , Alhamdulillah. give thanks to Allah.
I was really so surprised when comitee of Beswan Djarum 2011 called me . They told me that i was accepted to join the 2nd test. I was wondering , how do i get there ? . I actually didn’t have enough money to get there. I finally decide to borrow my friend . Fortunately, there is somebody lend me some. With happy face, i prepare for everything. Until saturday , i came to “gedung wanita” in kalibokor surabaya. That was long journey, cause i didn’t know the way how to get there. But, alhamdulillah i came on time . And, i get so much experiences over there.
3 days After the 2nd test, i got call again from comitee. They said that i could join again for the final test. I came again with more confidence even though my motor cycle must be broken because hard road in “Suramadu Bridge”. Inside my deepest heart said “I have to win this one, I am different and I am The Best One (Beswan)”. In the last test (interview), i show them all my best performance. I hope i’ll get chance to be one of them. Amien…