简体   繁体   English

我在哪里可以下载 JOGL?

[英]Where can I download JOGL?

I'm looking to start using Java Open GL, but I can't find it.我正在寻找开始使用 Java Open GL,但我找不到它。

Have you tried JOGL's website ?你试过JOGL的网站吗?

It looks like their most recent release can be found here , or you can grab a nightly build here .看起来他们的最新版本可以在这里找到,或者你可以在这里获取每晚的构建。

To get the latest stable version of the new JOGL 2.0 beta, go to http://jogamp.org/deployment/webstart/ .要获得新的 JOGL 2.0 beta 的最新稳定版本,go 到http://jogamp.org/deployment/webstart/ The nightly builds are at http://jogamp.org/deployment/autobuilds/master/ .夜间构建位于http://jogamp.org/deployment/autobuilds/master/ The most recent auto build (as of this writing) is at http://jogamp.org/deployment/autobuilds/master/jogl-b242-2010-11-28_23-03-07/ .最新的自动构建(截至撰写本文时)位于http://jogamp.org/deployment/autobuilds/master/jogl-b242-2010-11-28_23-03-07/ You can see a description of their versioning at http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases .你可以在http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases看到他们版本的描述。

To get the old JOGL 1.1.1a (the last build before JOGL moved), go to http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/ .要获得旧的 JOGL 1.1.1a(JOGL 移动之前的最后一个版本),go 到http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/

I agree that their website is confusing and hard to find the download link.我同意他们的网站很混乱,很难找到下载链接。

When you go to their website , click "Current release build (JSR-231 1.1.1)" or just scroll to the very bottom of the page and you'll see the files.当您 go 访问他们的网站时,单击“Current release build (JSR-231 1.1.1)”或滚动到页面的最底部,您将看到文件。 Download the corresponding file for whichever system you're using.下载您使用的任何系统的相应文件。

Ok.好的。 This is what I have found so far: Go to the wiki: http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html这是我到目前为止发现的:Go 到维基: http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.ZFC35FDC70D5FC69D2698Z83A28

it indicated that there is a demo directory: http://jogamp.org/deployment/webstart/它表明有一个演示目录: http://jogamp.org/deployment/webstart/

There are a number of JNLP files here.这里有许多 JNLP 文件。 Pick one at random: http://jogamp.org/deployment/webstart/Gears.jnlp随机选择一个: http://jogamp.org/deployment/webstart/Gears.jnlp

Open it in the browser.在浏览器中打开它。 The browser starts up webstart, and webstart installs the 3d extensions and runs the demo.浏览器启动webstart,webstart安装3d扩展并运行demo。 It works, so clearly the libraries are being downloaded - somewhere.它有效,所以很明显正在下载库 - 某处。

Fine.美好的。 Let's try it from the command line: $ curl http://jogamp.org/deployment/webstart/Gears.jnlp > Gears.jnlp $ javaws Gears.jnlp让我们从命令行尝试一下

Also fine.也很好。 Great.伟大的。 The trick now is to work out how to link to those libraries that jws has downloaded.现在的诀窍是弄清楚如何链接到 jws 已经下载的那些库。

Well... as far as I can tell they simply get put in /System/Library/Java/Extensions, and... drat: "Access restriction: The type DirectionalLight is not accessible due to restriction on required library /System/Library/Java/Extensions/j3dcore.jar"嗯...据我所知,他们只是放入 /System/Library/Java/Extensions 中,并且... drat:“访问限制:由于对所需库 /System/Library 的限制,无法访问类型 DirectionalLight /Java/Extensions/j3dcore.jar"

okeydoke, more to figure out yet.好的,还有更多的事情要弄清楚。

Current project home: http://jogamp.org/jogl/www/当前项目主页: http://jogamp.org/jogl/www/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM