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: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4292 times and has 5 replies Next Thread
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
.obj's and layered textures

I have a question about .obj's and layered textures:
They cannot handle layered textures, right? Nor can they handle per face coordinates? I just tried exporting a stove that has a layered texture to .obj and the texture for the control panel did not show up at all, not even in the .mtl file!

Here is a picture of what I would like it to look like: http://www.storm-artists.net/view/92756/
I've forgotten about how to get the glass part of the oven door to be transparent. Should I make it as "sweethome3d_window_pane"?
[May 4, 2010, 6:48:21 PM] 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: .obj's and layered textures

You can apply a texture to a small zone in OBJ format.
The best proof for that is all the 10 frame models I published in 3D models import page.

Can you send me your object at AOI format, so I can check the problem?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[May 4, 2010, 8:59:30 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: 3991
Status: Offline
Reply to this Post  Reply with Quote 
Re: .obj's and layered textures

Pencilart, Emmanuel:

Forgive me for being stupid... but how difficult can it be to make an oven?



This one was made in just 1 minute using SH3D, my favourite program to make "square" furniture. And yes, I know it's just a sloppy oven.

Hans
----------------------------------------
Attachment test_oven.sh3d (74710 bytes) (Download count: 1673)

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

new website - under constuction
hansdirkse.info
[May 5, 2010, 10:04:55 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: .obj's and layered textures

Yes, hansmex, but I want knobs, burners with the covers and a control panel and pretty glass in the oven door.
Besides, I'm having fun with trying to solve all the puzzles presented in making these models as realistic as I possibly can (as well as having an excuse to ask my fellow modelers.) ^_^. biggrin
[May 5, 2010, 6:33: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 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: .obj's and layered textures

From the file you sent me, I understand now what you meant about "layered textures": in AOI, the texture dialog box displayed by Object > Set texture... menu item lets you apply more that one texture and/or one color on a shape, once you selected Layered Texture in the Type combo box.

I don't see how this info could be exported in OBJ+MTL format file, since it supports only one texture per shape and this texture will be repeated along its faces as a wall paper pattern depending on textures coordinates.
So please don't use the Layered Texture in AOI if you want to share your model in OBJ format.
The workaround is quite simple: create a separate shape for the control panel and apply a simple texture on that shape.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[May 8, 2010, 12:23:58 PM] 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 
smile Re: .obj's and layered textures

ok.
It was worth the experiment though.
[May 8, 2010, 9:30:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ 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