Wings 3D Development Forum
Export to .obj only x-bytes size and no model - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=9)
+--- Thread: Export to .obj only x-bytes size and no model (/showthread.php?tid=382)



Export to .obj only x-bytes size and no model - xelawebdev - 07-21-2013

Hey everyone, i need your help in someway.
First of all, i'm sitting about 6 Hours on this problem. No google, no other forums/threads was found about this problem before.

I have already made a fountain with some uv mapping, and exported it well for my desired game engine ( unity 3d ) in .obj format. It worked just awesome!

Now i'm working on some main menu elements, where I had to model some brick for a menu ( cause its in 3d )
The exporting of this brick to .obj does not export it actually, it creates the file, but its only 54 bytes in size. Importing it into unity shows up that all the uv's and materials were ignored, no model at all was exported.

I tryed many things, like mess around with exporting options or trying to export with different format, all the same.

Here is the brick itself
https://dl.dropboxusercontent.com/u/4659713/main%20menu.wings
and here is the exported .obj that actually not a model anyways
https://dl.dropboxusercontent.com/u/4659713/main%20menu.obj

I cant get why it is not exporting it right.
Thanks for ANY help!


RE: Export to .obj only x-bytes size and no model - micheus - 07-21-2013

xelawebdev, I notice some strange things in your project:
- the brick object was converted into a mesh light (Area Light);
- the brick material has an image assigned, but the brick was not uv mapped;

What I did:
- selected the brick in Body selection mode [B] and used the option Area Light to Object;
- select each face set of the brick for front, left, right,... and applied the UV map to them (using Orthographic view and unfolding using Camera Projection; then I scaled and rotate the mesh as needed to fit it onto the bitmap;

After that, I used Export to Wavefront and I notice that all file was generated correctly.

Here are the files: Wings3d-Brick.zip

Check what you are doing wrong in order to avoid this kind of headache. Wink


RE: Export to .obj only x-bytes size and no model - xelawebdev - 07-21-2013

LOL! HELL YEAH!
THANKS!
your notice of the mesh light ( area light ) was very helpful!
I accidently clicked in the RMB -> Objekt to Area Light,
doing the same backwards RMB -> Area Light to Objekt, fixed the issue!
Thanks a bunch! ( What a stupid mistake, i knew that there is something wrong due to my fault and it was so obvious ._. )
Have a good day Sir Smile