GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - P3DCAT/HyperMC: HyperModelConvert, shortened to HyperMC, is a tool to bulk convert Panda3D egg files to different supported formats.

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
PANDA_BIN_PATH
PANDA_BIN_PATH
 
 
PPYTHON_PATH
PPYTHON_PATH
 
 
README.md
README.md
 
 
convert_egg_to_bam.bat
convert_egg_to_bam.bat
 
 
convert_egg_to_maya2016.bat
convert_egg_to_maya2016.bat
 
 
hmcbam2egg.bat
hmcbam2egg.bat
 
 
hmclean.py
hmclean.py
 
 
hmconvert.py
hmconvert.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

HyperModelConvert / HyperMC v1.2.0

This tool is used to bulk convert Panda3D models to a different file format.

Currently this script supports:

  • bam2egg
  • egg2bam
  • egg2maya
  • egg2maya_legacy
  • maya2egg
  • maya2egg_legacy
  • egg2obj
  • obj2egg

By default, the Maya version is set to 2016. With the release of v1.2.0., the script will initially run for a Maya server instead of launching a new instance per model. This speeds up conversion time significantly. You can run any of the _legacy commands if you are having issues with the Maya server.

Dependencies

  • Python 3.8+
  • argparse Python package.
  • psutil Python package.
  • Installation of Panda3D with Maya support (optional, only required for maya conversions.)

Instructions

By default, the program will search for a bin folder within the same directory. To ensure that the script is pointing to the correct bin folder, you can either:

  • Replace the first line for the correct directory in PANDA_BIN_PATH file, adding the argument --fromfile
  • Set the filepath by adding --bindir as an argument.

If you decide to run the batch scripts, please make sure to edit the PPYTHON_PATH file to point to the correct Panda Python executable location.

For a list of commands, run either python convert.py --help, or python convert.py --pargs for egg2bam/bam2egg arguments.

Example usage: python convert.py --bam2egg --phase 5 5.5 6 Will convert any bam files into egg files located within phase 5, 5.5, and 6.

python convert.py --egg2maya --mayaver 2019 --all-phases --fromfile Will start a maya2egg2019 conversion server, and convert any egg files to maya binaries from all the phases. It will look for the Panda3D binaries from the directory located in the PANDA_BIN_PATH file.

Legacy Conversion

With the release of v.1.2.0., legacy BAM conversions have been deprecated. However, if you would still like to download the binaries of older Panda versions, check the releases tab.

About

HyperModelConvert, shortened to HyperMC, is a tool to bulk convert Panda3D egg files to different supported formats.

Topics

panda3d

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.