Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Gloopy provides the following services:

  • Creation and manipulation of 3D, flat-surfaced, polyhedra, using the Shape class.

  • Factory functions to produce particular shapes, such as Cube or Icosahedron.

  • Some basic algorithms to modify existing shapes, such as by subdividing or extruding their surfaces.

  • Conversion of shapes into Glyph instances, which manage vertex arrays stored in a VBO.

  • A simple Render class which renders glyphs with given positions and orientations.

  • A camera attribute on the single Gloopy instance, that can be positioned, oriented, or told to look at a particular item or position.

Dependencies

Written mostly on Windows, tested occasionally on Ubuntu.

  • Python 2.7

  • Pyglet 1.1.4

  • PyOpenGL 3.0.1

Documentation

In the Gloopy source, see gloopy/docs/html/index.html

and the scripts in the ‘examples’ directory.

Documentation is not currently available online.

License

Gloopy is released under the New BSD License, the text of which is to be found in the project’s LICENSE.txt. Alternatively, you may use it under the terms of any other OSI-approved license.

Status & Known Issues

It works for me, but has not been used any real projects. The API is a mess and may change substantially in later releases.

No issue tracker is currently maintained, but the major shortfalls as I percieve them are:

  • Some algorithmic modifiers, such as face subdivision, extrusion, stellation, do not currently work on MultiShapes. This is because these modifiers rely on modifying attributes of the given shape in place, such as by inserting new entries in the .faces collection. However, MultiShapes provide many of these attributes by using generators to form a composite stream of their children. I guess I ought to make all shape modifiers functional.

  • The supplied ‘directional lighting’ shader is broken - rotating an object does not modify the apparent illumination of its surfaces.

  • No attempt is made to handle textures. All faces are plain colors.

  • We don’t currently handle multiple shaders within a single scene.

Thanks

PyWeek participants ‘Scav’ and ‘Threads’ for showing me how it should be done, and PyWeek message board users donal.h, Cosmologicon, RB[0], PyTM30, Tee and saluk for cajoling me into accepting the merit of allowing people to bring pre-existing codebases into PyWeek so long as they are public.

Metadata

Release files for gloopy 0.1.3a

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gloopy 0.1.3a
File Size Uploaded
gloopy-0.1.3a.zip 292.2 kB Details

Release files / gloopy-0.1.3a.zip

Download URL gloopy-0.1.3a.zip
Size 292.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1ab22b0bb0be64bc03c8fcc52849193c647c58310d4c5adf96104300067401f
BLAKE2b-256 checksum
How to use checksums
871342a9d13a8be189f70bb09aa774c3f06000c09607a9cb581cf5cb61d44b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3a This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page