Exporting texture w/ OBJ for Unity  [Solved]

Get help and support for using Cubik Studio.
Post Reply

Exporting texture w/ OBJ for Unity

Post by FruitShaped » 11 Dec 2016, 17:08

So I made a cool slime model with paint on it of multiple shades of blue using the paint tool :paint: . 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
x
:element: -- :element:
¯\_(ツ)_/¯

Got elements?
User avatar
FruitShaped
Early Adopter
Posts: 17
Joined: 06 Nov 2016, 21:54

Re: Exporting texture w/ OBJ for Unity  [Solved]

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

Re: Exporting texture w/ OBJ for Unity

Post by FruitShaped » 11 Dec 2016, 18:52

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!
x
:element: -- :element:
¯\_(ツ)_/¯

Got elements?
User avatar
FruitShaped
Early Adopter
Posts: 17
Joined: 06 Nov 2016, 21:54

Re: Exporting texture w/ OBJ for Unity

Post by FruitShaped » 11 Dec 2016, 19:03

But how do I edit the pivot point (the point of origin of the model) In cubik? http://prnt.sc/di5tfz
x
:element: -- :element:
¯\_(ツ)_/¯

Got elements?
User avatar
FruitShaped
Early Adopter
Posts: 17
Joined: 06 Nov 2016, 21:54

Re: Exporting texture w/ OBJ for Unity

Post by Sphax » 11 Dec 2016, 21:05

In Cubik Studio you can move the origin by clicking on "Origin" button below model properties
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Exporting texture w/ OBJ for Unity

Post by FruitShaped » 11 Dec 2016, 21:54

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...
x
:element: -- :element:
¯\_(ツ)_/¯

Got elements?
User avatar
FruitShaped
Early Adopter
Posts: 17
Joined: 06 Nov 2016, 21:54

Re: Exporting texture w/ OBJ for Unity

Post by Sphax » 11 Dec 2016, 22:43

Yep, I see that origin do not work in OBJ exporter. Should be fixed in next update. ;)
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Exporting texture w/ OBJ for Unity

Post by Sphax » 12 Dec 2016, 00:20

Fixed in 2.5
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Exporting texture w/ OBJ for Unity

Post by FruitShaped » 12 Dec 2016, 00:30

Sphax wrote: 12 Dec 2016, 00:20Fixed in 2.5
Thank you!
x
:element: -- :element:
¯\_(ツ)_/¯

Got elements?
User avatar
FruitShaped
Early Adopter
Posts: 17
Joined: 06 Nov 2016, 21:54

Post Reply

Return to “Help Centre”