Python library for importing Wavefront .obj files
1/2/
glColor
.GL_REPEAT
by default (as the specificiation suggests)blendu
, blendv
, bm
, boost
, cc
,
clamp
, imfchan
, mm
, o
, s
, t
, texres
options
property to Texture
classclamp
option. If on
the texture will use
GL_CLAMP_TO_EDGE
. Otherwise GL_REPEAT
will be used.pathlib
internally. Path
instances can also
be passed to all parsers.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.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.draw
methods now supports lighting_enabled
and textures_enabled
making the user able to toggle on/off lighting and texturing.Visualization module should enable depth testing by default
Faces with undefined texture coordinates will fall back to uv index 0