[Concept] Materials++

[Concept] Materials++

Postby thomthom » Tue Feb 16, 2010 11:03 pm

Material++.png

Fed up with the SketchUp material browser popping up every time I activate the paint tool I've decided to recreate it my way. The small idea has now developed into a larger idea, which also includes the Material Editor.

Additional paint bucket modes:
  • Current scope or full model scope. When in full model scope groups and components are ignored and you paint straight on the edge or face you click on. (Or DrawingElement)
  • Target filter - choose to paint only Edges, Faces, Groups and/or Components.
  • Paint with different materials for front and back.

Material Editor
  • Groups. So when you start adding third party components with lots of odd components you can just collapse that group and keep it out of your way.
  • Multiselect - for export, delete, area etc.
  • Listview with material preview
  • Detail mode, with more info on material details.

Maybe?
  • Filter / Search list?
  • Material Context Menu - Copy/Paste Hex values.
  • V-Ray integration - Asset collection.


Any additional ideas whirling out there? Before I start with the coding I want to map this out properly first.
I want to try and keep it as simple as possible without too many elements.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby Aerilius » Tue Feb 16, 2010 11:30 pm

What should I say? Very promising concept. :berserk: :thumb: :thumb: :thumb: The mock-up looks very professional. Best if Sketchup had already received necessary improvements natively, but as this is not the case I think you take a very courageous step.

I like the idea of painting directly on geometry inside nested components.
Sometimes it would be necessary for me to rotate a material about 90° (UVs, not editing image file), I think that would be good in material edit mode.
I wlike having better control over the arrangement of materials (alphabetic order, or the great idea of groups).
And of course, when opening a file, it shows by default the materials in that model instead of the way it currently is.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby remus » Wed Feb 17, 2010 12:42 am

A colour picker a la the native one would be very helpful. Very cool idea overall though, i look forward to seeing you work the ruby magic :D
0

remus 
 

Re: [Concept] Materials++

Postby alz » Wed Feb 17, 2010 6:21 pm

Wow -- Very cool idea ThomThom!
Very promising interface.

I love the idea of directly painting any face!

Copy/Transfer UVs are good - via local or global.

Groups are good. Would there be a way to preset groups? Or perhaps an option to display a tree-view of the Material directory. I hate getting confused where I'm at in the current browser. There's no need for Favorites, just show me a directory tree :P

When viewing materials in the model, perhaps a usage-counter when listing details? How many faces or objects are using that material (with a right-click "select all users")

A UV key-nudge for transforms (position, rotation, scale). A reset transforms (position, rotation, scale, all).

A simple name search field. Have a big list (even nested)? Just type "brick" and it'll then only list all "*brick*" materials.
0

alz 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby jeff hammond » Wed Feb 17, 2010 6:26 pm

looks awesome tt.

you think it will work on macs?
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Concept] Materials++

Postby thomthom » Wed Feb 17, 2010 6:28 pm

alz wrote:Groups are good. Would there be a way to preset groups?

I was thinking of attaching the Group data with the material. So when copying between models or loading components it'd follow.

alz wrote:Or perhaps an option to display a tree-view of the Material directory. I hate getting confused where I'm at in the current browser. There's no need for Favorites, just show me a directory tree

Initial idea was just a list of material in the model. There is no way to load .skm files into SU via ruby.

alz wrote:When viewing materials in the model, perhaps a usage-counter when listing details? How many faces or objects are using that material (with a right-click "select all users")

There is no efficient way of getting this data from the model. Would have to iterate the whole model - not something you want to happen often.
But could be part of a report. I was thinking of a report that would list what definitions where a material has been used.

alz wrote:A UV key-nudge for transforms (position, rotation, scale). A reset transforms (position, rotation, scale, all).
Can you elaborate on this?n Not sure if I fully understand.

alz wrote:A simple name search field. Have a big list (even nested)? Just type "brick" and it'll then only list all "*brick*" materials.

Yea - this is something I think would be useful.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby thomthom » Wed Feb 17, 2010 6:29 pm

Jeff Hammond wrote:you think it will work on macs?

Good question. I hope it will. But you never know when making stuff with webdialogs. Heck - might even find it failing on PC.

*sigh*

Would not be the first projects of mine to fall apart due to flawed API.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby alz » Wed Feb 17, 2010 7:40 pm

thomthom wrote:
alz wrote:A UV key-nudge for transforms (position, rotation, scale). A reset transforms (position, rotation, scale, all).
Can you elaborate on this?n Not sure if I fully understand.


I just realized this branches over to UV editing and not the core idea behind your Material browser, so it might not make sense. But in the vibe of paint control, it'd provide a way to push and pull UVs via the keyboard. I think there's already some plugins out there that do this, so it's probably not the best suggestion for your time :)
0

alz 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby thomthom » Wed Feb 17, 2010 7:58 pm

I'll put it in the "Look at later" pile. But I think I'll skip it for the initial release.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby chrisjk » Wed Feb 17, 2010 8:53 pm

Thom,
A button to rotate a texture and duplicate it in the process through 90 degrees would be useful. It's easy enough to do on a single planar face using texture>position but for simply dropping a texture on a curved surface, I'd like to have the two orientations readily available.
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Concept] Materials++

Postby alz » Thu Feb 18, 2010 5:46 pm

Ah -- here's one I found myself wanting this morning --

A browser option to swap or condense materials. Select a bunch of materials in your list and swap them all for a different material.
0

alz 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby thomthom » Thu Feb 18, 2010 6:11 pm

Ah yes, merge. Good one.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Concept] Materials++

Postby Pixero » Thu Feb 18, 2010 9:37 pm

WOW!
Me wants.... :sketchstatic:
0
User avatar
Pixero 
 

Re: [Concept] Materials++

Postby bagatelo » Fri Feb 19, 2010 2:27 am

My wish list:
-Procedural materials
-Something like Adobe Kuler
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

Re: [Concept] Materials++

Postby thomthom » Fri Feb 19, 2010 8:32 am

bagatelo wrote:-Procedural materials

Far beyond the scope of this plugin and my own capabilities I'm afraid. Procedural textures is far from a light task

bagatelo wrote:-Something like Adobe Kuler

What is that? A tool that generate colour schemes? I've never used Adobe Kuler.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Color Picker] Materials++

Postby Dan Rathbun » Sat Feb 20, 2010 2:52 pm

remus wrote:A colour picker a la the native one would be very helpful.


I've long wanted a color picker for use with SU Ruby.

Had planned to see if Chameleon could be setup as a WebDialog to give us a quick and dirty picker. It's a free (BSD license,) totally Js based popup picker.
http://karmatics.com/chameleon/

I can get the native color picker to popup thru Sketchup.send_action but can't figure out how to get the return color value. (There is an object for Win32 that can be embedded in webpages for the crappy Win3.0 style picker on MSIE, but noone wants that one, and it's not cross-platform.)

So me thinks Chameleon might be a fasttrack solution. I wanted to make it a standalone WebDialog that could be called from ANY ruby, or from ANY WebDialog (via a callback to ruby.)
0
    I'm not here much anymore. But a PM will fire email notifications.
    User avatar
    Dan Rathbun 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby RickW » Fri Aug 06, 2010 2:22 pm

    alz wrote:Ah -- here's one I found myself wanting this morning --

    A browser option to swap or condense materials. Select a bunch of materials in your list and swap them all for a different material.

    You mean something like Repaint? I'm working on a GUI for this, with one-for-many replacement, and drag-and-drop selections. Early testing was going well, but my day job slowed development...
    0

    RickW 
     

    Re: [Concept] Materials++

    Postby pieterv » Wed Sep 08, 2010 11:11 pm

    Cool, sounds very interesting and promising!!! I have two suggestions, but I guess they are probably not possible. Anyway:

    - A BIGGER color wheel then the standard one, which is realy not handy.

    - The ability to use "Ctrl-Z" in the materials section!
    0
    User avatar
    pieterv 
     

    Re: [Concept] Materials++

    Postby EscapeArtist » Thu Sep 09, 2010 12:25 am

    Ability to add a directory of textures to the library?
    0
    User avatar
    EscapeArtist 
    Top SketchUcator
     

    Re: [Concept] Materials++

    Postby thomthom » Thu Sep 09, 2010 7:25 am

    pieterv wrote:Cool, sounds very interesting and promising!!! I have two suggestions, but I guess they are probably not possible. Anyway:

    - A BIGGER color wheel then the standard one, which is realy not handy.

    - The ability to use "Ctrl-Z" in the materials section!

    Ugh, the colour wheel - I really can't stand that thing. I don't see how people manage to use it? Oh well, I can add it to the list - but it won't be priority. In fact, the material editing is lower on the list - first comes the browser part of it.

    Btw, what do you mean by Ctrl+Z in the material section? You want Ctrl+Z to undo changes in the model?
    0
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby thomthom » Thu Sep 09, 2010 7:25 am

    EscapeArtist wrote:Ability to add a directory of textures to the library?

    I like this idea. :thumb:
    0
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby pieterv » Thu Sep 09, 2010 6:07 pm

    Yes, that's what I mean. When I apply a material for example, I can not use Ctrl+Z to undo it. When I move one of the sliders to change a colors saturation for example, I can also not undo the change I have made.
    0
    User avatar
    pieterv 
     

    Re: [Concept] Materials++

    Postby thomthom » Thu Sep 09, 2010 7:05 pm

    YEa - Keystrokes aren't sent to SU while the focus is at one of the toolbar windows. Something that has annoyed me since I started using SU. Mostly when you undo changes to a model and when you undo a material change the focus automatically shifts to the toolbar window and you have to click on the SU window to make the shortcuts work again.
    0
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby EarthMover » Fri Sep 10, 2010 12:30 am

    A paintbrush tool to apply materials while dragging across multiple faces. It would be a big help when applying projected textures with hidden geometry turned on for things like rounded corners and SDS meshes. With SU's poor UV capabilities most of us end up projecting multiple facing textures to organic geometry to fake it. The one click per face or drag select methods are a real pain with a lot of small triangles.
    0
    3D Artist at Clearstory 3D Imaging
    Guide Tool at Winning With Sketchup
    Content Creator at Skapeup
    User avatar
    EarthMover 
    Premium Member
    Premium Member
     

    Re: [Concept] Materials++

    Postby pieterv » Fri Sep 10, 2010 12:35 am

    EarthMover wrote:A paintbrush tool to apply materials while dragging across multiple faces. It would be a big help when applying projected textures with hidden geometry turned on for things like rounded corners and SDS meshes. With SU's poor UV capabilities most of us end up projecting multiple facing textures to organic geometry to fake it. The one click per face or drag select methods are a real pain with a lot of small triangles.


    I definitly second that.

    @Thom:

    Aha, so that's the reason! Interesting.
    0
    User avatar
    pieterv 
     

    Re: [Concept] Materials++

    Postby thomthom » Fri Sep 10, 2010 6:59 am

    EarthMover wrote:A paintbrush tool to apply materials while dragging across multiple faces. It would be a big help when applying projected textures with hidden geometry turned on for things like rounded corners and SDS meshes. With SU's poor UV capabilities most of us end up projecting multiple facing textures to organic geometry to fake it. The one click per face or drag select methods are a real pain with a lot of small triangles.

    Got some experiments in regards to that area going on. ;)
    0
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby rv1974 » Mon Sep 13, 2010 8:51 am

    Hi!
    Would it be possible you implement some 'putting to order' utilities disscussed here: viewtopic.php?f=323&t=26013&hilit=material+replacer
    (the 3rd post from the page end)? Though I wouldn't mind to get it with standard mateditor
    I waited something like this with '8' but among many others gaps totalmente nada ):
    0

    rv1974 
     

    Re: [Concept] Materials++

    Postby Panga » Mon Nov 22, 2010 10:48 am

    Hi Thomthom,

    Nice concept that you have here, any news about it ?
    0

    Panga 
    Premium Member
    Premium Member
     

    Re: [Concept] Materials++

    Postby thomthom » Mon Nov 22, 2010 11:02 am

    Not so far - I was putting it on hold in hopes that SU8 would add/fix some methods that would make it easier to develop. Alas this did not happen so I think I need to work out a design based on the current limitations.
    0
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom 
    PluginStore Author
    PluginStore Author
     

    Re: [Concept] Materials++

    Postby thirty6 » Tue Sep 06, 2011 6:42 pm

    alz wrote:Ah -- here's one I found myself wanting this morning --

    A browser option to swap or condense materials. Select a bunch of materials in your list and swap them all for a different material.


    I second that, deleting materials, merging materials and select all by material would be great (which though a standard option does not seem to always work.

    Matthew
    0

    thirty6 
     

    SketchUcation One-Liner Adverts

    by Ad Machine » 5 minutes ago



    Ad Machine 
    Robot
     

    Next


     

    Return to Developers' Forum

    Who is online

    Users browsing this forum: jshal and 5 guests

    Visit our sponsors: