in RT3DApp and RTPhysics
When change windows size
the Texture will become White or black~
but in example of irrlicht-1.7.1 will not~~~
just help me solve
in RT3DApp and RTPhysics
When change windows size
the Texture will become White or black~
but in example of irrlicht-1.7.1 will not~~~
just help me solve
Hmm, the Irrlicht3D part doesn't reload textures properly in Windows. (It does on Android) This is unimplemented feature in Proton.
If you define C_DONT_ALLOW_WINDOW_RESIZE it will disable the window resizing which would hide this problem. (You can still minimize/maximize ok)
Yeah, I should add support for that, I just haven't worked with the Irrlicht part for a while or done a PC release with Irrilicht yet.![]()
Seth A. Robinson
Robinson Technologies
It seems the same problem
at
http://www.rtsoft.com/forums/showthr...ghlight=resize
hope you take time try to fix~~~thanks
and does reload textures properly in IOS?
and I use Irrlicht3D 1.7.1 which is the same version in proton
Examples of Irrlicht3D 1.7.1 resize is ok, no blank.
In iOS, GL never loses its context so it isn't a problem there
Seth A. Robinson
Robinson Technologies
in example RT3DApp after go to Mesh3DMenu
I trace the code in
bool Surface::LoadRTTexture(byte *pMem)
after resize, only RTfont and "interface/summary_bg.rttex" reload on LoadRTTexture
Do not reload mesh texture squirrel.x~~
pScene->getMesh( (GetBaseAppPath() + "game/squirrel.x").c_str());
please check it~
Now is really a busy time for me![]()
.. so I won't be able to look at it. But we accept patches if you want to fix it..
![]()
Seth A. Robinson
Robinson Technologies
fixed the bug as attachment test in win32 and android is good
here is attach
http://www.mediafire.com/?c336569bu6ib4ak
here is result photo
https://picasaweb.google.com/1126240...13194215080002
those files fixed for surface size
main.cpp
rtfont.cpp
rtfont.h
copengltexture.cpp
copengltexture.h
surface.cpp
surface.h
And follow function I use the way of new instance, then I can free instance
//BaseApp* GetBaseApp();
//MessageManager * GetMessageManager();
//FileManager * GetFileManager();
//AudioManager* GetAudioManager();
//Entity* GetEntityManager();
//GamepadManager* GetGamepadManager();
//ResourceManager* GetResourceManager();
Good work! But can you post a svn patch?
It would allow me to easily look at the changes and add to the real source tree
Seth A. Robinson
Robinson Technologies
Instead of downloading a 40+ mb file, please attach a svn .patch file I can download! It will only be 1k and let me easily see the exact changes made and apply it to svn with control after I can verify it.![]()
Seth A. Robinson
Robinson Technologies
Bookmarks