sunflow
sunflow copied to clipboard
Rendering display does not update itself
I am using Sunflow for test renders so I made my own GUI around it. Everything works except just one very annoying thing: For some reason Display frame (I mean that window that opens up showing rendering image in process) does not display progress of rendering - it stays blank and somewhat "frozen" until the very end when it shows complete rendered image...and I do wonder WHY??? :-O I basically copied render() part from SunflowGUI so it should work right away I thought..well, it does except that strange issue - CAN ANYONE HELP PLEASE?
To me it looks like if for some reason repaint() in "imageUpdate" method/function inside ImagePanel.class does not work...cos if I comment it out nothing changes from its previous strange behavior: render starts, no image update in Display window, and once it is completely rendered it is shown at once in that window.
Or maybe there is something in original SunflowGUI that is required that I did not implement in my GUI (as I used basically just the rendering function of Sunflow but GUI is completely my own and different to Sunflow)?
ah, SOLVED it myself just today evening: it really was a matter of misrepresenting the whole GUI thing (yes, there was a lot missing in my initial GUI...and I was actually like doing CMD line render ::-D)