High priority Can not render or export to obj file

This topic has been viewed 6510 times and has 5 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
miguel78
Posts: 3
Joined: Sun Aug 05, 2012 7:14 pm

Can not render or export to obj file

Post by miguel78 »

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)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Can not render or export to obj file

Post by Puybaret »

Please [url=mailto:[email protected]]send me[/url] your file.
Emmanuel Puybaret, Sweet Home 3D creator
miguel78
Posts: 3
Joined: Sun Aug 05, 2012 7:14 pm

Re: Can not render or export to obj file

Post by miguel78 »

just send the project !
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Can not render or export to obj file

Post by Puybaret »

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 creator
miguel78
Posts: 3
Joined: Sun Aug 05, 2012 7:14 pm

Re: Can not render or export to obj file

Post by miguel78 »

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! [:)]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Can not render or export to obj file

Post by Puybaret »

Thanks for the test case. [:)]
I fixed the bug and the correction will be available in the next version.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest