Skip to content

Releases: pywavefront/PyWavefront

1.3.3

10 Dec 04:22
Compare
Choose a tag to compare
  • Support objects with one vertex statement

1.3.2

05 Mar 19:51
Compare
Choose a tag to compare
  • Properly handle face lines with unspecified normal index such as 1/2/

1.3.1

10 Jan 11:57
Compare
Choose a tag to compare
  • visualization: objects without lighting will now have their ambient
    color set using glColor.

1.3.0

21 Oct 21:43
Compare
Choose a tag to compare
  • Textures will now use GL_REPEAT by default (as the specificiation suggests)
  • Added support for parsing texture options in materials.
    The following options are parsed: blendu, blendv, bm, boost, cc,
    clamp, imfchan, mm, o, s, t, texres
  • Added options property to Texture class
  • visualization now respect the clamp option. If on the texture will use
    GL_CLAMP_TO_EDGE. Otherwise GL_REPEAT will be used.
  • All example windows can now be resized

1.2.0

17 Sep 01:06
Compare
Choose a tag to compare

1.2.0

  • Pywavefront is now using pathlib internally. Path instances can also
    be passed to all parsers.
  • Bugfix: Texture paths in materials should no longer be mangled when
    containing spaces or special characters. It should always be read
    exactly as it appears in the file.
  • Texture: file_name property added as a more robust way to get
    the texture file name without path. This should even work for
    hardcoded windows path on Linux and OS X.
  • Texture: Added find method searching for the exact texture name in a directory
    and all subdirectories. By default it will search from the obj file's location.
  • Visualization: draw methods now supports lighting_enabled and textures_enabled
    making the user able to toggle on/off lighting and texturing.
  • Visualization: Now works with NPOT textures (texture whose dimensions are not power of 2)

1.1.0

18 Jul 19:46
Compare
Choose a tag to compare
  • Fixed an incompatibility issue related to image loading in pyglet 1.4.x
  • Texture instances now store the texture name as they apprear in the material
    and an optional path parameter that represents the absolute path to the
    texture.
  • Removed dead code related related to python 2/3 compatibility

1.0.5

04 Jul 18:20
Compare
Choose a tag to compare

Visualization module should enable depth testing by default

1.0.4

10 Jun 18:36
Compare
Choose a tag to compare

Faces with undefined texture coordinates will fall back to uv index 0

1.0.3

17 Jan 02:27
Compare
Choose a tag to compare
  • Fix vertex format exceptions - PR #86

1.0.2

01 Nov 02:55
Compare
Choose a tag to compare
  • Fix two parsing IndexErrors - PR #84