If you specify the type, I'll convert to it, but if I had an option, I would say (in order of preference):
X3D
VRML
STL
W3D
3DS
BTW, with all of the effort that Sun seems to be making into the 3D world these days (Project Looking Glass, Java 3D resurgence, etc.), it might make sense to give JSC a component that could handle 3D images too so I wrote an enhancement request up for one.
Unless you have an all JSC/Sun or open source technology option, I think I'll go with either flash/shockwave, cult3d, or some X3D viewer.
My plan is to select the image (or image set) from a JSC created JSP page, then redirect to a servlet which will load the image (or images) from a databae, and build an HTML page to be redirected to that will house the viewing component.
Again, if you have any other suggestions, I'd really like to hear them! Of course, if we just had a 3D image component like the 2D one...hmmmm.
Well I figured out a way to do it using a Shockwave plugin, but it is a bit of a pain getting the files into a format that the plugin will like.
<b>Hopefully you kind people on the JSC team will come up with a better solution!</b>
Anway, for those interested, my solution involved creating a dcr (Macromedia Director) file and then using a servlet to pass it to the plugin in a similar fashion to the tutorial I wrote up that explains how to send images (see my Spring tutorial on this forum).
The only real difference is that you need to change the content type to application/x-director.
Hope this helps others who may need to do it until we find a better way.
My assumption (and maybe this was a bad assumption) was that you were asking this because you had a way to do it, but I have yet to receive a reply!
My solution, although working, is very cumbersome in that I need to migrate from STL to W3D to DCR to be able to use the Shockwave plugin.
Do you have another option? Just tell me a format that you know can be worked with and I'll get it into that.
My problem with a the DCR is that two steps are needed, and I am not yet certain that it can be done in an automated fashion (without user intervention).
Thanks.
> Hi,
>
> Could you please tell us what is the file type of the
> 3D images you want to insert into the application?
>
> Cheers
> Giri :-)
> Creator Team
Thanks! Although it may come a little late (if it makes the cut at all) for what I need now, I'll probably migrate to it eventually.
In the mean time, I think I might look into doing a little Java3D (have done some of this in the past) using an applet that gets invoked from my JSC app.