sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Trees and SU's OpenGL

    Scheduled Pinned Locked Moved SketchUp Discussions
    3 Posts 2 Posters 25 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alan FraserA Offline
      Alan Fraser
      last edited by Alan Fraser

      I recently uploaded a collection of low-poly, temperate trees to CG Trader. Most had previously been on FormFonts, but I tidied and tweaked them a little. It was only when loading them all into the same SU file that I realised that a couple were horribly mis-sized (sorry about that; corrected now).
      comparison.jpg

      As you can see, they render okay and are passable...if a little flat...in plain vanilla SketchUp.
      I've always wondered about producing higher poly versions for SketchUp that are actually usable, as opposed to some of the ripped-off commercial content that gets pasted to the Warehouse and can sometimes be tens of Mb.
      It seems, however, that SU's use of OpenGL really doesn't like intersecting, transparent images. I even switched from using transparent png files to tiffs with an alpha channel in the hope that the green background might eliminate the halo effect around all the edges. It made some difference but it still looks horrible in native SketchUp.
      composite.jpg

      It's a pity, because it renders just fine and can stand any amount of zooming-in, but for an off the cuff walk-through, as opposed to a pre-rendered video tour it would just look weird.
      I've attached a high and low poly tree for people to play with. The HP version is about 3x the size of the LP version. The Tiff files themselves, which are 512x512 pixels are the best part of 300kb all on their own.
      Maybe I should produce just a few, so that one can be stuck in the foreground of a render, to give a suitable LOD.

      HP and LP trees.skp

      3D Figures
      Were you required to walk 500 miles? Were you advised to walk 500 more?
      You could be entitled to compensation. Call the Pro Claimers now!

      Rich O BrienR 1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator @Alan Fraser
        last edited by

        @Alan-Fraser said in Trees and SU's OpenGL:

        SU's use of OpenGL really doesn't like intersecting, transparent images.

        Only way to get a nice viewport look is to set the material for the leaf/branch to 99% opacity

        5f4e4fd6-a5a6-4831-adf7-90201162a653-image.png

        The downside is SU depth buffer throws its toys out of the pram on orbit and you get this odd 'see inside' appearance.

        Even if you save a png/tiff with 99% opacity its the same result.

        But if you assign the backface material with a 99% opaque version of your front face you get decent enough viewport results but your carrying an extra image.

        Download the free D'oh Book for SketchUp 📖

        Alan FraserA 1 Reply Last reply Reply Quote 0
        • Alan FraserA Offline
          Alan Fraser @Rich O Brien
          last edited by

          @Rich-O-Brien said in Trees and SU's OpenGL:

          But if you assign the backface material with a 99% opaque version of your front face you get decent enough viewport results but your carrying an extra image.

          Thanks Rich, I never thought of assigning front face to back...despite using it all the time in other situations.. It does look slightly better, but as you say, there's a performance hit so I'm not sure it would be worth it if there were several high-poly veggies in the scene.

          3D Figures
          Were you required to walk 500 miles? Were you advised to walk 500 more?
          You could be entitled to compensation. Call the Pro Claimers now!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement