Hi all, I have a problem, when I load a factory during the game using "csLoader::LoadLibraryFile(...) " and create an object from it using "iEngine::CreateMeshWrapper()".
In this case, the objects are not lighted correctly (they are too dark). '-relight' does not help, because the objects are not loaded at the beginning. The same happens, when I load an additional Mapfile without deleting the old world. Objects that were loaded from before iEngine::prepare() are just fine. I tried using iEngine::ShineLights() and iSector::ShineLights() after creating the objects - to no avail. Calling iEngine::Prepare() again does not help either. The objects appear to dark. What can I do to get them correctly relighted? Tnx in advance. Martin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
