Ok. That actually makes sense, except for the fact that I'm quite sure
that I set the texture chunks for the materials that are problematic.
Apparently not, then. :)
I'll try to figure out exactly where that happens then (i.e call
findChunk(texture, 1) on all bumpmapped materials).
Thanks for helping
/Marcus
Andreas Zieringer wrote:
Hi Marcus,
ok I found the bug, in your shaders you use a normal map in texture
unit 1 but in some materials you didn't add the second TextureChunk
with the normal map.
Andreas
Can you try to add begin/endEditCP around the cm->subChunk and
cm->addChunk perhaps this helps.
The findChunk() problem has disappeared, regardless of that. It was
very repeatable until I mucked around with it a bit and now I don't
get the warning anymore.
Anyway, I don't get the error and the other material problem I had
is still there. (a TextureChunk in slot 1 of one material is
sometimes applied in other materials, depending on rendering order,
i.e. camera pos )
can you write your scene as a osb file out? So I could look into it.
http://yar.nu/macke/scene.zip
I get the switching material issue in the SceneViewer as well, so you
should be able to reproduce it.
Best regards,
/Marcus
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users