Skip to main content

LuxCore Python Tools

Project description

A Python package to provide LuxCoreTools.

LuxCoreRender

LuxCoreRender is a physically correct, unbiased rendering engine. It is built on physically based equations that model the transportation of light. This allows it to accurately capture a wide range of phenomena which most other rendering programs are simply unable to reproduce.

You can find more information about at: https://www.luxcorerender.org

Sources can be found here: https://github.com/LuxCoreRender/LuxCore

PyLuxCoreTools

PyLuxCoreTools are a set of command line tools available in the LuxCoreRender stand-alone version. They include command line rendering, film merging and image conversion to tx format.

PyLuxCoreConsole

Command line rendering.

usage: pyluxcoreconsole [-h] [-f FILE_NAME] [-w WIDTH] [-e HEIGHT] [-D PROP_NAME VALUE]
                        [-d DIR_NAME] [-c] [-t CAMERA_SHUTTER CAMERA_SHUTTER]
                        fileToRender

PyLuxCoreConsole

positional arguments:
  fileToRender          .cfg, .lxs, .bcf or .rsm file to render

options:
  -h, --help            show this help message and exit
  -f FILE_NAME, --scene FILE_NAME
                        scene file name
  -w WIDTH, --film-width WIDTH
                        film width
  -e HEIGHT, --film-height HEIGHT
                        film height
  -D PROP_NAME VALUE, --define PROP_NAME VALUE
                        assign a value to a property
  -d DIR_NAME, --current-dir DIR_NAME
                        current directory path
  -c, --remove-unused   remove all unused meshes, materials, textures and image maps
  -t CAMERA_SHUTTER CAMERA_SHUTTER, --camera-shutter CAMERA_SHUTTER CAMERA_SHUTTER
                        camera shutter open/close

PyLuxCoreMerge

Film merging.

usage: pyluxcoremerge [-o FILE_NAME] [-f FILE_NAME] [-h] [-a AOV_NAME FILE_NAME]

PyLuxCoreMerge

options:
  -o FILE_NAME, --image-output FILE_NAME
                        Save the RGB_IMAGEPIPELINE film output to a file
  -f FILE_NAME, --film-output FILE_NAME
                        Save the merge film to a file
  -h, --help            Show this help message and exit
  -a AOV_NAME FILE_NAME, --aov-output AOV_NAME FILE_NAME
                        Save the merge film AOV to a file
usage: cmd.py [-p] [-s]
              [-r SRC_OFFSET_X SRC_OFFSET_Y SRC_WIDTH SRC_HEIGHT DST_OFFSET_X DST_OFFSET_Y]
              fileFilm

Film Options

positional arguments:
  fileFilm              .cfg, .flm or .rsm files with a film

options:
  -p, --pixel-normalized-channel
                        The film will have CHANNEL_RADIANCE_PER_PIXEL_NORMALIZED (required by
                        all render engines)
  -s, --screen-normalized-channel
                        The film will have CHANNEL_RADIANCE_PER_SCREEN_NORMALIZED (required
                        by BIDIRCPU and LIGHTCPU render engines)
  -r SRC_OFFSET_X SRC_OFFSET_Y SRC_WIDTH SRC_HEIGHT DST_OFFSET_X DST_OFFSET_Y, --region SRC_OFFSET_X SRC_OFFSET_Y SRC_WIDTH SRC_HEIGHT DST_OFFSET_X DST_OFFSET_Y
                        Define the origin and the size of the region in the source film and
                        the placement in the destination film where the it will be merged

PyLuxCoreMakeTx

Image conversion to tx format.

usage: pyluxcoremaketx [-h] srcImageFileName dstImageFileName

PyLuxCoreMakeTx

positional arguments:
  srcImageFileName  source image file name to convert
  dstImageFileName  destination image TX file name

options:
  -h, --help        show this help message and exit

Install

pip install pyluxcoretools

License

This package is released under Apache 2.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyluxcoretools-2.9a1.post3.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

pyluxcoretools-2.9a1.post3-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

Details for the file pyluxcoretools-2.9a1.post3.tar.gz.

File metadata

  • Download URL: pyluxcoretools-2.9a1.post3.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyluxcoretools-2.9a1.post3.tar.gz
Algorithm Hash digest
SHA256 7aa2477dbd4f628bc0ecb2e84b4d4543231e8f0cc51d0500935cb11f7bcf7973
MD5 c199beae9fe53f0e295b9d4fc16c527f
BLAKE2b-256 be6159283835d1d45a09834b4c79d34fa261f70e936154c387bbe1cc1e3e603e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluxcoretools-2.9a1.post3.tar.gz:

Publisher: wheels.yml on howetuft/LuxCoreToolsWheel

Attestations:

File details

Details for the file pyluxcoretools-2.9a1.post3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyluxcoretools-2.9a1.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 e024af0c562884b06e95d49796541427033fcfcd3a273d4d46047ddd0c64a513
MD5 e85826c7b3e8a9df62be1a88214f61fa
BLAKE2b-256 1326bf61ea13fab0fcc69b5d89c0e526fc0ab26b4bce49fb5726f452fb175a69

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluxcoretools-2.9a1.post3-py3-none-any.whl:

Publisher: wheels.yml on howetuft/LuxCoreToolsWheel

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page