This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions
  • 7,916,821 Comments

Discussions

How to Save the geometry created by java3d

843799
843799 Member Posts: 49,999
edited Aug 22, 2001 9:41PM in Java 3D
Question No 1.

I would like to create a geometry like cube or plane
and then save it as a obj format or wire format.
And then this file can be opened by autocad or
alias|wave front.

Is it possible to save it like this way. if possible how?

Question No. 2
I try with the sample program cube to compile which is coming with java3d. i have add the package j3dcore.jar
in source path

if i say
import javax.media.j3d.Shape3d

also giving compile error that
neither class nor source specified

is any one can help to me.

Krishnan



Comments

  • 843799
    843799 Member Posts: 49,999
    In order to save geometry created using Java3d, you need to learn how to read/write files, and also understand obj file format.
    There is no ready made class that i know of that will create obj files or any other type of files from a scene graph.
This discussion has been closed.