Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 14
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 12035 times and has 13 replies Next Thread
hutch
Newbie




Joined: Sep 16, 2010
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 16, 2010, 11:07:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
whippetsleek
Advanced Member
Member's Avatar


Joined: Jul 31, 2010
Post Count: 121
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------

[Sep 16, 2010, 11:37:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4005
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 16, 2010, 11:49:33 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hutch
Newbie




Joined: Sep 16, 2010
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 17, 2010, 2:56:23 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 18, 2010, 9:31:12 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: Apply a texture on a door

Hutch: That's interesting how that works.
[Sep 21, 2010, 6:00:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
krasse_muraene
Newbie
Member's Avatar

Germany
Joined: Aug 28, 2011
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 28, 2011, 4:01:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
macfrog
Advanced Member
Member's Avatar

Germany
Joined: Nov 14, 2010
Post Count: 233
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 28, 2011, 6:57:09 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4005
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 28, 2011, 7:31:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
krasse_muraene
Newbie
Member's Avatar

Germany
Joined: Aug 28, 2011
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 28, 2011, 8:40:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved