Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xyvab

Pages: [1]
1
Support / Re: How can I serialize a mesh?
« on: April 25, 2010, 10:49:11 am »
Thanks a LOT !!
Now it works !!!

2
Support / Re: How can I serialize a mesh?
« on: April 24, 2010, 02:40:08 pm »
Thanks again for the fast answer  ;D
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;

3
Support / Re: How can I serialize a mesh?
« on: April 23, 2010, 11:32:08 pm »
Thanks for the fast answer, man !
Now I have another problem: which code have I to type to work the "serialize" method?
I've looked to the API page on DeSerializer, but I didn't understand a lot ... can you help me?

4
Support / How can I serialize a mesh?
« on: April 23, 2010, 08:34:24 pm »
Hello
I saw that into the res.zip example package there are some files with the ".ser" extension.
How can I create some like them?
Thanks in advance,
Xyvab

_______
I'm not english so I'm sorry for any orthographic error  :-\

Pages: [1]