Contributor vfxdomain Posted May 11, 2011 Contributor Report Share Posted May 11, 2011 ############################################################################################ # # Description: 3D-Coat AppLink for Unity 3D # # Version: 1.00 b3 # # Author: Ilia Zaslavsky <|> Email: vfxdomain@gmail.com <|> Web: http://flavors.me/vfxdomain # # Credits: Realspaik <|> Email: realspaik@gmail.com (Help with Base AppLink & Normal Maps Fix Scripts), Sven Lennartz (Help with AppLink Shader) # # Last Update: 00:15 11/05/11 # ############################################################################################ Installation: Unzip the archive. Install the AppLink_Vxxx.unitypackage as usual ############################################################################################ Usage (AppLink): In Unity choose the mesh (GameObject with MeshFilter on it) you want to edit in 3D-Coat, then run AppLink UI by choosing 3D-Coat AppLink from the AppLink menu. Select 3D-Coat identifier from the dropdown (PerPixel Painting, MicroVertex Painting, UV Mapping etc.) and hit "Send to 3D-Coat" button. Choose the name and save your .OBJ in prefered location. Start 3D-Coat application (or switch to 3D-Coat if it's started earlier), "import object" dialog will pop up, set your options, hit OK and edit imported mesh to your heart content. When done, hit File -> Open in original app in 3D-Coat main menu. Now switch back to Unity, run AppLink and select "Get from 3D-Coat" button to bring edited mesh with textures created in 3D-Coat back to Unity 3D. You can repeat the whole process as many times as needed. ############################################################################################ Usage (Auto AppLink): Now you can send meshes to Unity straight from 3D-Coat, by using File -> Export to -> Unity Unity will be started if needed and mesh will appear in the scene automatically, but you should choose the root of your Unity project's "Assets" folder as .OBJ save location when doing File -> Export to -> Unity, otherwise it won't work. ############################################################################################ IMPORTANT!!! Befoure using Auto AppLink by using File -> Export to -> Unity, you should run "Normal" AppLink at least once from inside Unity, so it could create needed files for the Auto AppLink functionality. ############################################################################################ IMPORTANT!!! Unity does not supports 16-bit TIF files, so choose 8-bit PNG/TGA/BMP or 32-bit EXR as a displacement format. There is no "standard" displacement mapping feature similar to displacement in 3D packages, AFAIK, so if you're exporting displacement from 3D-Coat i am applying it as a paralax/height map in Unity. ############################################################################################ IMPORTANT!!! Unity has the limit of 65K vertices per single mesh, so don't try to export hi-poly meshes to Unity. Also try to keep 1 UV set per mesh (or 2 UV sets if you're going to do lightmapping), remember that Unity is a Game Engine and not usual 3D package, so Hi-Poly meshes with multiple UV sets and multiple textures per mesh wont work. ############################################################################################ Multiupload link: http://www.multiupload.com/R0OF111B5R Vimeo Video Demo: YouTube Video: ############################################################################################ Unity_AppLink_V1.00_b3.zip Quote Link to comment Share on other sites More sharing options...
Contributor Tinker Posted May 11, 2011 Contributor Report Share Posted May 11, 2011 Texturing for Unity does not work quite as you think. Its all around PSD and adjustments layers. Quote Link to comment Share on other sites More sharing options...
Contributor vfxdomain Posted May 11, 2011 Author Contributor Report Share Posted May 11, 2011 Texturing for Unity does not work quite as you think. Its all around PSD and adjustments layers. Well, it's quite outside of the AppLink's scope, it's a simple tool to allow easier interchange of textured meshes between 3D-Coat and Unity. Also while layered PSD may be very cool for creating textures, Unity is a Game Engine and it needs meshes and textures to me as optimized as possible, so PSD with layers is not an option for the runtime anyways. Quote Link to comment Share on other sites More sharing options...
Contributor Tinker Posted May 11, 2011 Contributor Report Share Posted May 11, 2011 Unity converts it to DXT5 on the fly after import One of the best features of the engine. The basic idea of storing textures in PSD - textures evolve following the change in lighting, lightmap settings, shaders, camera position etc.. And immediately after the import from 3d software textures never look good before fine-tuning. In addition, game objects are usually provided by groups: a several tiles of one wall, or floor. Configure one of them, you want to apply settings to another. This can be done easily by copying part of the tuning layers of one PSD file to another. 1 Quote Link to comment Share on other sites More sharing options...
Contributor Tinker Posted May 12, 2011 Contributor Report Share Posted May 12, 2011 Идеальные 2 способа, как это все могло бы работать: Или: Полная совместимость с фотошопом (чтобы 3дкоат читал и сохранял маски, слои эффектов вроде уровней итд, как на сркриншоте выше) Или: при сохранении текстуры в psd при уже существующем файле, изменять только слои, за которые ответственен 3дкоат. Все остальные слои в псд не трогать (тоесть коат не просто пишет psd, а читает его, разбирается что там принадлежит ему, а что чужое, и сохраняет только свои данные). Quote Link to comment Share on other sites More sharing options...
Member XRA Posted May 16, 2011 Member Report Share Posted May 16, 2011 wow cool stuff, thank you, this will hopefully come in handy since I'm a Unity user that is switching to 3D Coat for my 3d needs Quote Link to comment Share on other sites More sharing options...
Advanced Member Roger_K Posted May 18, 2011 Advanced Member Report Share Posted May 18, 2011 you the same guy from fxphd? Quote Link to comment Share on other sites More sharing options...
Contributor vfxdomain Posted May 22, 2011 Author Contributor Report Share Posted May 22, 2011 you the same guy from fxphd? Yep Quote Link to comment Share on other sites More sharing options...
Member marupura Posted June 5, 2011 Member Report Share Posted June 5, 2011 Thank you for cool stuff I exported to Webplayer. I hope you like it. http://dl.dropbox.com/u/11136743/iron/WebPlayer/WebPlayer.html Quote Link to comment Share on other sites More sharing options...
Member pazduha Posted December 11, 2012 Member Report Share Posted December 11, 2012 I get a unity error when importing to unity: Material doesn't have a color property '_Color'UnityEditor.DockArea:OnGUI()[/CODE]Any ideas what I am doing wrong? Quote Link to comment Share on other sites More sharing options...
Advanced Member Gian-Reto Posted May 2, 2013 Advanced Member Report Share Posted May 2, 2013 hi I recently tested the Applink Shader in Unity 4.1 and got the same error ...Is there a newer version for Unity 4? thanks for the Information Gian-Reto Quote Link to comment Share on other sites More sharing options...
Advanced Member Gian-Reto Posted May 3, 2013 Advanced Member Report Share Posted May 3, 2013 no Edit button.... sorry about the Multipost. Got the shader to work. Just add the following pragma: #pragma target 3.0[/CODE]Seems that Unity else tries to also compile the shader for mobile/flash, which has less registers available (or something, I got that error on import that tells me it needs 10 registers but only 8 are available, with a reference to flash close by)Hope this helps anyoneGian-Reto Quote Link to comment Share on other sites More sharing options...
Taros Posted July 14, 2013 Report Share Posted July 14, 2013 Important infos for AppLink users who have problems: http://3d-coat.com/forum/index.php?showtopic=10198&p=96605 Best wishes Chris Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted July 26, 2017 Advanced Member Report Share Posted July 26, 2017 Are people still using the 3DC applink to Unity? Is this something that's working well for some people? Quote Link to comment Share on other sites More sharing options...
Member vjanomolee Posted February 1, 2019 Member Report Share Posted February 1, 2019 Why has this not been updated? Now that I am abandoning Substance Painter(because of the Adobe acquisition) I need this to work more than ever. Having a live link from creating in 3D coat and rendering in Unity is super important to me. Any ideas on how we can revive this? Quote Link to comment Share on other sites More sharing options...
Carlosan Posted February 1, 2019 Report Share Posted February 1, 2019 For better feedback please contact support@3dcoat.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.