LWJGL
May 20, 2013, 20:41:20 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Dont understand the Time Tutorial  (Read 1270 times)
Yarin1312
Newbie
*
Posts: 8


« on: July 12, 2012, 10:57:43 »

I'm really dont understand the time tutorial in the wiki, so i have a few question:
1.in this sentence:
The Sys.getTime() method is LWJGL's high resolution timer and will return time in 'ticks'
what they mean in tick?- they mean cycle, can you please explain about it a little bit?
2. there is another source to learn LWJGL except wiki? thank you very much Smiley
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #1 on: July 12, 2012, 14:39:42 »

'Ticks' can be in any format (nanoseconds, microsecond, milliseconds, etc) whichever is deemed to be best on the platform. The Sys.getTimerResolution() method will return the number of 'ticks' in a second. This value can then be used for timing.
Logged
Yarin1312
Newbie
*
Posts: 8


« Reply #2 on: July 13, 2012, 00:25:45 »

Ohh okay i understand now thanks Smiley
and what about the second question? about another sources?? Cheesy
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #3 on: July 13, 2012, 06:12:42 »

The LWJGL specific API is only a handful of classes and methods, for stuff like creating a Display window, Keyboard, Mouse and Controllers, the basic tutorials on the wiki pretty much cover those. As for the rest, do keep in mind that LWJGL is just a simple binding to the OpenGL, OpenAL and OpenCL libraries and you will have to learn how to use those libraries to create anything. The Learning LWJGL wiki page has a bunch of external sources you can use.
Logged
Yarin1312
Newbie
*
Posts: 8


« Reply #4 on: July 13, 2012, 06:55:44 »

So what you're saying it that i have to learn from the wiki its the basics, helper Liberies and Applets and after i learn those i have to learn opengl, open al and opencl and to combine them in my code? its matter if i learn it from this wiki or another source i just have to import the appropriate version of opengl for example?
Logged
Yarin1312
Newbie
*
Posts: 8


« Reply #5 on: July 13, 2012, 10:20:50 »

some one can answer my question?
Logged
moci
Newbie
*
Posts: 27



WWW
« Reply #6 on: July 13, 2012, 11:05:48 »

Yes, you'll have to learn the supported API's from other sources. You can usually convert from the original documentation (usually C/C++) to LWJGL fairly easy because the LWJGL bindings for the most part have the same function calls and attribute names as the original API.
Logged
Yarin1312
Newbie
*
Posts: 8


« Reply #7 on: July 13, 2012, 12:10:46 »

I'm actually now only java and a little bit asm, and i think that it wont help me, about the other sources, i saw the sources in Learinning LWJGL and most of them are not talking about LWJGL they talk about JAVA and develop games, and the sources thet talk about LWJGL its the same like in wiki, you have a spacific sources that you learn from them and you can give me them or give me an advise about learnning LWJGL in the best way? Cheesy
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!