News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

Materials with images

Started by colinreid, August 12, 2022, 09:24:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colinreid

I have included material problem.tcw (TC2018) and two files of flags (texture.png and its textured wrapped mask texture1 copy.bmp). And a drawing showing what I am trying to model (A07280-A.jpg) (The flag files are also embedded in the TCW file

I have already added the number of the lifeboat as follows:-
a)  measured its height and angle on a drawing downloaded
b)  extruded the red rectangle in the centre wider than the hull
c)  copied it and the hull using make copy in the same place
d)  used 3DIntersect and 3Dsubtract to form the subsequent hole in the hull
e)  used facet editing to change rectangle in the hull from a dark blue material to RNLIflag.

I modeled what I did next on Don Checke A320 airplane exercise and added the wrapped image and mask to that material.

My problem that need some advice on is that when I draft or quality render the hull, the flag does not show up and I have not found a way round that yet.  Any advice on a cure would be most welcome.

Then, of course, I could not upload anything (come on IMSI sort it) and had to undertake a crash course on google drive which yields the following link

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

I am no expert but please give it a try
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Torfinn

The file is not shared correct.
After you have uploaded the file, find it and right click on it, then select share and click on the menu so you can change it to "All that have the link" or something like that, then click Link so you get it on your clipboard, then in a post ctrl + v to paste it

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

colinreid

TTorfinn - thanks for your guidance - I have added a new link hopefully you can open

https://drive.google.com/file/d/1YU7KCPNgimcFqoI-x09CQD3sVXD3-dcW/view?usp=sharing
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Alvin Gregorio

I was (presumably-- We are) able to Download and open your file, Colin.
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)

Henry Hubich

Colin, now we need the image you used for the flag. The one embedded in the .tcw won't serve.

Henry H

Alvin Gregorio

I'm looking forward to you coaching us on this Henry (again).  I always forget how to do this.
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)

Henry Hubich

The hull seems to be a zero-thickness "sheet object," which is difficult to work with; and I haven't been able to repair it.

Henry H

Alvin Gregorio

Quote from: Henry Hubich on August 13, 2022, 10:17:46 AMThe hull seems to be a zero-thickness "sheet object," which is difficult to work with; and I haven't been able to repair it.

Henry H
>I inserted a 3D Polyline at the bottom of the intended Flag location opening; Vertex snapping to the form-building facet triangulation points.  Display/Draw_form-building_edges active, so I can see what's happening; with Vertex Running Snap and Show Magnetic Point active.
>Repeated with the top of the intended Flag location opening.
>Ensuring both the bottom and top 3D Polylines had the came number of vertices.

Then Lofted between them.

Now I'm ready for Henry to learn me the magic.   And Colin to provide us with a good image of the unfurled Flag.
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)

Alvin Gregorio

#8
Maybe one of THESE

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)

Henry Hubich

Quote from: Alvin Gregorio on August 13, 2022, 11:01:05 AM
Quote from: Henry Hubich on August 13, 2022, 10:17:46 AMThe hull seems to be a zero-thickness "sheet object," which is difficult to work with; and I haven't been able to repair it.

Henry H
>I inserted a 3D Polyline at the bottom of the intended Flag location opening; Vertex snapping to the form-building facet triangulation points.  Display/Draw_form-building_edges active, so I can see what's happening; with Vertex Running Snap and Show Magnetic Point active.
>Repeated with the top of the intended Flag location opening.
>Ensuring both the bottom and top 3D Polylines had the came number of vertices.

Then Lofted between them.

Now I'm ready for Henry to learn me the magic.   And Colin to provide us with a good image of the unfurled Flag.

Let's see what we're working with, Alvin.

Henry H

colinreid

Alvin - The RNLI flag is their corporate flag but the actual boats have a more unfurled flapping version on the hulls.  So, I have added that to the google drive with the model and copy as follows:-

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

I hope this is OK?

Henry please see the new link for a more detailed flag.  I tend to use beziers for hull sections and the loft them to form the hull.  I can convert them to a more solid hull by converting the beziers with a L polyline but I do it this way as the deck is always a different material and my way keeps the hull and deck separate.  Does this affect my problem with the material with the flag.

Alvin - it will take me a while to unravel your solution but I will give a go
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Alvin Gregorio

Quote from: colinreid on August 14, 2022, 03:24:43 AMAlvin - The RNLI flag is their corporate flag but the actual boats have a more unfurled flapping version on the hulls.  So, I have added that to the google drive with the model and copy as follows:-

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

I hope this is OK?

Henry please see the new link for a more detailed flag.  I tend to use beziers for hull sections and the loft them to form the hull.  I can convert them to a more solid hull by converting the beziers with a L polyline but I do it this way as the deck is always a different material and my way keeps the hull and deck separate.  Does this affect my problem with the material with the flag.

