Page 1 of 1

loading 3ds files

PostPosted: Jun 12, 2007 @ 1:58pm
by coolkc
Hi,
I am working on Nokia N93 for loading 3ds files using Edgelib. I have a doubt. When I install the sis file in the device it works well. But what I wanted to know is that I want to build the sis file without putting the .3ds file and the textures. After that i want to load the 3ds file from the file system of the device itself instead of loading the files everytime. Is it possible to do such a thing? If so, can you please tell me about it and how to test it using Edgelib before we test it for the device? I am using the Edge IDE builder.

Hoping for a reply.

Thank you
coolkc

PostPosted: Jun 13, 2007 @ 3:53pm
by edge
Hi Coolkc,

I'm not sure what you exactly mean. Can you further eloberate on what you're trying to accomplish?

Do you want to create a sis file that only installs the resource files once, so you only have to update the app/exe file during development?

PostPosted: Jun 14, 2007 @ 8:28am
by coolkc

PostPosted: Jun 14, 2007 @ 3:42pm
by edge

PostPosted: Jun 15, 2007 @ 1:35pm
by coolkc
Hi,
You got the question correctly. Yeah but the space files must be placed somewhere in the filesystem of the device N93. So I have no idea how to load the 3ds files into the sis file when they are anywhere in the device. For elaboration i mean like the m3g application in Java can track the files in the device and load them into the sis files this is also similar.

No I havent tried the Edgelib packer(.epk) tool?? Can it serve my purpose???

Thank you,
coolkc

PostPosted: Jun 15, 2007 @ 2:23pm
by vince_mad
Hi coolkc,
Are you trying to create an exe not containing the 3d files?
a .sis is an installation file, a bit like a .cab on windows platforms.
So what you can do is create your exe without any 3d files as resources.
Then in your sis installation file you can include both your exe and your 3d files.

Am I understanding correctly?

Regards.
Vincent.

PostPosted: Jun 25, 2007 @ 1:25pm
by edge
Hi Coolkc,

Were you able to solve your problem?

PostPosted: Jun 26, 2007 @ 9:01am
by coolkc
Hi,
Sorry I was out of station for a while.
I am sorry but I did not understand exactly. Can you let me know the solution more elaborately if possible with some example.

Thank you

coolkc

PostPosted: Jun 26, 2007 @ 1:07pm
by edge
Hi Coolkc,

We recommend using the EDGELIB packages (.epk files) to create platform independent resource package files.

Use the EDGELIB Packer tool to add resources (like your 3ds files) to the package file. The EDGELIB Packer Tool is included in the EDGELIB SDK.

See the File Tutorial for more information: http://www.edgelib.com/index.php?node=135

Regards,

PostPosted: Jun 27, 2007 @ 9:14am
by coolkc
Hi,

Thank you for the reply.
I want to ask a direct question. Is it possible to create an application using Edge IDE that can load the 3ds models by downloading from a server and then loading it?
By using the package tool also we need to include the 3ds models along with the exe files but what I want is that the application should run even if we download the models from a different server. Then the model could be always different in each case.
Can you help me with this?

Thank you
coolkc

PostPosted: Jun 27, 2007 @ 11:02am
by edge
Hi Coolkc,

Sure you can do this. You could fetch your 3ds model from a webserver using EDGELIB's event-driven network class. Use EHTTPRequest to download any file you like. Process the data once it has arrived.

Find more information on using HTTP requests in the Networking tutorial: http://www.edgelib.com/index.php?node=554

Regards,