Page 1 of 1

Exporting .OBJ to Unity 3D v5 / Importing Requires a Special Tool?

Posted: 02 Nov 2016, 17:01
by F3RULLO14
Hello,

Im trying to export, then import a model created by Cubik Studio to the latest version of Unity 3D (v5). The only problem is the texture doesnt want to import with it.

I did a little digging and apparently I need a special renderer provided by Cubik Studio? http://prntscr.com/d27q02

Andrew

Re: Exporting .OBJ to Unity 3D v5 / Importing Requires a Special Tool?

Posted: 02 Nov 2016, 17:17
by F3RULLO14
I also noticed, when messing around with some of the Export settings, none of them seem to load anywhere. Example: I set the OBJ export setting to the middle one (Export mess with texture) and then Blender or Unity wouldnt even load a texture or the model.

Re: Exporting .OBJ to Unity 3D v5 / Importing Requires a Special Tool?

Posted: 02 Nov 2016, 18:52
by Sphax
F3RULLO14 wrote:
02 Nov 2016, 17:01
I did a little digging and apparently I need a special renderer provided by Cubik Studio? http://prntscr.com/d27q02
Not a "renderer" but a shader. This shader is useful to render color of voxels without using a texture. It's not ready and can't be downloaded yet however.

In the meantime:
  1. Use "Griddy mesh + texture" or "Optimized mesh + texture"
  2. In Unity, move the OBJ file + texture(s) in a folder in your "Assets"
  3. Then move the model in your scene and you should be able to see it (but maybe without texture)
  4. If model is white (no texture): click on your model in "Project" window, in its hierarchy select all children and then in "Inspector" open material and drag&drop the texture in "Albedo" slot
  5. If your texture is blurry: in "Project" window, select your texture and in "Inspector" set "Filter mode" to "Point (no filter)"
Done :3d:

Re: Exporting .OBJ to Unity 3D v5 / Importing Requires a Special Tool?

Posted: 02 Nov 2016, 19:32
by F3RULLO14
Hello,

Thank you for the reply and information. Its helping a lot but I have a new problem.

When I export the model(Which is just a voxel based model) with the 'Griddy Mesh + texture' It exports a MTL File and OBJ but the OBJ is empty and there is no texture.

The Model: http://prntscr.com/d29z4a
Settings for OBJ: http://prntscr.com/d29yvi
The Export: http://prntscr.com/d29zbx

Thank you, Andrew

Re: Exporting .OBJ to Unity 3D v5 / Importing Requires a Special Tool?

Posted: 02 Nov 2016, 23:29
by Sphax
I did several new tests with released version and voxel model and I get obj+mtl+png with the settings you used.

Can you send me the .cubik file?