Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a very simple scenario: given are bare 3d points and I need to connect all these points and draw a surface. And for this case I need a very basic and really pure Java library without any dependencies.
Do you know such a library?
Do you know (or test) Java 3D API ?
Useful link : Java 3D API or Java net link
There is also another library : jmathplot (to draw diagram or others) --> it's easier than java 3d API.
It's two diferent philosophy. With the first you have to "draw point by point", with the second (jmathplot) you can use predefined elements and mathematical functions.
I think Java Surface Plot might be what you're looking for.
http://javasurfaceplot.sourceforge.net/
In order to communicate with the hardware just about any Java 3d library is going to have some dependencies.
You might try this:
http://www.mediafire.com/download/8ui3uwduw17bnx9/OpenGL.rar
There is a video tutorial set available for it. Just drawing a surface shouldn't be a problem.
http://www.youtube.com/watch?v=V1EvbHFtjCE
If you really want to get into Java 3D I would just search around for as much info on the various competing libraries and pick one for what you want to do with it.
edit:
The surface library fron other answer looks promising. I also found https://jogamp.org/jogl/www/ the JOGL or The Java API for OpenGL.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am currently trying to learn about lighting with GLSL using LWJGL, more specifically I would like to learn how to create different kinds of lights for both per vertex and per pixel. However the closest I have got in finding a tutorial with everything I want to know has been here. The only problem is that it doesn't really specify how I would be able implement this properly. I wondered if anyone else knew of any tutorials specific to LWJGL which would have things such as directional lights, point lights etc.
Finding an OpenGL tutorial for LWJGL specifically is almost impossible. At least I haven't found one yet. However, since LWJGL is almost a direct port of all the OpenGL methods anyways, most OpenGL tutorials will do. You just have to be able to convert the C OpenGL code to Java LWJGL code. It becomes trivial after a while.
And on that note, I've found this OpenGL tutorial really helpful. It has a lot of sample code too.
http://www.opengl-tutorial.org/
It also has a section on basic lighting similar to the tutorial you linked. This tutorial has a bunch of sample GLSL code though that you can hack around with.
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-8-basic-shading/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for something rather specific here. It'd be great if it already exists, if not I don't mind piecing together what's needed.
Essentially: I want to show a 3D human body model on the screen, and in code, be able to manipulate joints to create custom animations; nothing too facny though. Just something along the lines of leftElbowJoint.rotate(57) would be perfect.
Any recommended code and/or starting points?
If you want to use 3D objects in your Application or Wallpapers. Take a look at RajaWali Library which is based on OpenGL ES 2.0/3.0. Download the library and Demo App where he use good 3D Animations on Blender objects. Like Crawling , Hand moving. One of his Animation Example is here.
I'm not sure how advanced your programming experience is. But here are a couple of options how you could achieve this:
1) Start from scratch. Have a look at the OpenGL ES library for Android. You would code the basis of your application.
2) Have a look at a 3d library build on top of OpenGL ES, that will should reduce the amount of coding need. You would be getting the basis for your application.
3) Have a look at unity. Animating 3d objects can be done with ease.
The 3d object human you could either make yourself with an app like Blender or download from a website like.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
There are loads of great word and tag clouds available, the most prominent being wordle.net. But I am looking to display something akin to what some folks did for a twitter replay of the 2010 world cup, just not using flash. I'm not too familiar with R, but it seems to be the best tool for generating some statistical decay of font size over time. Is there a Java API (or combination of APIs) that might make this capability easier from the start?
I'm not aware of a good R package for that. There are some functions, like cloud in the snippets package, and maybe other functions, but nothing compared to http://wordle.net, http://tagcrowd.com/, or Many Eyes. Drew Conway has done some nice stuff with tm + ggplot2; I also played with it a while ago, but this was more of to play with 3D tag cloud (with rgl) than wordle.
In Python or Processing, there are some ongoing projects detailed on this related question. To my knowledge, Tagxedo looks great but it has no API and it relies on Silverlight.
Pierre Lindenbaum also has some Java code, see his blog post Playing with the Wordle algorithm: a tag cloud of Mesh Terms.
It's not great, but there is an open-source project (alas, in PHP) that does word clouds over time. The example uses presidential speeches.
http://chir.ag/projects/preztags/
Here is one that I created in Java as part of a larger project for deriving information from unstructured data : https://github.com/regunathb/Sift. The "tagcloud" project has all the required classes for generating a tag cloud and writing it to multiple putput image formats.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Recently I've been getting into Minecraft, which is a 3D game made in Java. I've made a few 2D java games, without any external libraries or IDE's or anything.
What I'm looking for, is just some libraries. Not anything with a GUI, just libraries. Rendering *.obj files would be nice, antialiasing not a requirement.
JMonkeyEngine is the best Java 3D engine I know of.
Have you looked at the Lightweight Java Game Library yet? It sounds like what you're looking for.
If you just want a thin library abstracting the low level aspects, maybe have a look at LibGDX.
If you want an high level API or a real scenegraph, rather look at JogAmp's Ardor3D Continuation, JMonkeyEngine, 3DzzD, Xith3D, Java3D, ...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a good charting library for Java. It can be open source or not and I need it to work in a stand alone client application rather than web-based.
We do have some dynamic charts however which scroll across the screen as data are provided that were done in MS chart and will need to be redone so not sure if JChart will accomplish this in an acceptable manner.
Are there any java charting libraries right in the J2SE API? I've also run across Oracle Chart Builder, but can't seem to find any information on it other than this link: http://download.oracle.com/docs/html/A96127_01/jcb_intro.htm Has anyone ever heard of it before?
JFreeChart is an excellent open source charting library for java.
The samples demo (Java Web Start version or in the distribution) contains a section under Miscellaneous called Dynamic Charts (in addition to lots of others). The source code for the demos is available via the official documentation (the purchase of which supports the project).
http://www.jfree.org/jfreechart/ - I used it for small project. Rendering dynamic data was quite complex but possible.
It's open source but you probably will have to pay for doc if you would like to do something serious.