News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Bitmap transparency?

Started by IanC, November 15, 2017, 09:24:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IanC

Think I know the answer  >:(

But do recent versions permit this, or has anyone discovered a workaround?
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Henry Hubich

Do you want the entire image to be transparent, or just the background?

Henry H

IanC

Thanks Henry for the swift reply.

Its just the background - typically what's white on a traditional drawing.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Frank Ansuini

There is a work-around.  Save the section of the drawing you want as a gif file.  With some graphic editors, you can select the color you want to be transparent during the save as gif process.  If TC does not give you that option, save anyway and then re-open the file in a photo editor that does give you that option, e.g. Irfanview.

IanC

Thanks Frank, but I don't think I explained clearly! I'm not trying to export part of my TC drawing as a GIF with transparency.

I want to use one or more raster images as underlays, but with the normally-white background of the raster images being transparent (after of course first saving the raster image as PNG or GIF with transparent background).

Sample PNG attached. If I insert this into a 3D model I can see wireframe 'through' it, but nothing else, such as rendered objects or other raster images. See attached screenshot.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

nikkipollard

You can if you are not in redsdk mode.
You can convert the image, in an image editing program - (like The gimp or photoshop), to a gif file with a transparent background.
Insert the image into turbocad and in the selection info palette uncheck opaque background.

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

IanC

Thanks Nikki, exactly what I needed  :) Works also with PNG.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Alvin Gregorio

Just out of curiosity-- At which version did that "opaque background" come available?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

In 2017 i believe, as i dont see it in 2016

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

IanC

@nikkipollard you kindly responded to me three years ago here. But I now have the same problem!

I've tried inserting PNG, GIF and TIF, all with transparency into TC v17.2, but cannot find the option to un-check "opaque background"!

It defo works in v17, as I've opened an old drawing which I created with this option, but even when selecting the image (with transparency working), I can't see the option checkbox anywhere! Weird!

Any suggestion, or screenshot please?
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Nik_2213

Although unlikely, this *may* be a Win'10 issue as an early update *mostly* broke Alpha-channel support in Zoltan Karpati's 3D Object Converter, one of my favourite $$ utilities.

As I understand it, its popular, but proprietary 3D module became 'unhinged' by alpha channels, began throwing memory exception errors. Author not available, undocumented legacy code has 'no peeking' license, Zoltan grinding his teeth...

Funny thing is that *some* textures' alpha channels still behave, but there's no obvious rhyme nor reason...

I've come to this via Poser (Pro 11.3), whose materials do not support alpha channels as-is. You must use stand-alone transparency maps. So, when adapting PMX, X or XPS/MESH models, I've learned to 'save out' their textures' B&W alpha channel, then re-save those textures without it. Free IrfanView is your friend...

Jeff_in_90620

Quote from: IanC on May 26, 2020, 06:43:54 AM
I've tried inserting PNG, GIF and TIF, all with transparency into TC v17.2, but cannot find the option to un-check "opaque background"!

It defo works in v17, as I've opened an old drawing which I created with this option, but even when selecting the image (with transparency working), I can't see the option checkbox anywhere! Weird!

Purely as a suggestion for experimentation (not an explanation of what I know will work), you might try the free IrfanView utility (https://www.irfanview.com/).  It has Batch functionality allowing you to perform multiple operations on a group of pictures (such as transforming them to another format, (proportional) re-sizing, etc.  You might (because there is an approval step for transparency) be able to open files in one folder and save them to another folder with Transparency activated.  Even if you have to select and approve the transparent color for each image, it could ease the process by making it semi-automatic. 

This may (or may not) provide an Alpha channel definition that will be accepted.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Nik_2213

"... it could ease the process by making it semi-automatic. "

IrfanView's many batch conversion parameters may take some exploring, and best to try it on copies, but I routinely convert multiple tga, png or dds files to the same minus alpha channel, or simply to jpg.

I prefer to move original files into an 'orig' sub-folder, then steer their minus-alpha conversions back to original location. JPGs co-exist, and also serve as guide to file-types that don't 'thumbnail' in Windows Explorer...

I have yet to find how to automatically convert files to *just* their alpha channels, but there are options for partial re-naming, suffixes etc etc so you don't over-write originals: Due Care, Please !!