Alvin - it will take me a while to unravel your solution but I will give a go

Understood-- about the flapping-in-the-wind flag.
___
If one keeps it very clean, I think lofting between consecutive beziers to create the inside or outside of the hull would work.
Then once that's completed as one likes, use the Shell tool to create the body of the hull.

I think that would work.
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)

Alvin Gregorio

Quote from: colinreid on August 14, 2022, 03:24:43 AMAlvin - The RNLI flag is their corporate flag but the actual boats have a more unfurled flapping version on the hulls.  So, I have added that to the google drive with the model and copy as follows:-

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

I hope this is OK?

Henry please see the new link for a more detailed flag.  I tend to use beziers for hull sections and the loft them to form the hull.  I can convert them to a more solid hull by converting the beziers with a L polyline but I do it this way as the deck is always a different material and my way keeps the hull and deck separate.  Does this affect my problem with the material with the flag.

Alvin - it will take me a while to unravel your solution but I will give a go

What is to be done in regards to the imperfect corners of the flapping-in-the-wind flag image in relation to the actual almost-perfect-rectangle location on the hull?

Just let there be some extra blue in the corners?
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)

Henry Hubich

The hull needs to be redrawn.

Henry H

colinreid

I am not sure at present why the hull in drawing1.tcw is different to problem.tcw in the new link below

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

But I will worry about that when the problems with materials with images is cured but the embedded images are different to tne new flag I added last but there is no new mask yet.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Colin, the region in the hull to which you want to apply the flag image is not rectangular; it is skewed. And because the hull is a zero-thickness object, I don't know how to repair it. I think the hull needs to be redrawn.

Henry H

Dean

#16
Quote from: colinreid on August 15, 2022, 05:14:03 AMI am not sure at present why the hull in drawing1.tcw is different to problem.tcw in the new link below

https://drive.google.com/drive/folders/1Qi2Ri4oHpTVnnm0FHCPpvrs9GKCkjiRm?usp=sharing

But I will worry about that when the problems with materials with images is cured but the embedded images are different to tne new flag I added last but there is no new mask yet.

Colin is this sort of what you are looking to achieve.
See this image here https://www.dropbox.com/s/9yw05hxh0z40gxh/Hull%20Quality%20Turblux.PNG?dl=0

And here  https://www.dropbox.com/s/0qpnzj2teh0otii/Hull%20Quality%20Turblux%202.PNG?dl=0
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Dean - that is very much what I want to achieve.  Given that HH is having problems, how did you manage to get your results?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Quote from: colinreid on August 16, 2022, 05:17:33 AMDean - that is very much what I want to achieve.  Given that HH is having problems, how did you manage to get your results?

Colin, I UV Mapped the flag image to the facet then adjusted the blue color on the hull to match the blue on the flag image, assuming the flag blue is the color of the hull.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

I am nearly there using UV mapping.  I will continue to play with the U scale and V scales (400 & 350) to get the flag to line up with the facet.  I also assume you deleted the wrapped mask.

Any chance you could post the settings you have used on the facet.

I am working on a better flag and will align the background colour to the hull colour or vice versa
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Torfinn

My go on it using UV, i did not use the same color on boat side and flag background
Flag used is the small one on right side, with curves.

https://drive.google.com/file/d/1tFYlGT9am3dhcsfLYD7XWyNCdnBzEf4E/view?usp=sharing

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

colinreid

Torfinn - I am intrigued why there are two flags on your right hand loft.

Any chance you could add the text of the contents of each line of your UV mapped material to help me play with mine but you are pretty close.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Torfinn

Hi Colin

I attach a zip with picture of material settings, easy as they are all 1 except soft is 0 and in Matte Ambient is 0,3/ Diffuse is 1

I made it this way as Alvin wondered how to get rid of the blue background color in your provided flag, and i know i did it one time earlier when tested UV, or many moons ago as Dean would have said :)

I made a copy of the tube facet where the flag should be, thickness 0,1 mm and offset -0,1 mm i think to remember it was and put the flag on that facet, that are on a separate layer.
As when i made it first time there was some strange shadows, black on right side and red-brown-ish on bottom left, did not see what it was before open the drawing again yesterday night, when rotated the view a bit i did see trough the tube, so strange colors come from inside the tube :)
So now the side don't have hole in it, and flag are 0,1 mm outside.

The rotated flag on right side was just to show shape of flag compared to the rendered version as UV
I did the background invisible on flag ( look white ) and made a Alpha picture where background is black as the black will be invisible in render and erased the flag itself there to make the Alpha
Very rough on erasing, as the point was just to show the effect, i'm lazy :)

https://drive.google.com/file/d/1rKxjbU8GJADlHCzkoO-QmJewycd7P60B/view?usp=sharing

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