Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max 2024 support #1087

Open
2 of 3 tasks
lo-th opened this issue Apr 21, 2023 · 15 comments
Open
2 of 3 tasks

max 2024 support #1087

lo-th opened this issue Apr 21, 2023 · 15 comments
Milestone

Comments

@lo-th
Copy link

lo-th commented Apr 21, 2023

Hi thanks for your hard work, this is the most useful of the plugins
i test export from 3dsmax 2024
2023 version seems work except rename

Exception raised during export. Node will be exportes as dummy node. Message: Methode not found: 'System.String Autodesk .Max.IModifier.get_Name()'

so glb file not work
hope that can help for futur support of 2024 version

TODO

  • Update code
  • Update build
  • Update installer
@bghgary
Copy link
Contributor

bghgary commented Apr 24, 2023

If someone is willing to contribute a change to fix this, that would be great. See here.

@lo-th
Copy link
Author

lo-th commented Apr 24, 2023

aie babylon export is much more advanced than blender export ...
and 3ds self export is just a joke.

hop someone can help it's probably just a matter of syntax.

@thomlucc thomlucc added this to the Future milestone May 31, 2023
@FrogsInSpace
Copy link
Contributor

FrogsInSpace commented Jun 8, 2023

I added 3ds Max 2024 support.
I did'nt test extensively, just the basic export functionality

#1090

@lo-th
Copy link
Author

lo-th commented Jun 8, 2023

hum no more log on export with last build ?
but is great step

@FrogsInSpace
Copy link
Contributor

FrogsInSpace commented Jun 8, 2023

Yeah - i noticed this too , i only checked this release and do not get any log output too
https://github.com/BabylonJS/Exporters/releases/tag/Release20230606.1

So this issue will still be in the 3ds Max 2024 version too

@FrogsInSpace
Copy link
Contributor

FrogsInSpace commented Jun 8, 2023

If someone is willing to contribute a change to fix this, that would be great. See here.

@bghgary

Pullrequest for Max 2024 exporter update is ready for review
#1090

@bghgary
Copy link
Contributor

bghgary commented Jun 8, 2023

Thanks @FrogsInSpace. I merged your PR. I updated the deploy steps in ADO to include Max 2024. We still need someone to add Max 2024 to the installer.

@lo-th
Copy link
Author

lo-th commented Jun 9, 2023

i try direct install but get error on each 2024 .dll ?

@FrogsInSpace
Copy link
Contributor

i try direct install but get error on each 2024 .dll ?

possibly the installer doesnt work
just copy the dll's from the 2024.zip to your <3ds Max 2024>/bin/assemblies folder and everything should work as expected

@lo-th
Copy link
Author

lo-th commented Jun 30, 2023

ok i see have to add

<configuration>
   <runtime>
      <loadFromRemoteSources enabled="true"/>
   </runtime>
</configuration>

to 3dsmax.exe.config
great

@kramsurfer
Copy link

kramsurfer commented Oct 17, 2023

It was a long road to find this .config file change requirement.

Can we add that to a README.md in the 2024 zip file or have it added to the Exporter's Manual Install web page?
( not sure who maintains the documentation but it'd be an easy edit and it currently has /Max 2015/ recommended pathing in it...haha )

Does the installer make this adjustment? It currently does not "see" the 2024 installer.

Thanks SOOO much for updating this. I'll be in 2024 likely for the next 3-4 years, so this is awesome that it works in here!

@kramsurfer
Copy link

kramsurfer commented Oct 17, 2023

Seems the "old" documentation where this information about the installers is archived on git hub but still live and a primary source of information when doing searches... :-(

@echadwick-artist
Copy link

echadwick-artist commented Oct 31, 2023

Running into same problem here. Latest version of Max, latest version of Babylon exporter.

How exactly is the argument supposed to be added into the 3dsmax.exe.config file? I've tried four different ways, but Babylon always fails export with the same message from above in this thread.

Here is the default config:

<?xml version="1.0"?> 
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>
  <system.diagnostics>
    <assert assertuienabled="false"/>
    <sources>
      <!-- This removes Binding error messages coming from AdWindows components -->
      <source name="System.Windows.Data" switchName="SourceSwitch">
        <listeners>
          <remove name="Default" />
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="SourceSwitch" value="All" />
    </switches>
    <trace autoflush="true" indentsize="4"></trace>
  </system.diagnostics>
    <runtime>
        <AppContextSwitchOverrides value="Switch.MS.Internal.DoNotInvokeInWeakEventTableShutdownListener=true"/>
    </runtime>
...

If I append within the existing <runtime> section, it still fails:

    <runtime>
        <AppContextSwitchOverrides value="Switch.MS.Internal.DoNotInvokeInWeakEventTableShutdownListener=true"/>
        <loadFromRemoteSources enabled="true"/>
   </runtime>

If I add two <runtime> sections, it fails:

    <runtime>
        <AppContextSwitchOverrides value="Switch.MS.Internal.DoNotInvokeInWeakEventTableShutdownListener=true"/>
   </runtime>
    <runtime>
        <loadFromRemoteSources enabled="true"/>
   </runtime>

@abolog
Copy link

abolog commented Nov 23, 2023

Solution:
Download Max_2024.zip (not installer)
Extract and overwrite everything in:
C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies

@mosesfender
Copy link

The problem continues to persist.
3DsMAX 2024.2.1
Export scene to babylon or glTF format v20240312.5

{ "translation": [ 7.41283274, 0.0, -11.9089632 ], "name": "Cyl1" },

And that's it. An empty primitive, without dimensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants