Compare commits
2
Commits
b714c0b08f
..
v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bc9afea4b | ||
|
|
d06888128c |
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
WFObj version 1.0
|
||||||
|
Author: Josh Holtrop
|
||||||
|
|
||||||
|
This utility uses OpenGL 1.x functionality to render an Alias Wavefront object
|
||||||
|
file into a display list for repeated rendering.
|
||||||
@@ -587,7 +587,7 @@ void WFObj::WFMtl::renderBegin(const string & mtlname, bool doTextureInfo,
|
|||||||
if (m_obj->m_textureLoader != NULL)
|
if (m_obj->m_textureLoader != NULL)
|
||||||
{
|
{
|
||||||
FileLoader::Path path(
|
FileLoader::Path path(
|
||||||
basePath(m_path.fullPath + stmts[i][1]),
|
basePath(m_path.fullPath) + stmts[i][1],
|
||||||
stmts[i][1]);
|
stmts[i][1]);
|
||||||
GLuint tex = m_obj->m_textureLoader->load(path,
|
GLuint tex = m_obj->m_textureLoader->load(path,
|
||||||
*m_obj->m_fileLoader);
|
*m_obj->m_fileLoader);
|
||||||
|
|||||||
Reference in new issue
Block a user