Skip to content

ilayd-a/3D-Mesh-Rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

3D-Mesh-Rendering

This is a basic program to get familiar with Pytorch3D. I used this 3D model and converted it to an .obj file using an online converter.

How to run (for MacOS)?

  1. Download the Anaconda installer for macOS from the Anaconda website.

  2. Open Terminal, switch to bash, navigate to the download location, and run the installer:

      bash Anaconda3-2024.06-1-MacOSX-x86_64.sh
  3. Initialize Anaconda:

      source ~/.bash_profile
  4. Create a new conda environment:

       conda create -n pytorch3d_env python=3.9
  5. Activate the environment:

       conda activate pytorch3d_env
  6. Install PyTorch via Pip: Make sure your Conda environment is activated and install PyTorch using pip.

       pip install torch torchvision torchaudio
  7. Install PyTorch3D via Pip:

    Install the required dependencies and PyTorch3D.

       pip install "git+https://github.com/facebookresearch/pytorch3d.git"
  8. Then simply "python main.py"!!

You should get something like this:

Screenshot 2024-07-09 at 5 04 46 PM

Releases

No releases published

Packages

No packages published

Languages