On Mon, Oct 28, 2013 at 2:29 AM, Tom Browder <[email protected]> wrote:Essentially the same problem I believe--essentially there is no window refresh.
The problem is actually that the framebuffer device is unaware of the change in dimensions. So while the 2D context has been resized by resizing the window, the data structure holding the pixel data is not aware of the change.
As Sean mentioned, that is a known problem and one that has not yetbeen addressed (as Sean often says, "patches welcome!"). And I don'tthink it has been fixed on the current trunk. I have used BRL-CAD formany years and am used to the behavior. I normally use a separateframe buffer and don't worry about re-sizing.
Is it possible to solve this problem?
Nominally the fix is probably to decouple the window/display size from the framebuffer data size, keeping track of both separately. Not complicated, but it's some work that would take a few days to get right.
Will solving this problem be
beneficial for the future or not? If yes, then I would like to work
out on it and will try my best to solve it. If you agree, will you
please provide me with the initials so that I can work on it in a
better way.
To get started, I suggest working with a VERY basic setup because this will quickly get complicated. Learn how to render geometry from outside of mged:
$ mged -c test.g make sph
$ rt test.g sph
That should pop up a framebuffer window with a rendered sphere in it. From there, you can follow the sources. The rt sources are in src/rt and the framebuffer library it calls into is in the src/libfb directory of a source checkout.
I'm having this problem, shall I report bug for this with this specification?
A fix cannot be devised without knowing the cause. You do not know the cause. I do not know the cause. If you minimize the window and restore it, does the issue persist? If the embedded framebuffer is enabled/disabled, does it make a difference? My suggestion is that you figure out exactly under what, if any, conditions on your system it does NOT occur, and then try to understand the difference.
Cheers!
Sean
------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
