This site is no longer active and is available for archival purposes only. Registration and login is disabled.

loading 3ds files


loading 3ds files

Postby coolkc » Jun 12, 2007 @ 1:58pm

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
coolkc
pm Member
 
Posts: 25
Joined: Jun 5, 2007 @ 4:59pm


Postby edge » Jun 13, 2007 @ 3:53pm

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?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby coolkc » Jun 14, 2007 @ 8:28am

coolkc
pm Member
 
Posts: 25
Joined: Jun 5, 2007 @ 4:59pm


Postby edge » Jun 14, 2007 @ 3:42pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby coolkc » Jun 15, 2007 @ 1:35pm

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
coolkc
pm Member
 
Posts: 25
Joined: Jun 5, 2007 @ 4:59pm


Postby vince_mad » Jun 15, 2007 @ 2:23pm

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.
User avatar
vince_mad
pm Member
 
Posts: 136
Joined: Mar 30, 2004 @ 7:40pm
Location: Paris, France


Postby edge » Jun 25, 2007 @ 1:25pm

Hi Coolkc,

Were you able to solve your problem?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby coolkc » Jun 26, 2007 @ 9:01am

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
coolkc
pm Member
 
Posts: 25
Joined: Jun 5, 2007 @ 4:59pm


Postby edge » Jun 26, 2007 @ 1:07pm

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,
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby coolkc » Jun 27, 2007 @ 9:14am

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
coolkc
pm Member
 
Posts: 25
Joined: Jun 5, 2007 @ 4:59pm


Postby edge » Jun 27, 2007 @ 11:02am

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,
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron