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

Get help and support for using Cubik Studio.
Post Reply

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

Post by F3RULLO14 » 02 Nov 2016, 17:01

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
x
User avatar
F3RULLO14
Early Adopter
Posts: 5
Joined: 01 Nov 2016, 20:08

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

Post by F3RULLO14 » 02 Nov 2016, 17:17

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.
x
User avatar
F3RULLO14
Early Adopter
Posts: 5
Joined: 01 Nov 2016, 20:08

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

Post by Sphax » 02 Nov 2016, 18:52

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:
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

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

Post by F3RULLO14 » 02 Nov 2016, 19:32

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
x
User avatar
F3RULLO14
Early Adopter
Posts: 5
Joined: 01 Nov 2016, 20:08

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

Post by Sphax » 02 Nov 2016, 23:29

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?
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Post Reply

Return to “Help Centre”