Releases: pywavefront/PyWavefront
Releases · pywavefront/PyWavefront
1.3.3
1.3.2
1.3.1
1.3.0
- Textures will now use
GL_REPEATby 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
optionsproperty toTextureclass - visualization now respect the
clampoption. Ifonthe texture will use
GL_CLAMP_TO_EDGE. OtherwiseGL_REPEATwill be used. - All example windows can now be resized
1.2.0
1.2.0
- Pywavefront is now using
pathlibinternally.Pathinstances 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_nameproperty 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
findmethod searching for the exact texture name in a directory
and all subdirectories. By default it will search from the obj file's location. - Visualization:
drawmethods now supportslighting_enabledandtextures_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
- 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