Welcome to TalkGraphics.com
Results 1 to 9 of 9

Hybrid View

  1. #1

    Default An Opacity Mask "D'oh!" Moment

    The Sketchucation.com site has a SketchUp forum with a long-running ”D’oh!” thread where posters write about program features that, when they encounter them, cause them to say to themselves, “Of course. That was obvious. Why didn’t I see it before?”

    I just had one of those moments with Xara. I had thought opacity masks were just done with various vector shapes. I didn’t realize they could be done with imported bitmap images.

    I had created two PNG images with a rendering extension in SketchUp. The first was a rendering of an architectural model. The second was an alpha mask that screened out the sky and anything else that wasn’t part of the model. Previously I have loaded the two into Paint Shop Pro and applied the second image as a layer mask to the first.

    As I had XDP open, I thought I’d try to do something similar with it. I imported both of the images, selected and copied the mask image to the clipboard, selected the full rendering image, right-clicked on it, and picked “Paste as opacity map” from the context menu. The result was just like it had been in the image editing program (Paint Shop Pro).

    In retrospect, I guess it is sort of obvious. Though the “Opacity Mask” information in Xara Help does focus on vector shapes created with the various tools and the black/white (saturation) levels of their fills, an image is just a rectangular shape with a fill. So “D’oh!”

    Maybe everybody knows this, but maybe someone doesn’t.

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,530

    Default Re: An Opacity Mask "D'oh!" Moment

    Can you create a mini tutorial on how you did this? Or post a series of images that show the steps?

  3. #3

    Default Re: An Opacity Mask "D'oh!" Moment

    OK. See the attached image.

    Click image for larger version. 

Name:	MaskingWithBitmaps.jpg 
Views:	149 
Size:	52.4 KB 
ID:	117074

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,530

    Default Re: An Opacity Mask "D'oh!" Moment

    That's awesome. This old dog (me) might just have learned a new trick.

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,951

    Default Re: An Opacity Mask "D'oh!" Moment

    Don't use SketchUp much Rich but why not just export from SU as 2d image with "Transparent Background" ?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	su-7.png 
Views:	61 
Size:	2.6 KB 
ID:	117076  
    Attached Files Attached Files
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6

    Default Re: An Opacity Mask "D'oh!" Moment

    Most often I use the standard Sketchup texture, material and shadow rendering just as you're suggesting. In this case I was using the Twilight Render plugin (just one of a long list of 'em) which allows you to do photorealistic rendering within Sketchup. With it you have to do the two step process to mask out the model. A renderer I used to use with AutoCAD got rid of the background by just putting a check in a box in a dialog before saving just as you're showing there.

    This just reminded me of the versatility and "swiss army knife" nature of Xara.

 

 

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
  •