Home/News
What is Yake
Features
Downloads
License
Contact
Community
Development
Documentation
Community Wiki
Dev Blog
SVN Access
SVN Notifications
Bug Tracker
Contributions
Submit a Patch
08/Apr/2010 This document is out-of-date. Octopus has not been updated to work with the latest 3dsmax.
OCTOPUS-README.TXT (slightly reformatted):
Octopus is a scene exporting tool designed to export scenes that were created in 3D Studio MAX to the formats that can be used with the Yake engine (http://www.yake.org). However this tool can be used as an exporting tool for any engine that uses OGRE and/or ODE scene definitions. Octopus tool is based on the original OGRE export tool plugin published by the OGRE team.
In short:
The package contains two folders, OCTOPUS and STARTUP. Both of them should be extracted into the SCRIPTS folder of 3D Studio MAX (example: C:\3dsmax6\scripts\). After starting MAX an “Export scene to Octopus” macros should appear in Customise→Customize user interface dialog, in the “Octopus Extentions” category. You can manually drag it to the toolbar from the Customize user interface dialog. Run the macros, and open settings file by clicking the “Open OctopusScript.ini” button in the “Export Plug-in Options” rollout of an “OctopusExportTool” dialog. Change the paths according to your own system, and then save the file.
In detail:
[Directories] XMLConverterPath=C:\3dsmax\scripts\octopus\exe OgreViewerExePath=C:\3dsmax\scripts\octopus\viewer OgreViewerMediaPath=C:\3dsmax\scripts\octopus\viewer
Theoretically, the Octopus tool and original OGRE export tool can coexist together without any bad interference. However, it is not recommended to load both tools at the MAX startup.
This dialog provides user interface for the exporting tasks. Can be used to export the following scene components: - geometry-class objects as OGRE nodes and meshes, dummies as single nodes. Meshes are written to .mesh or .xml files, scene hierarchy - to .scene file (in “dotscene” format). Animation is also supported - scene materials and textures as OGRE materials (.material files) - geometry-class objects as ODE objects (.xode format) - special links between OGRE and ODE objects in .link format (to use with Yake/Yapp engine)
(can be selected from Modifier list in Modify tab) Allows fine-tuning of per-object settings for the export of the OGRE meshes. Also provides multiple animations for the object. Can be applied to any geometry-class MAX object.
Special material class that has almost all OGRE features (though most of them cannot be previewed directly in MAX). Although Octopus can export the original Standard and Multi- MAX materials as an OGRE materials, it is recommended to use this special one. It can include up to four texture units. To preview textures in MAX you must manually choose MAX blending variant for that texture unit from the listbox to the right of a texture unit button. It has nothing with the export, just for preview in MAX, because of the differences in MAX and OGRE approaches to texture blending. An OGRE Material Previewer utility is included. It can be launched with the preview button at the top of Octopus Material panel (if the path to the viewer folder is correctly set in the settings file).
Just a texture unit plugin that supports almost all OGRE texture unit features.
(can be selected from Modifier list in Modify tab) Defines the object as a ODE entity. Can be used to define ODE body objects with multiple geom and mass properties, as well as static ODE geoms. Usage:
(can be found in Helpers→Octopus(ODE)) There are four types of MassHelpers: Box, Cylinder, Sphere and MassMatrix. They can be linked to the object which has an ODE Body modifier to represent ODE masses of that body.
(can be found in Helpers→Octopus(ODE)) Link object is specially designed for Yake/Yapp architecture to represent the links between different parts of an complex object model. In this particular case the link can only be established between OGRE node (i.e. any geometry class object or Dummy) and an ODE body (an object that has ODE Body modifier).
Usage:
Check the 3dsmax6\scripts\octopus\viewer\resources.cfg file for directories not existing on your machine and adjust them accordingly.
3ds max, from the menu Customize → Preferences. locate MAXScript tab, on this tab in the memory section increase to a logical amount and restart max.
→ line 402 of 3dsMax?\Scripts\octopus\lib\OctopusOgreOverrides.ms
writeBipedAnim2 phy sk exportOptions.mod.afframes[anumber] mod.alframes[anumber] mod.artimes[anumber] exportOptions.scale exportOptions.flipYZ aname outFile ;
removed exportOptions. should read:
writeBipedAnim2 phy sk mod.afframes[anumber] mod.alframes[anumber] mod.artimes[anumber] exportOptions.scale exportOptions.flipYZ aname outFile ;
→ for i=1 to (physiqueOps.GetBoneCount $) do
Copy the IPhysique_3dsmax5.gup (for Max5) or IPhysique_3dsmax6.gup (for Max6 and Max7) in the 'plugins' folder to the 'plugins' folder in your 3DSMax folder. http://prdownloads.sourceforge.net/ogre/Ogre3DSExporter-1.2.2.zip?download
→ yapp demo: samplesSync1