Jump to content
3DCoat Forums

3DS Max Applink - Complete Rewrite


PolyHertz
 Share

Recommended Posts

Sounds like an issue with 3D-Coat itself instead of the applink. Which version of 3D-Coat are you using so I can test it?

 

Edit: Just tried it with the latest version (4.5.37) and it imported without any issues. Hmmm...

Edited by PolyHertz
Link to comment
Share on other sites

  • Member

I thought I had the most current version. When I use check for updates in 3DC it says I'm current. Ok, I'll see if i can find a newer version. 

 

Edit: Are you suggesting I grab the Beta because 4.5.19 is the latest version I see on the main site for downloading?

Edited by RobH2
Link to comment
Share on other sites

  • Member

I grabbed the latest Beta and still no go. I checked 'AppLink_3DC_settings.ini' and the switches I'm setting are being written to it. I examined the .mcr and my paths are correct so that everything should be able to be found. 

 

The only odd thing I'm finding is that when I select the 'Temp' path it's doing this:

 

Say I want the Temp path to be d:\Exchange. The .obj gets written to the root of d: and is named "Exchangeinput.obj". If I add another folder to d:\Exchange and make it d"\Exchange\Exchange, the .obj is written to d:\Exchange\Exchangeinput.obj. It skips the second folder in the path. 

Link to comment
Share on other sites

  • Member

I can confirm that did in fact fix the Temporary File path issue. 

 

The Applink still won't function properly for me. I did completely uninstall 3DC, clean the registry and reboot. I reinstalled the latest Beta 4.5.37 and it still fails to open the 'Import' dialog. I just get the normal splash screen with the 12 options. 

 

If I'm the only user experiencing this you can stop diagnosing with me. I can live without the link. But, if you want to continue to analyze it, I'm happy to keep working with you. I enjoy figuring these things out. I'm not a programmer but know my way around the OS.

Link to comment
Share on other sites

Lets try this (confirm that the Temp directory is being properly read in general by 3D-Coat);

 

1. First, confirm that 'File > Export To > 3DS Max 201X' is there. If it is, that means 3D-Coat is seeing the run.txt file and thus the directory is being properly read.

2. Now delete all copies of run.txt in every 3D-Coat exchange directory. restart 3D-Coat and make sure the Export To option is missing. If it is, good, else, it means its reading from somewhere else...

3. Create a single text file in the 'Exhange > 3DS Max' directory you're trying to use, and rename it to run.txt . Run 3D-Coat, and if the Export To feature is back we can safely say that directory is being read by 3D-Coat.

 

If all that pans out, then one of these two things being the culprit would be my guess:

-Windows permissions issues. Windows10 is blocking 3D-Coat from reading the file automatically and thus it's ignoring it.

-Max 2017 is writing the OBJ in a way which the 3DC autoloader doesn't like (you're the first person to use it with Max 2017 afaik).

Link to comment
Share on other sites

  • Member

FYI, I guess i updated my signature too much. I have Max 2017 but never use Max for production for about 4-months after release as none of my plugins will have updates for a few months. So, I'm having this failure in Max 2016. 

 

I do not have 'File>Export>3DS Max 201X'. So, it's not seeing ANY 'run.txt' anywhere, right? So I guess I need to figure out where 3DC is looking for it and place it there. That would be the first thing to fix and then we can look at permissions, etc. 

Link to comment
Share on other sites

  • Member

No, this 2nd script still just returns the drive letter.    

While I'm diagnosing I did run the second script. I only get the drive also. Mine happens to be E:\ as well. 

Link to comment
Share on other sites

  • Member

Hello, I am  having trouble setting up the Creating custom material presets: part of the instructions. Do i create the .jpg in the slate material editor or the compact material editor? Do i use a standard material? If the material is made in the slate material editor and use a standard material where do i connect the rough.jpg , metalness.jpg , emissive.jpg , ao.jpg?  Can i use .png instead of .jpg? Any help would be greatly appreciated. Thanks for your time.

Using 3ds Max 2016 , 3d Coat 4.5.19(CUDA)(GL64), 3ds Max Applink v1.7.mzp

 

lmnop2345@gmail.com

Hi, what you are asking is basic 3ds Max functionality questions and isn't s specific to the Applink plugin except for the saving of the materials as a .mat.

 

You can find all kinds of great info about wiring and building materials in Slate and Compact in the Max 'Help' file and in 100's of tutorial on the web. You can connect the maps to the material in either Slate or Compact. It's done a little differently but winds up in the same place.

 

In Compact you "point to" maps and in Slate you "wire" maps. Finally, per the 3DC 'readme.txt' you can use whatever format you want, just make sure that they are all the same and they can be blank, meaning, just create solid black (or any color) map and name it, "color.jpg" or "opacity.jpg" etc. Connect the dummy maps to the material and save it per the instructions. 

Link to comment
Share on other sites

  • Member

Lets try this (confirm that the Temp directory is being properly read in general by 3D-Coat);

 

-Max 2017 is writing the OBJ in a way which the 3DC autoloader doesn't like (you're the first person to use it with Max 2017 afaik).

PolyHertz, you teased my curiosity when you thought I was trying the link in Max 2017. So, I tried it in Max 2017 for the heck of it. I have the same failure. Well, really not a failure. Just that nothing happens. Max 2017 does write out the files to the 'Applink_Max3DC' folder. 3DC just does not see it and try to automatically import it. Nor do I get the "Export" function in 3DC. 

Link to comment
Share on other sites

  • Member

Did you try the things mentioned in Einherjis post on the previous page? If your documents folder was relocated to another drive 3DC tends to have problems finding it without some tweaks.

Yes, I did see those posts. My default Windows documents path has a symbolic link to a different drive so the system doesn't know that the files are somewhere else. It makes no difference nor does it cause any issues with any of the other of the over 200 programs I have installed. 

Link to comment
Share on other sites

Last resort then would be to create a duplicate of your 3D-CoatV45 folder on the C:/ drive where it would normally be, and use that instead. Someone else a few months ago did that and it worked for them.

If that still doesn't work, maybe try contacting Andrew to see what he has to say about getting 3DCoat to work with the Windows Documents directory when its been moved to a different drive. I'm out of ideas.

Link to comment
Share on other sites

  • Member

Hi, here's the current situation. 

 

1. I uninstalled 3DC 4.5.37 and reinstalled in the default path on c:

2. I placed a Teapot in Max, added a VRay standard material and exported to 3DC. Same issue, no import window and no 'Export' menu item under 'File'. Also, the Applink did not create the '3dsMax 201x' folder with the 'run.txt' file. 

3. I changed the renderer to 'Scanline' and added a standard material. I exported to 3DC. Same issue, no import window and not 'Export' menu item under 'File'. However, the Applink did create the '3dsMax 201x' folder with the 'run.txt' file.

4. I placed the Applink Temp directory in the 'users/Public/Documents' to see if that might get around a Windows 10 permissions issue. No help. Finally, I shared the Temp directory with 'Everyone' and gave full read / write permissions. No help. 

 

Are you watching this Andrew, ideas?

Link to comment
Share on other sites

  • 2 weeks later...
  • New Member

am facing a problem when using vray material as a material preset in the applink window

when importing the file after finished, it says that the file .mat is in a newer verion 18000 and that i have version 16000, i think it was saved with max2016 and am using max2014

can you fix this please ASAP

Link to comment
Share on other sites

Does it solve the issue If you replace the vray .mat preset file (located in your Windows Documents > 'Applink_Max3DC' directory) with these? :

 

https://dl.dropboxusercontent.com/u/4210886/VRayMtl%20-%20Basic2014.mat

https://dl.dropboxusercontent.com/u/4210886/VRayMtl%20-%20Fresnel2014.mat

Edited by PolyHertz
Link to comment
Share on other sites

Hey guys,

Planning on adding in multi-language support for the next release (with custom language files so it can be easily added to). Right now I'm just using Google translate, but was wondering if anyone here that is multi-lingual would be willing to help translate the menus properly? atm I'm looking to add support for French, German, Japanese, Korean, and (simplified) Chinese.

 

Not sure if anyone will use this feature, but want to make the experience as smooth as possible for the non-English speaking users as well.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Update: https://dl.dropboxusercontent.com/u/4210886/3ds Max Applink v1.9.mzp

Changes:
-Now supports multiple languages. Languages can be chosen from top menu bar under "Options".
    --Users can copy and edit the existing language files in the Windows Documents Applink_Max3DC folder to create their own.
    --Thanks go out to Puntoit for the German translation!
-File menu bar added. Features;
    --File; Just includes 'Exit' , is so users can exit the Applink directly from docked mode.
    --Options; Access all language and extended options settings.
    --Help; Access help files and the main forum thread if have questions.
-Now auto-detects "AppLinks" folder introduced in the most recent versions of 3D-Coat. Suggested for anyone running 3D-Coat v4.5.37 or newer.
-Additional options added for "Auto Clear Temp on Close". Can now select "Clear all found temp directories" or "Clear only the selected temp directory"
-Fixed a bug with "Import Only Materials" feature that happened in 3DC 4.5.37 and newer due to changes in the content structure of the textures.txt file.
-Now fully tested to work in Max 2017. Previous versions worked, but had some very minor UI issues.
-Applink can now work even if main settings INI cannot be read from / written to.
-Additional Import option added that lets users choose to import from selected Temp directory, or check for the latest files in all know temp directories.
    --Work around for 3D-Coat fractured export bug, where main txt files will be generated in two completely different folders.

  • Like 1
Link to comment
Share on other sites

  • Member
On 5/6/2016 at 0:28 PM, RobH2 said:

Hi, here's the current situation. 

 

1. I uninstalled 3DC 4.5.37 and reinstalled in the default path on c:

2. I placed a Teapot in Max, added a VRay standard material and exported to 3DC. Same issue, no import window and no 'Export' menu item under 'File'. Also, the Applink did not create the '3dsMax 201x' folder with the 'run.txt' file. 

3. I changed the renderer to 'Scanline' and added a standard material. I exported to 3DC. Same issue, no import window and not 'Export' menu item under 'File'. However, the Applink did create the '3dsMax 201x' folder with the 'run.txt' file.

4. I placed the Applink Temp directory in the 'users/Public/Documents' to see if that might get around a Windows 10 permissions issue. No help. Finally, I shared the Temp directory with 'Everyone' and gave full read / write permissions. No help. 

 

Are you watching this Andrew, ideas?

 

Just reporting in that I still cannot get this to function. I'm sure it's really handy and I wish I could figure out why not. I just tried '3ds Max Applink V1.9.mzp' in both Max 2016 and Max 2017 without success. 3DC opens and just sits there empty. I turned off the 3dc initial splash screen to see if that was hanging things up but it apparently had no effect. No mesh is automatically imported. 

Link to comment
Share on other sites

  • Reputable Contributor
On 5/6/2016 at 11:28 AM, RobH2 said:

Hi, here's the current situation. 

 

1. I uninstalled 3DC 4.5.37 and reinstalled in the default path on c:

2. I placed a Teapot in Max, added a VRay standard material and exported to 3DC. Same issue, no import window and no 'Export' menu item under 'File'. Also, the Applink did not create the '3dsMax 201x' folder with the 'run.txt' file. 

3. I changed the renderer to 'Scanline' and added a standard material. I exported to 3DC. Same issue, no import window and not 'Export' menu item under 'File'. However, the Applink did create the '3dsMax 201x' folder with the 'run.txt' file.

4. I placed the Applink Temp directory in the 'users/Public/Documents' to see if that might get around a Windows 10 permissions issue. No help. Finally, I shared the Temp directory with 'Everyone' and gave full read / write permissions. No help. 

 

Are you watching this Andrew, ideas?

In the Applink Panel, there is a droplist for your Temp directory. If it's not pointing to your "MyDocs/3D Coat 4.5/Exchange" directory, then it's going to do exactly as you described.....nothing. Check that, first. It's working on my end. Because you are working with PBR related maps....trying to import them into 3D Coat from a material you have set up in Max, is not a good idea. It's better to just import the mesh and import the maps, in 3D Coat, from the TEXTURES > IMPORT menu.

 

Applink panel.jpg

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...