Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Scott, > Hello, sorry, I am not a subscriber to this list, but I have a question in > need > of an answer. > I am currently trying to convert a netCDF file to some kind of 3D graphics > file > format(3dstudio, vrml, dxf, etc.) > I was looking at VisAD because it is able to render Java3D(the closest I have > found to being able to write out the geometry) > So, does anyone know of a converter, or how I could use VisAD to convert files > from netCDF into just a Java3D scene? (I can then use j3dtree and convert to a > vrml file) Given your "DisplayImplJ3D display", you can get the root BranchGroup of the "data" side of the scene graph (i.e., under the Locale and does not include the View stuff) by: DisplayRendererJ3D dr (DisplayRendererJ3D) display.getDisplayRenderer(); BranchGroup root = dr.getRoot(); I don't know much about j3dtree but hopefully it can use this "root" BranchGroup. Please let us know how this works out for you: 1. If it doesn't work, we'll add whatever methods you need to the visad.java3d package so you can make it work. 2. Once it does work, this is something a lot of VisAD users will want to do, so we'd like a little tutorial about how you did it. It would be very useful to be able to create VRML files from VisAD visualizations. Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: