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.

Creating a bump map in TurboCAD

Started by AussieBloke, April 22, 2022, 05:52:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AussieBloke

Hi Guys, Im a little out of my comfort zone here so I need some advice.

Want to create a bump map for a tyre and while Don Cheke kindly donated a Tread Hi res.jpg image its not agressive enough based on the tyre image below.

So in the attached drawing Ive modeled the profile based on my tyre design and Im unable to save it as a png image that suits a size of 2042w x 347h ( measurements in pixels ). How do you setup the PNG Save as Setup options to get this right?


Drawing is v2021.






Alvin Gregorio

Quote from: Darryl W on April 22, 2022, 05:52:34 PMHi Guys, Im a little out of my comfort zone here so I need some advice.

Want to create a bump map for a tyre and while Don Cheke kindly donated a Tread Hi res.jpg image its not agressive enough based on the tyre image below.

So in the attached drawing Ive modeled the profile based on my tyre design and Im unable to save it as a png image that suits a size of 2042w x 347h ( measurements in pixels ). How do you setup the PNG Save as Setup options to get this right?

Drawing is v2021.

Are you sure that's the .png Setup window Darryl?  It doesn't look like what I'm used to.
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

A couple of comments, Daz...

First, to use an image as a bump map or height map,.png format isn't necessary;.jpg would be just fine.

Also, the actual size of the image doesn't matter. In fact, its proportions aren't critical either, but your job might be a little easier if you don't change them.

Finally, the texture created via a bump map or height map is illusory. In a view like your aggressive tyre.png, you would not see actual notches around the periphery. For true realism, you'd have to actually 3D-model the tread--perhaps as a flat extrusion which is then bent into a cylindrical form and then 3D-added to a basic tire model.

Henry H

Alvin Gregorio

Is 2042w x 347h going to be the circumference of the whole tyre?
Or are you going to rely on multiple-- tiled-- instances in the Material setting?

Ratio-ly speaking, it doesn't seem like its enough tread pattern for a whole tyre circumference (but I realized you are probably doing your hand-cart tyres).
I think you need to repeat the pattern of 2D objects, such that they are seamless and are in unison as long in the X direction as the circumference of the tyre.

Then, I Select.  Save As .png.  And use the values in the X and Y fields to fill in the .png Width and Height fields respectively.
____
EDIT: I was going to suggest doing Henry's last paragraph also.
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)

AussieBloke

Quote from: Alvin Gregorio on April 22, 2022, 06:26:24 PM
Quote from: Darryl W on April 22, 2022, 05:52:34 PMHi Guys, Im a little out of my comfort zone here so I need some advice.

Want to create a bump map for a tyre and while Don Cheke kindly donated a Tread Hi res.jpg image its not agressive enough based on the tyre image below.

So in the attached drawing Ive modeled the profile based on my tyre design and Im unable to save it as a png image that suits a size of 2042w x 347h ( measurements in pixels ). How do you setup the PNG Save as Setup options to get this right?

Drawing is v2021.

Are you sure that's the .png Setup window Darryl?  It doesn't look like what I'm used to.

Hey Alvin, thats just an image from ms paint program, just using that as a guide to size only.

AussieBloke

Quote from: Henry Hubich on April 22, 2022, 06:28:19 PMA couple of comments, Daz...

First, to use an image as a bump map or height map,.png format isn't necessary;.jpg would be just fine.

Also, the actual size of the image doesn't matter. In fact, its proportions aren't critical either, but your job might be a little easier if you don't change them.

Finally, the texture created via a bump map or height map is illusory. In a view like your aggressive tyre.png, you would not see actual notches around the periphery. For true realism, you'd have to actually 3D-model the tread--perhaps as a flat extrusion which is then bent into a cylindrical form and then 3D-added to a basic tire model.

Henry H

That 2D profile that youve downloaded is based on the aggressive tyre image that I modeled a few days back, while the tyre came out great its just to hard on the render engine ( v2021 or v2022 ) and it soaks up some much time loading the graphics, acis surfaces and then rendering etc.

So my goal is to create a bump map for v2022 and or v2021 and use that to speed up rerndering.

Alvin Gregorio

