Page 1 of 1
Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 17:08
by FruitShaped
So I made a cool slime model with paint on it of multiple shades of blue using the paint tool

. I want to export this obj and the shades of blue as a png file. When I try to do this thru the settings, I get a png with a t, p, and pink square. Please help!
http://prntscr.com/di46o5
Re: Exporting texture w/ OBJ for Unity [Solved]
Posted: 11 Dec 2016, 18:25
by Sphax
T and P are the default textures in Elements Material.
They are included in the OBJ texture if you convert voxels to elements before export (not recommended, except if you know exactly what you are doing).
They are also included in the OBJ texture if you added a texture and then deleted T and P. In this last case it's a known bug which will be fixed in an upcoming version.
If you do a voxel model and want to export it to Unity, I recommend you to keep your model in voxels form. Then in Model properties, OBJ tab, select "Griddy mesh" or "Optimized mesh".
I also wrote a little guide to export for Unity which could be useful to help you:
viewtopic.php?f=4&t=297
Re: Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 18:52
by FruitShaped
Sphax wrote: 11 Dec 2016, 18:25
T and P are the default textures in Elements Material.
They are included in the OBJ texture if you convert voxels to elements before export (not recommended, except if you know exactly what you are doing).
They are also included in the OBJ texture if you added a texture and then deleted T and P. In this last case it's a known bug which will be fixed in an upcoming version.
If you do a voxel model and want to export it to Unity, I recommend you to keep your model in voxels form. Then in Model properties, OBJ tab, select "Griddy mesh" or "Optimized mesh".
I also wrote a little guide to export for Unity which could be useful to help you:
viewtopic.php?f=4&t=297
Thanks a ton! this helped alot!
Re: Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 19:03
by FruitShaped
But how do I edit the pivot point (the point of origin of the model) In cubik?
http://prnt.sc/di5tfz
Re: Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 21:05
by Sphax
In Cubik Studio you can move the origin by clicking on "Origin" button below model properties
Re: Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 21:54
by FruitShaped
Sphax wrote: 11 Dec 2016, 21:05
In Cubik Studio you can move the origin by clicking on "Origin" button below model properties
Thank you!
Edit: It wont work tho!
Another Edit: Nvm i had to manuallty center it in unity.
Anotherer edit: I still want the origin thingy to work in cubik. The unity way dosent work very well...
Re: Exporting texture w/ OBJ for Unity
Posted: 11 Dec 2016, 22:43
by Sphax
Yep, I see that origin do not work in OBJ exporter. Should be fixed in next update.

Re: Exporting texture w/ OBJ for Unity
Posted: 12 Dec 2016, 00:20
by Sphax
Fixed in 2.5
Re: Exporting texture w/ OBJ for Unity
Posted: 12 Dec 2016, 00:30
by FruitShaped
Sphax wrote: 12 Dec 2016, 00:20Fixed in 2.5
Thank you!