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: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4263 times and has 9 replies Next Thread
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
error when compiling with eclipse

hi,when I try to compile with eclipse I have this error

Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:231)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:200)
at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:157)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:987)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
at javax.media.j3d.GraphicsConfigTemplate3D.getBestConfiguration(GraphicsConfigTemplate3D.java:321)
at java.awt.GraphicsDevice.getBestConfiguration(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Component3DManager.java:67)
at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Component3DManager.java:82)
at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(SweetHome3D.java:491)
at com.eteks.sweethome3d.SweetHome3D.init(SweetHome3D.java:383)
at com.eteks.sweethome3d.SweetHome3D.main(SweetHome3D.java:287)


please someone know why this?
thank you :)
[Apr 26, 2011, 12:40:15 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: error when compiling with eclipse

Generally, it's because you didn't read the README.TXT file coming with the sources...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Apr 26, 2011, 6:00:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

thank you :) now work. I have changed aa.max from 2 to 4 as value and I see that the rendering time is very high on a little image. in the test image I see that when aa.max=4 there is a little black point. now I go for render a more complex image. I think this evening (or tomorrow....) I'll have something for to compare the images. if the result will be good probably I'll go to study the code(but I haven't many time for the next couple of months..) for insert a customizable aa.max in the photo window.
[Apr 27, 2011, 1:37: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 
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

rendering of an 3000x1459 pixels image started this night at the 3A.M. now are 1.38 P.M. and run.... I think 24 hours for this rendering. probably is too much slow....
[Apr 28, 2011, 12:37:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

end of the rendering. the result is absolutely bad. the same image rendered with photorender classic with aa.max=2 and aa.max=4 is out of focus for both cases. with the advanced rendering plugin is sharp but not enough smooth and need a bit of more aa...:(
[Apr 29, 2011, 12:08:46 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

You should know that db4tech and I spent a lot of time last year to set the values that would make SunFlow renderer work reasonably well. wink
But if you still want to play with renderer quality settings, the next step should be to increase samples parameter in PhotoRenderer class.

By the way, it would be nice to post images to let us see what you get. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Apr 29, 2011, 8:32:24 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

here a 100% crop of the same zone. the first one is the advanced photorendering. the second one is the classic photo of SH(3.1) best quality aa.max=2(as in the downloaded source). the last is the rendering with SH3.2 aa.max=4


http://www.mediafire.com/imageview.php?quickkey=jp70y8v3my90m8a&thumb=4
[Apr 29, 2011, 2:11:14 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
db4tech
Advanced Member



UK
Joined: May 3, 2010
Post Count: 223
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

Hi rino63,

Just a real quick reply due to degree work to try and help.

Please check and see if you have 'Depth of field' accidentally selected instead of 'Default' in the internal 'Create photo...' render settings, hopefully this will help fix the blurry renders.

Thank you,

David
[Apr 29, 2011, 11:02:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rino63
Member




Joined: Apr 7, 2011
Post Count: 23
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

hi david,effectively i have depth of field as camera type..if this is the problem tomorrow I try another rendering with default settings. but I don't understand in other test before this the dof work normally....
another little question: if I wish set the smooth for the room(as in blender but for all the furniture) someone could tell me what I can see in the code?
thank you
rino
[Apr 30, 2011, 5:48:30 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: error when compiling with eclipse

"Depth of field" lens in Sweet Home 3D matches thinless SunFlow camera. Currently, focus is always at 250 cm from camera, so rendered objects may look blurred or sharp depending on where you placed the camera.

If you want to make smooth 3D models at OBJ format, the easiest way is to open the OBJ file with a text editor and replace "s off" lines by "s 1". In Blender, there's an Auto smooth option but I never saw it work (I don't use Blender that much too).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Apr 30, 2011, 7:58:41 AM] 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