Thanks again for the fast answer
Now, I wrote this:
new DeSerializer().serialize(Loader.load3DS("C:/file.3ds", 1), new FileOutputStream("C:/file.ser"), true);
but it gives this error:
"The method serialize(Object3D, OutputStream, boolean) in the type DeSerializer is not applicable for the arguments (Object3D[], FileOutputStream, boolean)"
How can I fix it?
P.S.:
I imported these packages:
import java.io.FileOutputStream;
import java.io.OutputStream;
import com.threed.jpct.DeSerializer;
import com.threed.jpct.Loader;
import com.threed.jpct.Object3D;