Are you trying to follow Don Cheke's Tip, here?
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)

AussieBloke

Yep Ive seen Dons tips and done it both ways, modeled the aggressive tyre and now want to create a similar bump map that matches the tyre because thats the tyre that Im using in an upcoming design thats nearing completion. Thanks Alvin.

Alvin Gregorio

One could:
>Model the tread exactly how they want it, including the width, and the length being the tyre circumference.
>Extrude it the the desired tread thickness
>Note:  Each individual tread pattern across the Y axis would be its own entity. Maybe use copied instances of a Block.
>Render that to
>Create the image you will create via Save As...
>Use that image in another drawing for the bump map texture

You would want to create your render of the tread pattern (Materials, Luminance, Lighting, Environment, ...) such that it is optimal for the bump map operation

Easier typed than done.  I'm sure Darrel or Henry or Don or others could do all that fairly easily.
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

These were drawn in v19, using "Wrapped height map" texture...

Henry H

Henry Hubich

Don't know if this is gonna work: I'll try to upload an Epack of the drawing in which I made the screenshots posted a few minutes ago. The height map images should be included, but I can post them separately if anybody wants them.

Henry H

AussieBloke

Quote from: Alvin Gregorio on April 22, 2022, 07:05:35 PMOne could:
>Model the tread exactly how they want it, including the width, and the length being the tyre circumference.
>Extrude it the the desired tread thickness
>Note:  Each individual tread pattern across the Y axis would be its own entity. Maybe use copied instances of a Block.
>Render that to
>Create the image you will create via Save As...
>Use that image in another drawing for the bump map texture

You would want to create your render of the tread pattern (Materials, Luminance, Lighting, Environment, ...) such that it is optimal for the bump map operation

Easier typed than done.  I'm sure Darrel or Henry or Don or others could do all that fairly easily.

Yep got it Alvin.  ;D

Quote from: Henry Hubich on April 22, 2022, 07:19:03 PMDon't know if this is gonna work: I'll try to upload an Epack of the drawing in which I made the screenshots posted a few minutes ago. The height map images should be included, but I can post them separately if anybody wants them.

Henry H

Thanks for taking a look Henry, where or how did you get that tread for the right side tyre in your prev post with images?

Did you make it from that partial image I posted?

Yes please post that height map, all things help.



Alvin Gregorio

#12
Quote from: Henry Hubich on April 22, 2022, 07:19:03 PMDon't know if this is gonna work: I'll try to upload an Epack of the drawing in which I made the screenshots posted a few minutes ago. The height map images should be included, but I can post them separately if anybody wants them.

Henry H

Last Saved in V2021?  It Downloaded without Failure.
But won't open in my V2020; I presume, though created in V19, it was last Saved in V2021.
"Failed to open... No filter matching this file."
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

Sorry about that, Alvin. Here's a version saved in 2018 format...

Henry H

Henry Hubich

Here are the image files...

Henry H

AussieBloke

Ive seen after reviewing that 2018 file and the associated bmps that those images dont match my profile, no bother there as Ive already modeled the required tyre for the real world machine based on an internet search picture. With the paperspace drawings it all looks good as I see it anyway. ;D

For the rendered view I dont think anyones gunna quibble over slight differences from the technical aspects in p space.  :D

Henry just give me a clue or two as to what app you used to create the bitmaps, since I see in both bmps that theres more going on given that each has a slightly faded/foggy look to it.  ???

Was it done in photoshop cos thats what Im looking into now?

Henry Hubich

Daz, it was some years ago, but I think I got the images off the Internet by searching for "tire tread images" or something of the sort. Not sure about the larger image, but I know I doctored the skinny one in Paint Shop Pro by reducing Contrast and adding Noise.

Henry H

Jeff_in_90620

First off, the dimensions of the tire tread (1599 x 92) do not scale to 2042 x 347.  The first has an aspect ratio of 17.4:1 while the second is 5.9:1.  You can create a pattern that is 2042 pixels wide, but it will only be 117 pixels high.

Second, to get the image to be at least close to full size, you either have to resize the TurboCAD window to just barely encompass the tread pattern or, when you are in Setup for PNG, choose All instead of View (and make sure the tread is the only thing visible).


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)