You may want to get a handle on some of the basics of programming before taking on 3D graphics. I've got a friend who is new to programming started on these tutorials.
No verdict on how good they are yet, but should make a good start. Just bear in mind that 3D graphics is pretty daunting. Don't be discouraged if you don't get the camera pointing the right way on your first try. Yes, and you probably need to setup JOGL in eclipse. If you are just looking to play around and make neat things I suggest looking at JMonkeyEngine. It won't get you as close to the metal as the other libraries but you can jump into making something neat a lot quicker then the raw API's.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Active 4 years, 5 months ago. Viewed 2k times. Improve this question. LiquidFeline LiquidFeline 1, 11 11 silver badges 29 29 bronze badges. You can write a software implementation of OpenGL in Java. You don't need any binaries or GPU. Add a comment. Active Oldest Votes. Improve this answer. Roy T. Liosan Liosan 1, 12 12 silver badges 10 10 bronze badges.
From this you may glean some important things: The graphics hardware is what actually does all the work; all that OpenGL does is provide a means for your program to talk to the hardware. As an interface, it can be read from two sides: 1 how your program sees it, and 2 how the graphics hardware sees it. Because different hardware is different, the "how the graphics hardware sees it" side will be different for different graphics hardware. Because each vendor has different hardware generations, an OpenGL implementation that works for one hardware generation MAY NOT even work for a different hardware generation from the same vendor.
Maximus Minimus Maximus Minimus Very well-put and well explained. He's obviously not asking for Java to provide an OpenGL implementation. It also includes openAL and openCl I think. Discrete Mathematics. Ethical Hacking. Computer Graphics. Software Engineering. Web Technology. Cyber Security. C Programming. Control System. Data Mining. Data Warehouse. You can subscribe to these events by creating a net. You can also subscribe to keyboard, mouse button, and mouse movement events all from java.
Next, you will create a new class called JoglEventListener, which implements all of the methods required for the four set of events to which we've subscribed. You will pass the associated GLCanvas to the constructor of the event listener. There are four events that you listen for when you implement GLEventListener: init , display , reshape , and displayChanged.
That is, when you register for a callback, your callback function will be called by the same thread that the GLUT event processor ran in. You need to make sure that your program handles shared data in a synchronized manner. OpenGL programming and real-time 3D graphics are out of the scope of this article. You should also check out the OpenGL site to gain a better understanding of how it all works.
Peter V.
0コメント