Hello there
Recently I worked on CEImagesetEditor.
And I met a strange clipping issue.
Two methods can make it happen:
1.Use mouse wheel to zoom in the imageset you've created. When either elastic box is partially outside the display window,
drag the window in order to make the box to show up. You'll see the box been clipped by sth., like this:
zoom in
and drag right side of display window, box has been clipped...
2.Use scroll bar to make the box outside display window as method 1, also can reproduce it.
And sth.is even stranger that after the box been clipped, move the scroll bar, the box will become back to normal...
I tried to solve this problem but only find during the change the gui sheet rendering surface has not redrawn.
If this is true, is that the OpenGL renderer to be blamed?
Anyone can help?
[SOLVED]CEImagesetEditor unexpected clipping issue
Moderators: CEGUI MVP, CEGUI Team
[SOLVED]CEImagesetEditor unexpected clipping issue
Last edited by rockoz on Sun Jun 13, 2010 04:01, edited 1 time in total.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: CEImagesetEditor unexpected clipping issue
I've moved this to CEGUI Related Tools.
There are a couple of potential reasons for this issue, and my final analyses will be dependent upon the questions below It's extremely doubtful it has anything to do with the OpenGL renderer module.
So, if you could provide the answers to the following: Which operating system is this on? Did you use the binary version of the editor, or did you compile the code yourself? If you did compile the code yourself, which version of wxWidgets did you use?
Thanks,
CE.
There are a couple of potential reasons for this issue, and my final analyses will be dependent upon the questions below It's extremely doubtful it has anything to do with the OpenGL renderer module.
So, if you could provide the answers to the following: Which operating system is this on? Did you use the binary version of the editor, or did you compile the code yourself? If you did compile the code yourself, which version of wxWidgets did you use?
Thanks,
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: CEImagesetEditor unexpected clipping issue
Thank you CE
Here is the info:
Platform:
WindowsXP SP3
Version of CEImagesetEditor:
Both binary and source, and for source I compiled both 0.6.2 and 0.7.1
What makes me nervous is that I wonder this issue could have sth. to do with this thread,
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=1&t=4859
which will probably show up in further use of CEGUI
But after I tried all the methods you mentioned in it, this problem could not be solved.
So there maybe some other reason lead to thi issue.
PS: It seems working in different time zones makes conversation a little inconvenient.
Here is the info:
Platform:
WindowsXP SP3
Version of CEImagesetEditor:
Both binary and source, and for source I compiled both 0.6.2 and 0.7.1
What makes me nervous is that I wonder this issue could have sth. to do with this thread,
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=1&t=4859
which will probably show up in further use of CEGUI
But after I tried all the methods you mentioned in it, this problem could not be solved.
So there maybe some other reason lead to thi issue.
PS: It seems working in different time zones makes conversation a little inconvenient.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: CEImagesetEditor unexpected clipping issue
Thanks for the info, though you did forget to mention the wxWIdgets version I'll have a look over some things in the next day or so and get back to you when I have answers.
The issue in that other thread is something that's very specific for a given set of circumstances and is definitely not the cause of this issue in the editor - as evidenced by the fact you also had it in 0.6.2, where the issue in that other thread can not exist ever.
Anyhow, I have a couple of theories to check as to what I so think it could be.
Yeah, it certainly can represent a challenge
CE.
The issue in that other thread is something that's very specific for a given set of circumstances and is definitely not the cause of this issue in the editor - as evidenced by the fact you also had it in 0.6.2, where the issue in that other thread can not exist ever.
Anyhow, I have a couple of theories to check as to what I so think it could be.
PS: It seems working in different time zones makes conversation a little inconvenient.
Yeah, it certainly can represent a challenge
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: CEImagesetEditor unexpected clipping issue
Thanks for the info, though you did forget to mention the wxWIdgets version I'll have a look over some things in the next day or so and get back to you when I have answers.
Oops, I mistake some words...
I will check it in tomorrow. And I guess the version should be 2.8.10.
Re: CEImagesetEditor unexpected clipping issue
I confirmed my wxWidgets version do is 2.8.10, hope this will be helpful.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: CEImagesetEditor unexpected clipping issue
Thanks
I looked into this and after some initial confusion (don't worry, it's common ), managed to reproduce the issue easily. This turned out to be a bug in the editor code and has been fixed in svn trunk for the editor.
Since the fix is so simple, I'll post it here too, in case you'd rather just apply that if you're not using the svn code:
CE
I looked into this and after some initial confusion (don't worry, it's common ), managed to reproduce the issue easily. This turned out to be a bug in the editor code and has been fixed in svn trunk for the editor.
Since the fix is so simple, I'll post it here too, in case you'd rather just apply that if you're not using the svn code:
Code: Select all
Index: src/EditorGLCanvas.cpp
===================================================================
--- src/EditorGLCanvas.cpp (revision 2560)
+++ src/EditorGLCanvas.cpp (revision 2561)
@@ -221,6 +221,7 @@
changeSize( clientWidth, clientHeight );
updateScrollbars();
+ computeZoomFactor(0);
}
//-----------------------------------------------------------------------
CE
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: CEImagesetEditor unexpected clipping issue
Thank you CE
It fix the problem. Maybe I should keep an eye on the svn trunk as well as new release.
It fix the problem. Maybe I should keep an eye on the svn trunk as well as new release.
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 2 guests