Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help
 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 963 times and has 5 replies Next Thread
Male miguel78
Newbie




Joined: Aug 5, 2012
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Can not render or export to obj file

hi, i'm new to SH3d.
Can not render one of my project. No problems with other files.
Can not export to obj file to render with blender.

java console shows following error

Can't load texture: CLOTH_02.JPG Make sure it is located in the same server an
d directory with the model file. the loader's base path is: jar:file:C:\Users\mi
gui\Application Data\eTeks\Sweet Home 3D\work\3500-dda97bcc-c9e6-4442-8023-21e2b
e1f305e\open8802407051458218221.sweethome3d!/185/
Exception in thread "AWT-EventQueue-0 " java.lang.ArrayIndexOutOfBoundsException:
-1
at java.util.ArrayList.get(Unknown Source)
at com.eteks.sweethome3d.model.Home.clone(Unknown Source)
at com.eteks.sweethome3d.swing.PhotoPanel.startPhotoCreation(Unknown Sou
rce)
at com.eteks.sweethome3d.swing.PhotoPanel.access$000(Unknown Source)
at com.eteks.sweethome3d.swing.PhotoPanel$1.actionPerformed(Unknown Sour
ce)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "autoSaveTimer" java.lang.RuntimeException: java.lang.reflec
t.InvocationTargetException
at com.eteks.sweethome3d.io.AutoRecoveryManager.cloneAndSaveHomes(Unknow
n Source)
at com.eteks.sweethome3d.io.AutoRecoveryManager.access$500(Unknown Sourc
e)
at com.eteks.sweethome3d.io.AutoRecoveryManager$8.run(Unknown Source)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at com.eteks.sweethome3d.model.Home.clone(Unknown Source)
at com.eteks.sweethome3d.io.AutoRecoveryManager$9.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
[Aug 5, 2012 8:43:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 3842
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can not render or export to obj file

Please send me your file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 6, 2012 8:19:29 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
Male miguel78
Newbie




Joined: Aug 5, 2012
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can not render or export to obj file

just send the project !
[Aug 8, 2012 1:25:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 3842
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can not render or export to obj file

I found the issue in your file. Very strangely, you had two pieces of furniture named "Bombilla Incandescente" and "aplique-pared" which didn't belong to any level. Once they were removed, it worked.
Do you use some plug-ins with your version of Sweet Home 3D?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 8, 2012 1:07:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
Male miguel78
Newbie




Joined: Aug 5, 2012
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can not render or export to obj file

Emanuel thank you very much
like you said, there is a grouped object not belonging to any level.
I could reproduce this behavior.
This happens when I grouped two objects (incandescent light source + lamp object).
Hope this helps
sorry for my english! smile
[Aug 14, 2012 1:14:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 3842
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can not render or export to obj file

Thanks for the test case. smile
I fixed the bug and the correction will be available in the next version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 14, 2012 2:35:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [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
   
© Copyrights 2006-2014 eTeks - All rights reserved