error when compiling with eclipse

This topic has been viewed 4752 times and has 9 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

error when compiling with eclipse

Post by rino63 »

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

Re: error when compiling with eclipse

Post by Puybaret »

Generally, it's because you didn't read the README.TXT file coming with the sources...
Emmanuel Puybaret, Sweet Home 3D creator
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

Re: error when compiling with eclipse

Post by rino63 »

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.
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

Re: error when compiling with eclipse

Post by rino63 »

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....
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

Re: error when compiling with eclipse

Post by rino63 »

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

Re: error when compiling with eclipse

Post by Puybaret »

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. [;)]
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. [:)]
Emmanuel Puybaret, Sweet Home 3D creator
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

Re: error when compiling with eclipse

Post by rino63 »

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? ... 8a&thumb=4
db4tech
Posts: 223
Joined: Mon May 03, 2010 5:10 pm
Country: UK

Re: error when compiling with eclipse

Post by db4tech »

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
rino63
Posts: 23
Joined: Thu Apr 07, 2011 12:38 pm

Re: error when compiling with eclipse

Post by rino63 »

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

Re: error when compiling with eclipse

Post by Puybaret »

"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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest