x


runtime model export

Hi,

If I dynamically create scene my 3D scene in unity, (a drag and drop kitchen for example) Is it possible to output that scene, in a 'standard' 3d model format, at runtime for further processing, such as import into a virtual reality system.

thanks Steve

more ▼

asked Feb 16 '10 at 11:48 AM

steanson gravatar image

steanson
12 1 2 2

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

3 answers: sort voted first

Yes, use the ObjExporter script on the wiki.

more ▼

answered Feb 16 '10 at 11:54 AM

Eric5h5 gravatar image

Eric5h5
81.5k 42 133 529

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

I don't think there is a built in function for that, but if you have some experience with 3D-Models and are familiar with some of the "standard" formats you could write an exporter yourself by accessing the data of your meshes and using standard c# file writing. As I said, that is what i THINK. Maybe there's a quicker way to do this, that I just don't know of.

more ▼

answered Feb 16 '10 at 11:57 AM

StephanK gravatar image

StephanK
6k 40 53 93

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

you should get the data from mesh filters yourself and then convert them to the format that you want. i think you can find SDKs that get data from you and convert them to formats like COLLADA or FBX. the formats are not complex. you can do that yourself too.

more ▼

answered Feb 16 '10 at 12:37 PM

Ashkan_gc gravatar image

Ashkan_gc
9.3k 33 56 120

(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:

x584
x385
x357

asked: Feb 16 '10 at 11:48 AM

Seen: 1556 times

Last Updated: Feb 16 '10 at 11:48 AM