USA
Joined: Jan 9, 2021
Post Count: 185
Status:
Offline
My Custom Textures Stretching?
Hi, it's been a while. I made a simple 6 sided rectangular shape using exact dimensions of one of my guitar amps. Then I made scaled textures based on photographs of the real amp that are proportional to fit each side exactly. So in my model's materials dialog box when I import each texture, I give it the exact dimensions to fit my model as suggested. But what happens is 2 things: At 100% scale it textures my model surface twice as big. So I reduce it to 50% and the width is correct but the height looks stretched higher than it should be. It's not holding it's proportions to maintain the proper ratio of the texture image's width x height. Have others experienced this behavior or is this a bug? I could work around this by resizing my 6 texture images to lessen the height to compensate but it shouldn't be doing this right?
----------------------------------------
Steve N Mavronis - Retired PC Tech
USA
Joined: Jan 9, 2021
Post Count: 185
Status:
Offline
Re: My Custom Textures Stretching?
It would let me edit my post but to add: So like I said if I scale my texture to 50% it fits my width exactly but the height is doubled or stretched. When I make the texture 25% then the height is correct but I see the width is half and I see a double tiled image across the width of my model surface. Basically it's stretching the height double what it should be.
----------------------------------------
Steve N Mavronis - Retired PC Tech
Netherlands
Joined: Apr 8, 2022
Post Count: 1615
Status:
Offline
Re: My Custom Textures Stretching?
I made a simple 6 sided rectangular shape using exact dimensions of one of my guitar amps.
Did you use a box and resize it to the required dimensions? Although it should have worked it's possible that textures do stretch.
Try the ShapeGenerator plugin. It adds a menu item Generate 3D Shape under the Tools menu. With it you can create your box with the exact dimension without having to stretch the default dimensions. Texturing should fit better now.
If that still doesn't work you can use Blender to fix it but that requires a little knowledge of Blender. I can explain it if you want to try that. There is a big advantage if you can use Blender for this. For example you can create a guitar shape using walls and/or rooms and then use Blender to fix the front faces so you can put an image of the guitar on it.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times,
last edit by Keet at Dec 10, 2025, 9:31:26 AM]
USA
Joined: Jan 9, 2021
Post Count: 185
Status:
Offline
Re: My Custom Textures Stretching?
Actually for this particular guitar amplifier (VHT Special 6 Ultra combo) it has a slightly slanted front so I did use the shape generator to create it. My photo textures are sized to fit exactly each surface. Donât know why itâs stretching in one direction when applying it as a material surface texture. I tried the front, back, top, and itâs distorting the proportions not keeping its aspect ratio. I might have to get back into Blender. In the past I was able to create complex 3D structures, back when I used to make 3D levels for a game I played but was not able to figure out how to apply textures. But I know there are tons of video tutorials on Blender. The game I did level editing in was Unreal and Unreal Tournament. It has its own editor called UnrealEd. I made an exact scale replica of the original lasertag known as Photon using blueprints given to me of the Baltimore Maryland facility. But the newer versions and other games started using external professional 3D modeling programs.
----------------------------------------
Steve N Mavronis - Retired PC Tech
Netherlands
Joined: Apr 8, 2022
Post Count: 1615
Status:
Offline
Re: My Custom Textures Stretching?
With a shape from the shape generator the textures should apply perfectly if the surface has the same same aspect ratio as the texture image. Very strange that they still stretch.
Fixing it with Blender is simple: 1 - Import the model in Blender 2 - Rotate/tilt so the surface you want to fix is front an vertical in the view. 3 - Select only the face(s) of that front view. 4 - Select Mesh > UV Unwrap > Project from View (Bounds) 5 - Repeat for the other sides. (Don't forget to first unselect the faces you have just done.)
The "Project from View (Bounds)" fixes the texture positioning so it exactly fills the selected area.
(I do this using the old Blender 2.72. I spend many hours learning the ridiculous interface. And when I finally could use most of the functions I need... they came with a new version with a completely different interface. Which I have yet to learn, again... )
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
USA
Joined: Jan 9, 2021
Post Count: 185
Status:
Offline
Re: My Custom Textures Stretching?
I'll have to try that. Blender has the most keyboard shortcuts of any program out there. It's been so long I forgot everything. Maybe the updated interface will be more intuitive but that's wishful thinking on my part.
I have another amp model of the Blackstar HT-1R that is built from resizing from the default cube furniture model. It's 1'0 1/4" x 0'6 7/8" x 0'10 1/2". I have to collect and perspective shift amp product photos (I use an older version of GIMP for graphics, hate the new interface every function changed) and make the correctly proportioned textures.
I'll do this just to make sure it's not the shape generator model. If it happens on both model types then something else is up. I'm also using JPG images. I can same them to another format like PNG, etc., if that is the issue.
----------------------------------------
Steve N Mavronis - Retired PC Tech
Netherlands
Joined: Apr 8, 2022
Post Count: 1615
Status:
Offline
Re: My Custom Textures Stretching?
In my old Blender I often use the mouse instead of keyboard shortcuts. Mostly works the same.
I always use PNG because it supports transparency (which JPG doesn't). For example the textures I use for for my TrafficSigns library are square (of course) while they represent the image of a round sign. The area around a round TrafficSign is transparent. That wouldn't work with a JPG.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
USA
Joined: Jan 9, 2021
Post Count: 185
Status:
Offline
Re: My Custom Textures Stretching?
Yes PNG supports transparent textures I know. Sometimes they can even be smaller than a JPG. In the past using earlier versions of SH3D never had this texture stretching issue. I have many custom textures that I made all over my 3D model house!
----------------------------------------
Steve N Mavronis - Retired PC Tech
Netherlands
Joined: Apr 8, 2022
Post Count: 1615
Status:
Offline
Re: My Custom Textures Stretching?
If you can pack everything in a zip and upload it to a file host like Mediafire I can take a look at it. Include the project, all textures and the original measurements of the amp. A picture of the amp can help too. I can probably create a model with nice smooth edges. Post the download url here. I'm very interested in why the textures don't scale correctly, maybe I can find out.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
It includes the small sh3d file with 4 amps I'll be working on later. The biggest one is for the VHT Special 6 Ultra (6 watt tube combo amp) and the 6 texture files say texture in the name and included 2 photos of the front and back of my real amp as reference. Plus you can Google online about the amp as well if needed.
If you get the textures not to stretch let me know what I'm doing wrong. If it messes up for you then this verifies it's a problem and I'll have to learn Blender. Like I said in past SH3D versions this did not happen. Oh, I did save the images as PNG also but didn't include them. They are slightly larger files. These particular textures have no need for transparent areas anyway.
----------------------------------------
Steve N Mavronis - Retired PC Tech