Design question: de-couple material from medium...
- zurkdahool
- Posts: 34
- Joined: Thu Aug 27, 2015 12:14 am
- Location: Germany, Berlin
Design question: de-couple material from medium...
Hi,
i started to de-couple the medium properties panel from the material tab. I moved the medium definition to the world panel and make a selection box in the Material panel.
World Panel:
Material Panel: It is the first draft which works well for me (inclusive the export). I will move the medium definition panel in the future into a template_list which is much more comfortable...
Some questions:
- The indigo demo (full version) always show an error: dermis / epidermis currently not currently supported... I used the demo version because i only have a RT license. Is dermis / epidermis supported in full version? If so i am not able to test it...
- Should SSS options placed into the medium panel or the material-(tab)? As i understood SSS is an option for a medium, not a material...
- Any other suggestions about the UI?
i started to de-couple the medium properties panel from the material tab. I moved the medium definition to the world panel and make a selection box in the Material panel.
World Panel:
Material Panel: It is the first draft which works well for me (inclusive the export). I will move the medium definition panel in the future into a template_list which is much more comfortable...
Some questions:
- The indigo demo (full version) always show an error: dermis / epidermis currently not currently supported... I used the demo version because i only have a RT license. Is dermis / epidermis supported in full version? If so i am not able to test it...
- Should SSS options placed into the medium panel or the material-(tab)? As i understood SSS is an option for a medium, not a material...
- Any other suggestions about the UI?
Re: Design question: de-couple material from medium...
Dermis/epidermis is disabled in full version as well.zurkdahool wrote: Some questions:
- The indigo demo (full version) always show an error: dermis / epidermis currently not currently supported... I used the demo version because i only have a RT license. Is dermis / epidermis supported in full version? If so i am not able to test it...
- Should SSS options placed into the medium panel or the material-(tab)? As i understood SSS is an option for a medium, not a material...
- Any other suggestions about the UI?
SSS is definitely medium properties. Where to display it best is a UI issue however.
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
Re: Design question: de-couple material from medium...
I think placing the medium definition in the world tab is kind of confusing. keeping it associated with the material tab but somehow allowing for various materials to re-use a medium once defined would be better. but the capabilities of python are beyond my full understanding, so I don't know what's doable there.
- zurkdahool
- Posts: 34
- Joined: Thu Aug 27, 2015 12:14 am
- Location: Germany, Berlin
Re: Design question: de-couple material from medium...
It should be possible to place it into material tab but to change a medium (which can be assigned to many materials (1:n) ) may become also confusing? Hmmm, have to think about it... *confusing*
I will check if it's possible to code it into material tab...
I will check if it's possible to code it into material tab...
- zurkdahool
- Posts: 34
- Joined: Thu Aug 27, 2015 12:14 am
- Location: Germany, Berlin
Re: Design question: de-couple material from medium...
Agree! I think that makes more sense: Nice and easy, huh?!FakeShamus wrote:I think placing the medium definition in the world tab is kind of confusing. keeping it associated with the material tab but somehow allowing for various materials to re-use a medium once defined would be better. but the capabilities of python are beyond my full understanding, so I don't know what's doable there.
The medium parameters and SSS options will be placed under the 'Medium add / remove' widget (above Absorption Layer). It is currently work in progress and not on the screenshot...
To place the medium widget into material tab is more work and a little bit tricky (storing global properties and so on ...). Hopefully it will work...
- Oscar J
- Posts: 2204
- Joined: Sat Mar 31, 2012 3:47 am
- Location: Gothenburg, Sweden
- 3D Software: Blender
Re: Design question: de-couple material from medium...
Wow, clever! I think you're definitely not getting enough cred for the work you're doing here. Keep it up!
Re: Design question: de-couple material from medium...
This is awesome! We really need to think about some kind of reward system for these efforts.
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26
Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26
Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog
- zurkdahool
- Posts: 34
- Joined: Thu Aug 27, 2015 12:14 am
- Location: Germany, Berlin
Re: Design question: de-couple material from medium...
Good news: It will work and i am finished with UI work / implementation
Bad news: takes a couple of days to modify the export...
Overall the framework and Blender API are really good and makes now more sense to me after digging in the code. I think i will be faster in the future
BTW. You can download current implementation and get a feeling:
https://github.com/Zurkdahool/blendigo/tree/decouple
Be warned: developing version and export will not work
Bad news: takes a couple of days to modify the export...
Overall the framework and Blender API are really good and makes now more sense to me after digging in the code. I think i will be faster in the future
BTW. You can download current implementation and get a feeling:
https://github.com/Zurkdahool/blendigo/tree/decouple
Be warned: developing version and export will not work
Re: Design question: de-couple material from medium...
There is no bad news here!
Your efforts are truly appreciated and I am very glad you stepped in.
Since Doug Hammond, the original author of Blendigo left well over a year ago ( or has it been two or more ?) user Fused has done his best to keep the exporter up to date and while it works OK you can see there is demand for additional features and just a general overhaul.
So if it takes you a day or two, or a week or two, or a month or two to make something work, that'll be fine.
Sent from my iPad using Tapatalk
Your efforts are truly appreciated and I am very glad you stepped in.
Since Doug Hammond, the original author of Blendigo left well over a year ago ( or has it been two or more ?) user Fused has done his best to keep the exporter up to date and while it works OK you can see there is demand for additional features and just a general overhaul.
So if it takes you a day or two, or a week or two, or a month or two to make something work, that'll be fine.
Sent from my iPad using Tapatalk
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26
Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26
Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
Re: Design question: de-couple material from medium...
This is great. Exactly what I was thinking!
- zurkdahool
- Posts: 34
- Joined: Thu Aug 27, 2015 12:14 am
- Location: Germany, Berlin
Re: Design question: de-couple material from medium...
Done... export is working. Medium is now total decoupled (also most of the code)...
Before making a pull request to official blendigo tree in the next days i will fix some minor issues and do some testing (help are welcome!)
I have done some additional UI work:
(1) Material Type now directly in MaterialButtonPanel (not in extra widget)
(2) Enum Button instead of Menu (fast and easy access - i like to 'push that button' )
(3) Slider for some values
(4) Dependencies will greyed out (beta)
(5) Alerting ...
Hope you like it.
Before making a pull request to official blendigo tree in the next days i will fix some minor issues and do some testing (help are welcome!)
I have done some additional UI work:
(1) Material Type now directly in MaterialButtonPanel (not in extra widget)
(2) Enum Button instead of Menu (fast and easy access - i like to 'push that button' )
(3) Slider for some values
(4) Dependencies will greyed out (beta)
(5) Alerting ...
Hope you like it.
Re: Design question: de-couple material from medium...
Hi Zurkdahool.
Just to advise you that in blender the atmosphere medium needs a center of reference in order to work.
This center rules the way atmosphere fill the body that enclose the material (but usually this is related with the center of the geometry used; a sphere). The atmosphere medium starts at 6378135 meters from the center of "Earth" and extents over 80 km. Just take a look at the GUI in Indigo.
Good work, so many thanks.
Just to advise you that in blender the atmosphere medium needs a center of reference in order to work.
This center rules the way atmosphere fill the body that enclose the material (but usually this is related with the center of the geometry used; a sphere). The atmosphere medium starts at 6378135 meters from the center of "Earth" and extents over 80 km. Just take a look at the GUI in Indigo.
Good work, so many thanks.
"... nor 0.2 galaxys, nor 0.8 little chikens ..."
Who is online
Users browsing this forum: No registered users and 77 guests