
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
A package for flattening and rendering 3D meshes of segments of the Herculaneum Papyri.
Scroll Renderer is a Python package developed by the Vesuvius Challenge Team 2024. It provides tools for flattening and rendering 3D meshes of segments of the Herculaneum Papyri. It is currently in alpha version.
It is recommended to run this package in a Conda environment to manage dependencies effectively.
Install with pip and accept vesuvius
terms:
pip install scroll-renderer
vesuvius.accept_terms --yes
You can also install the package in editable mode:
Clone the repository and navigate to the project directory, install and accept vesuvius
terms:
https://github.com/ScrollPrize/villa.git
cd villa
cd scroll-renderer
pip install -e .
vesuvius.accept_terms --yes
The package provides command-line utilities for working with mesh files. For more options and details on each command, you can use the --help
option after any command.
Flatten a Mesh
Use the slim_uv
command to flatten a mesh with the following options:
slim_uv --path 20241025062044_intermediate_mesh.obj --ic harmonic --iter 200
--path
: Path to the intermediate mesh file (e.g., .obj
file).--ic
: Initial condition; options are harmonic
or arap
.--iter
: Number of iterations.Render a Flattened Mesh
After flattening, use mesh_to_surface
to generate a surface render of the mesh:
mesh_to_surface 20241025062044_intermediate_mesh_flatboi.obj /mnt/localdisk/scrolls/Scroll5 --r 32
You can also render without having a scroll volume locally (works only with canonical vesuvius
scrolls):
mesh_to_surface 20241025062044_intermediate_mesh_flatboi.obj Scroll5 --r 32 --remote
vesuvius
scroll, like Scroll1
--r
: Half number of layers in the surface volume besides the center (e.g., 32
will give 65 layers, the middle +- 32).--triangle_batch
: Choose how many triangles to process per batch, default 5000
--max_side_triangle
: Choose the max length of the side of a triangle when creating dataset, default 10
--nr_workers
: Choose nr workers to load the dataset--remote
: Add this flag to fetch the scroll data from the data server using the vesuvius
package.For additional options and usage information, use --help
with any command (e.g., slim_uv --help
or mesh_to_surface --help
).
MIT License
Developed by: Vesuvius Challenge Tech Team 2024 (Stephen Parsons, Julian Schilliger, Giorgio Angelotti and Youssef Nader)
FAQs
A package for flattening and rendering 3D meshes of segments of the Herculaneum Papyri.
We found that scroll-renderer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.