GUI Prototyping thread...

Discussion related to the development & design of the LuxRender Graphical User Interface
coordinator: none (position is open)

Moderator: coordinators

Re: GUI Prototyping thread...

Postby Carbonflux » Sun Oct 19, 2008 1:10 am

hi jeanphi...

I am not sure about the idea of altering the lxs file after start up, I have heard it thrown around so I added all the possible options, I will remove it, its easy to add later. :)

I am not sure what you mean by direct access to the number of threads? you mean move it back onto the toolbar?

Thats no problem of course but I saw it as a little used option, I have not had much success using it after a render is started personally, normally I end up segfaulting lux when playing around with it, I figured the best way to deal with was put it in a options dialog. But it would be easy to move back :)

Also I was thinking it might be nice to add a auto-detect button etc.
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1394
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: GUI Prototyping thread...

Postby dougal2 » Sun Oct 19, 2008 6:55 am

Having the number of threads on the toolbar is very useful, I use it all the time.
Also, recent versions of Lux do auto-detect the number of threads on startup if it's not given on the command line.
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

Re: GUI Prototyping thread...

Postby Radiance » Sun Oct 19, 2008 3:25 pm

I agree that the thread control needs to stay :)
I often use it when juggling multiple lux'en around when working :)

However i find the current wxspinctl extremely annoying...
Maybe you can find a more elegant control (like what we had in the previous GUI)

Radiance
User avatar
Radiance
 
Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

Re: GUI Prototyping thread...

Postby Carbonflux » Sun Oct 19, 2008 3:32 pm

ok, I think I understand now thank you :)

Should we lose all the spin controls btw?

I will take a look at the old UI and covert it to something wx and put it back on the toolbar.

:)
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1394
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: GUI Prototyping thread...

Postby Radiance » Sun Oct 19, 2008 3:39 pm

Just make it so that you can't add new thread VERY fast as with the current one. (eg you can go from 1 to 10 threads in 1 second by clicking very fast 9 times), which can cause crashes.
The old one had a pulldown menu for adding one which seemed to give the user some spaces between adding more than 1 in time terms...

Radiance
User avatar
Radiance
 
Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

Re: GUI Prototyping thread...

Postby Carbonflux » Sun Oct 19, 2008 9:44 pm

ah ok, that must have been what happened to me also when just playing with it, I could reduce the number of threads without crashing but it would crash sometimes when adding them, this gives rise to several thoughts, ie; leave the spin control but add a delay and a "thread starting...." message in the status bar, a pull down would be no problem either or even check the flags on the spin control itself and see if there is a way to get it to ignore holding down the mouse and only process one click at a time, I suspect whats going on is some kind of race condition that makes it think the mouse is being held down.

I updated my notes and plan on working on the UI for several hours tonight and tomorrow, thanks for raising the issue :)
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1394
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: GUI Prototyping thread...

Postby jeanphi » Mon Oct 20, 2008 7:13 am

Hi,

Better solution would be to find why it crashes and fix this. I'll try to have a look at it one day :)

Jeanphi
jeanphi
Developer
 
Posts: 6569
Joined: Mon Jan 14, 2008 7:21 am

Re: GUI Prototyping thread...

Postby Carbonflux » Mon Oct 20, 2008 3:10 pm

well, I went in and looked at the behavior of the control itself and its hyper-sensitive, I noticed there were icons already for plus and minus, not sure what was planned for those but I could make them into buttons for the thread controls and only inc the number of threads on mouse up. I need to take another pass to see if I can get the spin control to "slow" down before giving up on it tho :)
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1394
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: GUI Prototyping thread...

Postby Carbonflux » Tue Oct 21, 2008 2:13 am

Here is a example of a alternative for the thead control which seems to be "slow" enough....

lux.ui.thread.1.png
for some reason its scaling this image so its larger then the original, it really does not look this ugly ;)
lux.ui.thread.1.png (9.49 KiB) Viewed 353 times


You just press plus or minus to add threads one at a time, its all hooked up and working in my test version and "seems" to be fine.

Also, I learned how to add icons as you can see by the copy icon, please let me know if its wrong, I can keep redoing the icons until they are correct if there is a need for that :)

All the tone mapping controls are hooked up and "working" I plan on posting the diff's and describing the member vars for the current state of things sometime tomorrow night if possible.

Please let me know if this new threading interface is ok, I can attack the spin control at a deeper level and hook some of the mouse down messages also and maybe fix it that way or change it to a combo box np.

:)
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1394
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: GUI Prototyping thread...

Postby zsouthboy » Tue Oct 21, 2008 12:17 pm

Looks good!
I suggest a "blinking ethernet hub" or something to that effect for the Network tab icon :) The current one is ambigious.
zsouthboy
 
Posts: 327
Joined: Sun Oct 14, 2007 9:28 pm

PreviousNext

Return to LuxGUI

Who is online

Users browsing this forum: No registered users and 1 guest