Releases: pywavefront/PyWavefront
Releases · pywavefront/PyWavefront
1.3.3
1.3.2
1.3.1
1.3.0
- 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 toTexture
class - visualization now respect the
clamp
option. Ifon
the texture will use
GL_CLAMP_TO_EDGE
. OtherwiseGL_REPEAT
will be used. - All example windows can now be resized
1.2.0
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 supportslighting_enabled
andtextures_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