Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
This project adds glTF loading capabilities to Panda3D. One long-term goal for this project is to be used as a reference for adding a builtin, C++ glTF loader to Panda3D. If and when Panda3D gets builtin support for glTF, this module will go into maintenance mode and be used to backport glTF support to older versions of Panda3D.
gltf2bam
cli-tool for converting glTF files to BAMgltf-viewer
for viewing files (including glTF) with a simple PBR rendererUse pip to install the panda3d-gltf
package:
pip install panda3d-gltf
To grab the latest development build, use:
pip install git+https://github.com/Moguri/panda3d-gltf.git
panda3d-gltf
has the following configuration options.
See below for information on setting these options for the native loader and the CLI.
collision_shapes
- the type of collision shapes to build.
Either builtin
for ColisionSolids
or bullet
for BulletRigidBodyNodes
.
Defaults to builtin
.flatten_nodes
- attempt to flatten resulting scene graph, defaults to False
legacy_materials
- convert imported PBR materials to legacy materials, defaults to False
no_srgb
- do not load textures as sRGB textures, defaults to False
skip_animations
- do not convert animation data found in the glTF file, defaults to False
skip_axis_conversion
- do not perform axis-conversion (useful if glTF data is already non-standard and already Z-Up), defaults to False
panda3d-gltf
ships with a Python file loader (requires Panda3D 1.10.4+), which seamlessly adds glTF support to Panda3D's Loader
classes.
This does not add support to pview
, which is a C++ application that does not support loading Python file loaders.
Instead of pview
, use the gltf-viewer
that ships with panda3d-gltf
.
The loader can be configured via PRC variables.
These PRC variables are prefixed with gltf-
but otherwise match the names above.
For example, use gltf-collision-shapes bullet
to have the loader load Bullet shapes instead of CollisionSolids.
To convert glTF files to BAM via the command line, use the supplied gltf2bam
tool:
gltf2bam source.gltf output.bam
See gltf2bam -h
for more information on usage and available CLI flags.
panda3d-gltf
ships with gltf-viewer
.
This is a simple viewer (like pview
) to view glTF (or any other file format support by Panda3D) with a simple, PBR renderer.
First install panda3d-gltf
in editable mode along with test
extras:
pip install -e .[test]
Then run the test suite with pytest
:
pytest
Install build
:
pip install --upgrade build
and run:
python -m build
FAQs
glTF utilities for Panda3D
We found that panda3d-gltf 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.