Print at Dec 19, 2025, 6:14:32 PM
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by hutch at Sep 17, 2010, 1:07:46 AM
Apply a texture on a door
Hello,

I would need some help about texture on a door.
I tried to apply the same method than for walls (draw a texture with a size identical as the wall with Gimp) which is working fine.
So I have a texture for my doors (83 x 208) that I apply on a door with the same dimensions.


When I apply it, here is the rendering:


It seems that the texture is applied from the center of the door as a mosaic. If it's not clear enough, let me know and I will try to be clearer ;) Is there a tip/trick I missed ?

Thank you by advance for your feedback.
Hutch

Posted by whippetsleek at Sep 17, 2010, 1:37:32 AM
Re: Apply a texture on a door
I think it is because the texture is being applied to the whole object file. The door frame, and the door. If you know how to edit object files, you could import the door into a 3d program, and apply your texture to just the door.
----------------------------------------


Posted by hansmex at Sep 17, 2010, 1:49:33 AM
Re: Apply a texture on a door
Hutch:

There's another solution:
- insert a doorframe of the required size; give it a colour or a texture
- inside the doorframe, insert a box of the correct size
- choose Modify -> Texture , choose the texture of your liking, but do NOT apply it
- choose Modify and give the texture the exact height of the box that you inserted inside the doorframe

If all is well, you should now see a texture that repeats exactly once (vertically). If the width of the texture isn't correct, you will have to use a graphics program to change the size of the texture to exactly match the size of the inserted box.

I hope I explained it clearly enough.
Good luck.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by hutch at Sep 17, 2010, 4:56:23 AM
Re: Apply a texture on a door
Thank you for your feedback.

In fact, I'm more comfortable with Gimp than other 3d tools... so I spent some time in this way & found a solution :)

So the starting point is this one:


I splitted the picture into quarters, and applied on earch vertical & horizontal mirror.





Finally recompose the picture with the quaters...



And here is the rendering :)



Celebration :) Now I have to remove the figures from the quarters

Posted by Puybaret at Sep 18, 2010, 11:31:12 AM
Re: Apply a texture on a door
Hutch,
I'm glad you found a solution even if I feel it's a bug that I'll have to resolve (or at least explain). confused
When you apply the same texture on a simple box, you don't get the same result and I think it's not normal.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pencilart at Sep 21, 2010, 8:00:31 PM
Re: Apply a texture on a door
Hutch: That's interesting how that works.

Posted by krasse_muraene at Aug 28, 2011, 6:01:11 PM
Re: Apply a texture on a door
Hi folks,

I am very new to SH3D and I also experienced this problem when I wanted to texture a poster I put on a wall in a SH3D project.

I coded a little tool in 1 hour or so that does the slicing of an image and reorganizing the 4 parts the way it is needed to work around this bug. If anybody is interested, I will gladly share the tool.

You can also do the job in any image manipulation software, of course, but the work is tedious and you have to be very precise (and throughout the whole work fight the thought "grmbl... why do I have to do this?").

Regards, Krasse Muräne

Posted by macfrog at Aug 28, 2011, 8:57:09 PM
Re: Apply a texture on a door
Welcome Krasse Muräne:)
(Krasser Nickname, btw:)
In the end, everybody would like to see a simple to use plugin or an object editor integrated into SH3D, but this would probably blow the program beyond any means. it is still free, so we will have to cope with little glitches here and there.
thanks for your contribution anyway.

greets
macfrog

Posted by hansmex at Aug 28, 2011, 9:31:05 PM
Re: Apply a texture on a door
Thomas,

What exactly does your tool do?
Do I need another program to use it, or is a stand-alone tool?
Could it be converted to a plug-in for SH3D?

I'm always curious for useful extensions or plug-ins.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by krasse_muraene at Aug 28, 2011, 10:40:55 PM
Re: Apply a texture on a door
Hello macfrog, Hans & all the other forum members!

At the present the tool is a small standalone application that runs under windows (XP/Vista/7) utilizing the DirectX engine to do a little image manipulation. The tool loads an image of your choice and

1. makes a copy of the image in the RAM
2. cuts the copy in 4 pieces
3. swaps positions of these pieces right the opposite way they appear in SH3D
4. saves the new image where you tell it to

All you have to do is tell it the input file and the output destination.


Let´s say this is the image you want to use as texture on a poster in SH3D:


When I place it as a texture in SH3D it looks like this:



That´s not what I want, so I feed the image to the tool which delivers me an image like that:



When I place it again in SH3D it now looks like this:


Fine, that´s what I wanted. Saves me quite some time and hassle when I want to put some posters in a room in SH3D.

I also thought about making it as a SH3D plugin, but that would need more time for development, time I don´t have in fact. And in particular I trust that the bug will be resolved, sooner or later. It would be interesting to know if the bug will be removed before putting more work into this.

Well, the algorithm is pretty simple, somebody who is allready firm in developing SH3D plugins should be able to implement this pretty fast. But it would be better if the bug itself got fixed.

By the way, is this a bug that everybody can reproduce, or does it only occur under certain circumstances and I am one of the unlucky guys?

Regards,
Thomas

Posts: 14   Pages: 2   [ 1 2 | Next Page ]