sketchucation logo sketchucation
    • Login
    1. Home
    2. mbhawker
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 1

    mbhawker

    @mbhawker

    10
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    mbhawker Unfollow Follow
    registered-users

    Latest posts made by mbhawker

    • RE: .png + shadow casting

      My technique on how I cast shadows from the (aliased!) edges of alpha transparency rather than doing it manually by drawing and deleting faces due to it not being not feasible, requires greater accuracy or is a 3D mesh:

      In Photoshop I make paths of the edges of the alpha (make path from selection), export paths to Illustrator, then in Illustrator I export to .dwg. Depending on the level of detail needed I might simplify paths in Illustrator to keep the resultant Sketchup model as simple as possible.

      Its then a matter of resizing to fit and dropping this onto the imported .png and deleting the faces that are to be transparent (you might have to fix the odd edge to close a face - initially importing the .dwg file at a really large size seems to minimise this). I use the drape tool with the imported .dwg if I have a mesh that isn't 2D, then 'eye dropper' the associated and same-sized .png file and then paint bucket that onto the mesh (i use parallel projection to orientate/resize: the mesh, .dwg and .png as you usually would for the drape tool).

      This technique is probably a workaround if you can't use alpha transparency at all, i.e. want to receive shadows but can't turn off transparency due to transparent materials in a model. I still use the transparent .pngs as it means I can keep a detailed edge to the transparency and have a less intricate imported .dwg file to minimise the work required as throwing shadows doesn't need extremely accurate edges. However you want to make sure that the .dwg file edges are accurate enough not to truncate non-transparent parts of the texture when you're deleting faces (I import the .png into Illustrator, lock it just for a reference and scale/move/edit the paths to ensure they're all in areas of transparency).

      posted in SketchUp Discussions
      M
      mbhawker
    • RE: .png + shadow casting

      I just found this thread facing the same problem - i have png textured meshes for vegetation that include alpha channel transparency that were not receiving shadows.

      What I found though (and forgive me if this has been specified elsewhere) is that by turning off transparency in styles>edit>face they would in fact receive shadows and alpha channel transparency was still retained! However, as a result of turning off transparency the antialiasing around the edge of the alpha channel, where the image file has partial degrees of transparency, reverts to white (grey in my case where it mixes with the antialiasing of my black edges). I did find that by turning off "Use Anti-Aliased Textures" in Model Info>Rendering greatly reduced the noticeability of this making it sufficient for my current project although I am luckily not using any Sketchup-based material transparency. I think if I have enough time I will edit my textures in Photoshop to ensure I have no antialiasing around the edges of the alpha channel.

      Solution: turn off transparency and do not use antialiasing when making alpha channel edges.

      posted in SketchUp Discussions
      M
      mbhawker
    • RE: Walk Through Walls Bug?

      Thanks for the speedy response Gaieus, I shall give that a go ๐Ÿ‘

      posted in SketchUp Bug Reporting
      M
      mbhawker
    • RE: Walk Through Walls Bug?

      sorry, bad description on my part -

      ...it's more like: when modeling, I have permanent section just in front of the camera - and instead of being able to zoom in on a face in detail I instantly go straight through it as I approach. In turn, when I animate, it leaves many external walls partially cut through exposing the insides as the camera negotiates the scenes. I can load other non-affected files so the bug seems to be restricted to a specific saved file.

      Cheers,
      Matt

      posted in SketchUp Bug Reporting
      M
      mbhawker
    • Walk Through Walls Bug?

      Hi,

      I wasn't able to find a forum entry for this bug although I have a feeling its pretty common...

      I seem to have lost collision detection on my faces and when zooming/rotating I go straight through walls, and also cannot zoom in adequately to close details due to this. I have a fairly large file that I am going make a rolling animation from and this will no doubt impact badly upon this too. Is there a known fix or work around for this?

      I'm on Sketchup basic v7 on a Mac.

      Thanks in advance to anyone who can save me!

      Matt

      posted in SketchUp Bug Reporting sketchup
      M
      mbhawker