Sorry, maybe this is off-topic, but I thought you might be able to help me.
We have a Java3D application that renders results from scientific simulations (there are boxes / tetrahedrons, and sometimes hundreds of spheres).
Java3D has problems when we want to render high-res images for printing posters and the like (5000px and more).
I thought there might be some code to export a Java3D scene into a file the we can import in AOI or PovRay - but Google did not reveal a lot. Does anyone know such a project?
Do you think it is realistic that we can add such an export feature to our Java3D code, or is the scene structure very different?
Has anyone experience with such a project?
Thank you very much!
There are a couple different ways to approach this.
First off, scene graphs in general do have many similarities, and Java3d does have a documented API, which should help.
I've run across refernces to a java3d to .obj exporter, but have not actually looked at or used it.
Does your application already save the java3d scene containing your results, such as through the com.sun.j3d.utils.scenegraph.io API? If so, it should be fairly simple to build an importer for a java application such as AOI as long as you stick with the built in java3d geometry types. Some details might be helpful:
If you want to use a non-java app, such as povray, you will need to implement an exporter for your scenegraph. This could be a bigger project, depending on the complexity of the target format. In such a case, you will probably want to find the community based around the target format for detailed help...
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.