x


Is there a way to save a procedurally-generated mesh on the client machine?

I am generating a skinned mesh from a series of text files, some of which are part of my project and some of which the client downloads and which are then saved to the application directory (on the iPhone, to be precise).

I would like to be able to somehow store the complete mesh on the phone to be able to load it more quickly later (in fact, if I could in any way make a prefab on the client and save it that would be ideal). Is there any mechanism for doing something like this that does not require the mesh to be packaged up in an assetbundle before being downloaded?

Thanks!

more ▼

asked Mar 04 '10 at 08:42 AM

Adam Mechtley gravatar image

Adam Mechtley
195 8 9 16

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

you can use http://System.IO to create files and do what you want but you should serialize the mesh class and write it to a file and read it back yourself.

more ▼

answered Mar 04 '10 at 09:31 AM

Ashkan_gc gravatar image

Ashkan_gc
9.1k 33 56 117

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1999
x1358
x1253
x436
x178

asked: Mar 04 '10 at 08:42 AM

Seen: 1827 times

Last Updated: Mar 04 '10 at 09:09 AM