Saving and Loading panel settings using .ini files...

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

Moderator: coordinators

Saving and Loading panel settings using .ini files...

Postby Carbonflux » Thu Apr 14, 2011 6:26 pm

I just pushed a initial implementation of the mantis task: ability to save current tonemapping and light group settings from luxGUI into external file. This is implemented using Qt's qsettings and supports saving and loading the settings from the gamma, tonemapping and light groups panels to .ini files.

This is a very minor feature and I am not sure if its even worthy of a forum post but it seems like it can be useful for some things. What this allows for is "mood" files, such as day or night lighting or variations on tonemaping or CRFs. The light group elements are scene specific, it will not create new light groups and if a light group in the scene is not in the file it will set the values to the default.

This feature however lays the ground work for implementing the ability to output an animation of light groups settings on still image.. for seamless transitions between lights. The .ini files could be used as key frames for linear interpolation.

Please let me know what you think if anything, for example, should all the settings be in one file? Or if there are any bugs etc, there does seem to be a bit of lag right now for the settings to show up in the rendered image. I plan on looking into this while working on the light groups refuse to be switched off bug and hopefully get a fix in before release. There does seem to be a general issue with tonemapping reflecting settings right away in several areas.

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

Re: Saving and Loading panel settings using .ini files...

Postby jeanphi » Fri Apr 15, 2011 2:22 am

Hi,

!yes, I saw your commit. That's a great new feature, I think lots of people will like it.

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

Re: Saving and Loading panel settings using .ini files...

Postby Carbonflux » Fri Apr 15, 2011 4:30 am

Thanks Jean.

I have just been trying to chip away at open mantis tasks and I only realized after I had coded it that this was slated for 0.9, I am relieved you are ok with letting me bump it into 0.8. :)

I was wondering if you have any thoughts about light group animation and also its relation to the release cycle? It does seem like a 0.9 or 0.8.1 feature, I admit I feel excited about the kinds of videos we could produce with light group animation.
www.carbonflux.org - photographing the imagination.
User avatar
Carbonflux
Developer
 
Posts: 1396
Joined: Thu Aug 07, 2008 7:22 pm
Location: Seattle, WA, USA.

Re: Saving and Loading panel settings using .ini files...

Postby jeanphi » Fri Apr 15, 2011 4:51 am

Hi,

Well, given that we are about to release RC3, it's better to fix issues rather than add features, but as long as changes are isolated the risk is low, so why not have a few new features as well.

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

Re: Saving and Loading panel settings using .ini files...

Postby patro » Fri Apr 22, 2011 8:01 am

thank you Carbonflux... the just available feature is very usefull ;)
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna


Return to LuxGUI

Who is online

Users browsing this forum: No registered users and 1 guest