Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Apply Poly Backface Color?

  1. #1
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686

    Question Apply Poly Backface Color?

    Been working with a number of SketchUp models recently and converting to LWO. WOW, what a bunch of CRAP modeling!!!!... mostly because SU is "Easy To Use", so you have gobs of absolute dummies making junk. I'm tediously correcting the crap in the process by various means, depending upon said crap. In some cases, I eventually learn that it would have been far better to have just started from scratch in a proper modeler.

    By far, the biggest pain in the butt is flipped normals. The ubiquitous use of double-sided to cheaply evade correct physical modeling is second. Mostly, a given object will have some of its normals flipped; not all, and not in a uniform pattern. The latter would make it easy, but NNNNnnnnOOOOOoooooooo. Do you get the idea that I hate SketchUp; not to mention the huge uptake in plugins written to interface with it, but LightWave gets completely ignored!? But I digress....

    The Request:
    In all of the LightWave Modeler display modes, flipped polys are not easily identified. When seen from the opposite of the normal, they are "not there". So, either they are flipped or actually not there; each requiring a different remedy. Align Tool most often does zip, BTW.

    Problem is, the geometry seen through said opening is the same color as the front-facing polys, so oscillating the model in Perspective View and seeing edges moving through the opening is the only way I have found to locate them. Yes, you can see the odd display of the "inside of an object" in some of the modes; where the lighting of the surface is backward, but selecting discreet polys in those modes is not efficient—nor is identifying individual polys in a field of correctly facing ones. Further, sometimes the lighting looks correct, so you gloss over it! PAIN IN THE BUTT!

    Solution?
    Some applications have a setting to color backfaces something garishly different, so that they can be readily identified and dealt with in the manner required by the condition at hand. With this feature, not only are the flipped polys explicitly displayed as being different from the rest of the model, they are also differentiated from absent polys. Is there a plugin that provides this functionality? G2 has a backface color that is used for the old "air polys" trick to generate proper refraction in transparents; but it only works in Layout, so not a solution in Modeler where the corrections need to be applied in order to produce a clean model in the first place.

    Thanks for any ideas.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  2. #2
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,356
    Double Sided turned on,
    then Spot Info > Polygon Side, plug to Gradient, or Mixer, with f.e. red, and blue colors picked,
    then to Diffuse Shading.

    This will immediately show which are front which are back.

    Proton made video tutorial how to do it. Search YouTube.

  3. #3
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    Cool! Thanks. Will try it first thing in the AM. But, if I'm grokking correctly, this would require this to be done per-surface; not for the entire model mesh itself independent of surface? Most of these models have 30+ different surface textures defined for a simple model. More complex models even worse. Why? Because they don't know what they're doing and are applying textures with reckless abandon (read: "ignorance"); a lot of it duplicated and most of them are "Color_0A1", "Color_0C5", "Material_D34"... etc. No identification whatsoever. You have to select by surface to see what is what. Like I said, better to just bite the bullet, reinvent the wheel and model it from scratch.

    BTW, search, not directly on YT, turned up zip that was even remotely relevant. Did that first or I wouldn't be asking.
    Last edited by spherical; 01-11-2016 at 03:31 AM.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  4. #4
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,356
    Quote Originally Posted by spherical View Post
    Cool! Thanks. Will try it first thing in the AM. But, if I'm grokking correctly, this would require this to be done per-surface; not for the entire model mesh itself independent of surface?
    Yes, per-surface. But don't you have Global Materials? IIRC you have..
    Spread GM to all surfaces, and connect above setup to GM input to override all.

    Or set up in one Node Editor, and Spread Surface.

  5. #5
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    GM is Layout, yes?
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  6. #6
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,356
    Quote Originally Posted by spherical View Post
    GM is Layout, yes?
    Yes... Node Editor and set up using Spot Info, Polygon Side, is Layout too.. Nodes don't render in Modeler.
    I want you just give idea how to identify which polygons to flip..

  7. #7
    ex-LightWave documentation BeeVee's Avatar
    Join Date
    Feb 2003
    Location
    Pessac
    Posts
    5,264
    Also Spherical, Normals are turned off in Modeler by default now. Hit d, and turn on Show Normals. If you don't want them in the Perspective view, so as to not distract from seeing the overall model you are working on, go into the Viewports Tab, turn on "Independent Visibility" and switch "Show Normals" off where you don't want them

    B
    Last edited by BeeVee; 01-11-2016 at 06:03 AM.
    Ben Vost
    LightWave 3D Docs wiki
    AMD Threadripper 1950X, Windows 10 Pro 64-bit, 32GB RAM, nVidia GeForce GTX 1050Ti (4GB and 768 CUDA cores) and GTX 1080 (8GB and 2560 CUDA cores) driver version 456.71, 2x4K 23.5" monitors
    Dell Server, Windows 10 Pro, Intel Xeon E3-1220 @3.10 GHz, 8 GB RAM, Quadro K620
    Laptop with Intel i7, nVidia Quadro 2000Mw/ 2GB (377.83 and 192 CUDA cores), Windows 10 Professional 64-bit, 8GB RAM
    Mac Mini 2.26 GHz Core 2 Duo, 4 GB RAM, 10.10.3

  8. #8
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    Quote Originally Posted by Sensei View Post
    Yes... Node Editor and set up using Spot Info, Polygon Side, is Layout too.. Nodes don't render in Modeler.
    I want you just give idea how to identify which polygons to flip..
    Well, it's a workaround but I'll take it. Thanks. Just would be more direct if Modeler could simply do this. I mean, it now shows them as transparent. Seems that they could be set to NOT be transparent as easily when needed. Perhaps a selection in the GL panel for what to display. Heck, I'd think that having a display of polys that Align thinks it should flip, because "some of these are not like the others" would suffice.

    Quote Originally Posted by BeeVee View Post
    Also Spherical, Normals are turned off in Modeler by default now. Hit d, and turn on Show Normals.
    Normals On are in my default settings when installing a new version. Having them off by default hacked me off, but it's easily dealt with. Using them is one of the indications in addition to being "not there" in a surface display mode. Still is a pain in the butt to sort these out, select them and correct the situation.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  9. #9
    geo messy madno's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    848
    Far from being perfect but maybe at least of some help in Modeler?

    Click image for larger version. 

Name:	SelectByNormal.png 
Views:	44 
Size:	509.1 KB 
ID:	131860

  10. #10
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    I'll give it a go. Thanks!

    Too bad it doesn't have a Select by Polys Facing In.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  11. #11
    it's a manhole cover ↓ JoePoe's Avatar
    Join Date
    Jun 2006
    Location
    LISA
    Posts
    1,969
    Have you tried Normal Corrector and Unify Normals?
    (in that order. Best if the geometry is broken down into maneageable sections)
    Work pretty well .... most of the time.
    Can't promise they will catch everything, but it could take a massive bite out of what's needed.

    Edit: Normal corrector took this Click image for larger version. 

Name:	Screen Shot 2016-01-12 at 1.47.04 PM.png 
Views:	35 
Size:	81.8 KB 
ID:	131866 to this Click image for larger version. 

Name:	Screen Shot 2016-01-12 at 1.47.35 PM.png 
Views:	28 
Size:	88.1 KB 
ID:	131867 in one click.
    Last edited by JoePoe; 01-12-2016 at 12:52 PM.
    System Specs: A pile of sand, a couple of wires, a real live mouse and a beer.

  12. #12
    Time Traveller Andy Webb's Avatar
    Join Date
    Jul 2003
    Location
    Hertfordshire UK
    Posts
    2,183
    spherical I feel your pain, hours wasted fiddling with Sketchup models.
    Andy Webb

    Intel core i7-3820 3.60GHz
    ASUS PRIME Z370-A motherboard
    GeForce GTX 660
    32 Gb RAM
    Windows 10

  13. #13
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    Quote Originally Posted by Andy Webb View Post
    spherical I feel your pain, hours wasted fiddling with Sketchup models.
    Good to learn that I'm not alone. It's inevitable when something is made for the masses (easy to use) that you get a bunch of drek. Thingiverse is a festering pool of it for 3D printing. They hand some model to a slicer that actually knows what it is doing and it barfs on it. Then complain that the slicer has a bug. Uhhhh... no.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

  14. #14
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,356
    Can somebody attach example SketchUp models?
    I will see what is wrong with it.
    Maybe there will be a way to automatically fix by plugin.

  15. #15
    Super Member spherical's Avatar
    Join Date
    Dec 2004
    Location
    San Juan Island
    Posts
    4,686
    Quote Originally Posted by JoePoe View Post
    Have you tried Normal Corrector and Unify Normals?
    I had DL'd Normal Corrector last month but the description says it's for correcting non-planars. From that, I didn't extrapolate that it would flip anything. After pasting an entire model into one layer and running Merge Trigons (NC won't work if not at least quads) it does a partial job, but leaves some untouched or incorrectly flips ones that were correct.

    Unify Normals (Why the hell is it placed THERE in the menus? Had to search for it.) produces the same amount of chaotic confusion that Align does, so not as good as NC. Thansk for the tip. It gets me way farther along than the alternatives.
    Blown Glass · Carbon Fiber + Imagination

    Spherical Magic | We Build Cool Stuff!

    "When a man loves cats, I am his friend and comrade, without further introduction." - Mark Twain

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •