Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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)
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
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
Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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.
Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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....
Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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...:(
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
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. 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
Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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
UK
Joined: May 3, 2010
Post Count: 223
Status:
Offline
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.
Joined: Apr 7, 2011
Post Count: 23
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
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