Re: [Maya2osg-users] Texture processing
Status: Alpha
Brought to you by:
jtaibo
|
From: Javier T. <jav...@gm...> - 2011-06-17 17:42:20
|
Hi J-S, On Fri, Jun 17, 2011 at 7:04 PM, Jean-Sébastien Guay <jea...@cm...> wrote: > Hi Javier, > >> I have just committed a fix for this issue. I do a pair of quick >> tests with OpenGL materials and GLSL shaders and it seems to be >> working OK. >> >> Can you verify it is OK in your tests? > > 1) Diffuse (color) texture seems to be copied / converted correctly now, > whether or not I enable GLSL shaders. Nice! > 2) Normal maps are still not being copied / converted if I don't enable > GLSL shaders (even with enable bump/normal maps - I guess the intent is > that enabling normal maps but without enabling GLSL shaders does > nothing, but in my case I just don't want to embed shaders) This is what current implementation does. Bump map is only used only with GLSL shaders. I assume you want then to export bump/normal maps without shaders. It should be relatively easy modifying shader.cpp to export them like filetexture.cpp does. > 3) If I have all 3 options (Export materials, GLSL shaders and > bump/normal maps) checked, the plugin makes Maya crash in assign() being > called from Mesh.cpp line 477. Actually the "export materials" option is new to me, I only created the "export shaders as GLSL". When Peter come back from its exams, we should define and document the exporter options. However, I usually have these three options checked in the GUI and I haven't experienced any crash by now... have you got a lightweight scene to reproduce this bug? Regards, -- Javier Taibo |