Skip to main content

Sweet Home 3D : a new Java 3D application

36 replies [Last post]
puybaret
Offline
Joined: 2004-12-04
Points: 0

Hi,

I'm pleased to present you a new Java application that uses Java3D.
It's called Sweet Home 3D, and it helps end user to arrange its furniture in its home.

It's available here :
http://sweethome3d.sourceforge.net/
and you may launch it directly with this link :
http://sweethome3d.sourceforge.net/SweetHome3D.jnlp

Please, give me your feedback, even if this application is incomplete.
I'll write a user guide later.

By the way, if you have any idea why the splash screen doesn't appear after installation, I'll be pleased to read it...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
puybaret
Offline
Joined: 2004-12-04
Points: 0

> > Could you tell be the exact list of options I
> > should set in the JNLP file to ensure a Swing/Java 3D
> > application like Sweet Home 3D works even on machines
> > with default Windows OpenGL or D3D driver ?
>
> You shouldn't need any options for Java 3D, although
> specifying "-Dsun.java2d.noddraw=true" is a good idea
> to avoid interoperation problems between 2D and 3D.

I tried again with Java 3D 1.5.1 under Windows with and without the property sun.java2d.noddraw set, but I still get the same error :(
I hope the log I posted will help you to find why...

kcr
Offline
Joined: 2004-03-17
Points: 0

The crash you are getting on Windows is in the DirectX library (j3dcore-d3d.dll). I've not seen that before, but we'll take a look.

I'm not familiar with the Parallels Desktop, but it seems that it may not be emulating enough of the window system, OpenGL, and DirectX for Java 3D to work correctly. Have you ever seen any of these crashes or problems on a native Windows or Linux box?

-- Kevin

puybaret
Offline
Joined: 2004-12-04
Points: 0

> The crash you are getting on Windows is in the
> DirectX library (j3dcore-d3d.dll). I've not seen that
> before, but we'll take a look.

Thank you :)
At least, try to avoid a crash and throw an exception !

> I'm not familiar with the Parallels Desktop, but it
> seems that it may not be emulating enough of the
> window system, OpenGL, and DirectX for Java 3D to
> work correctly.

Probably this bug wouldn't appear on the last version 3 of Parallels Desktop where they improved support for 3D graphics.
But as long as I get this crash, I'm considering that other people may get it also and I won't upgrade to version 3 of Parallels Desktop. As Sweet Home 3D is a piece of software targeted to a large audience, I prefer at this time loosing some performances rather than loosing some users because it crashed at launch !

> Have you ever seen any of these crashes or problems
> on a native Windows or Linux box?

Sorry, I never tried Java 3D 1.5.1 on an other machine, so I won't be able to tell you.

puybaret
Offline
Joined: 2004-12-04
Points: 0

BTW, I had also some problems with Java 3D off-screen canvases on my Linux/Ubuntu configuration running also with Parallels Desktop.

With Java 3D 1.5.1, I got the following warning at program start :
-----------------------------------------
Java 3D WARNING : reported GLX version = 1.2
GLX version 1.3 or higher is required
The reported version number may be incorrect. There is a known
ATI driver bug in glXQueryVersion that incorrectly reports the GLX
version as 1.2 when it really is 1.3, so Java 3D will attempt to
run anyway.
-----------------------------------------

and the main Java 3D canvas of the program works without any problem.
But when I try to use an offscreen canvas to create the icon of an imported 3D model, I get this error :
-----------------------------------------
Java 3D ERROR : FBConfig doesn't support pbuffer or pixmap returns None

DefaultRenderingErrorListener.errorOccurred:
OFF_SCREEN_BUFFER_ERROR: Renderer: Error creating Canvas3D off-screen buffer
graphicsDevice = X11GraphicsDevice[screen=0]
canvas = javax.media.j3d.Canvas3D[canvas0,0,0,128x128,invalid]
Exception occurred during event dispatching:
javax.media.j3d.IllegalRenderingStateException: Canvas3D: Non-recoverable off-screen rendering error
at javax.media.j3d.Canvas3D.renderOffScreenBuffer(Canvas3D.java:1988)
-----------------------------------------

*and* the program stops without any other notice (there must be a System.exit call somewhere in a Java 3D thread because it doesn't look like a JVM crash) !

At this time, I replaced the off-screen canvas with a call to Robot.createScreenCapture on Linux, after a test on os.name System property. But I would prefer to switch to a screen capture after catching a Java 3D exception (anyway Java 3D shouldn't stop the JVM !).

I'll really need off-screen canvas for printing. If this bug isn't corrected, I will be obliged to disable printing for all Linux users, because I'll have no way to detect if off-screen canvas is working or not without quiting the program when it's not working.

puybaret
Offline
Joined: 2004-12-04
Points: 0

Hum... stylertim, you're the first to find Sweet Home 3D slow, but I know there are a lot of places where it could be optimized. Maybe people don't complain because it's free ! ;)
Did you try to design a huge home or was it slow even with a few walls and furniture ?

> Do you accelerate the 2D construction views with OpenGL?

The 2D plan is a pure Swing component, and Java 3D is used only in the 3D view.

stylertim
Offline
Joined: 2006-05-04
Points: 0

> Hum... stylertim, you're the first to find Sweet Home
> 3D slow, but I know there are a lot of places where
> it could be optimized. Maybe people don't complain
> because it's free ! ;)

Hey! I'm not complaining in any way! :D

> Did you try to design a huge home or was it slow even
> with a few walls and furniture ?
>

I just built some walls and tried to move around in 3D space. And it wasn't really fast, not quite as fast as it should be with this low number of vertices. Again, no offense! :D

> > Do you accelerate the 2D construction views with
> OpenGL?
> The 2D plan is a pure Swing component, and Java 3D is
> used only in the 3D view.

I meant if you have "-Dsun.java2d.opengl=true" passed as a JVM argument? If accelerating the 2D viewports doesn't conflict with the 3D acceleration, it may dramatically speed up your 2D rendering.

I just ran the program on Linux with the standard official "nvidia-glx" driver. The interface is working pretty nicely, but the drawing surface and especially the 3D view exactly behaves as if I was running on WinXP.

Ah BTW, if you want some particular testing done on WinXP, tell me! I'll gladly provide support.

- Thomas

hansvo
Offline
Joined: 2007-11-26
Points: 0

Hi,

Today I still get the error message that looks like the one that someone printed above. See below mine.

I just updated Java via Internet, however no luck yet to get sweethome3D running.
Any ideas?

Thenks,
Hans

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x15aec964, pid=2692, tid=4004
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [j3dcore-d3d.dll+0x5c964]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x12b80400): JavaThread "J3D-Renderer-1" [_thread_in_native, id=4004]

siginfo: ExceptionCode=0xc0000005, writing address 0x15afe7dc

Registers:
EAX=0x00000076, EBX=0x000e9076, ECX=0x15dff770, EDX=0x15afe7dc
ESP=0x15dff4f0, EBP=0x15dff580, ESI=0x15dff534, EDI=0x15afe701
EIP=0x15aec964, EFLAGS=0x00010202

Top of Stack: (sp=0x15dff4f0)
0x15dff4f0: 15aecc38 159e3c20 15afe7dc 000e9040
0x15dff500: 00000000 00000000 00000000 00000000
0x15dff510: 00000000 00000000 00000000 00000000
0x15dff520: 00000000 00000000 00000000 00000000
0x15dff530: 00000000 00000000 00000000 00000000
0x15dff540: 00000000 00000000 00000000 00000000
0x15dff550: 00000000 00000000 00000000 00000000
0x15dff560: 00000000 00000000 00000000 00000000

Instructions: (pc=0x15aec964)
0x15aec954: 40 74 06 83 79 08 00 74 24 ff 49 04 78 0b 8b 11
0x15aec964: 88 02 ff 01 0f b6 c0 eb 0c 0f be c0 51 50 e8 d8

Stack: [0x15db0000,0x15e00000), sp=0x15dff4f0, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [j3dcore-d3d.dll+0x5c964]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j javax.media.j3d.Win32NativeConfigTemplate3D.choosePixelFormat(JI[I[J)I+0
j javax.media.j3d.Win32NativeConfigTemplate3D.getBestConfiguration(Ljavax/media/j3d/GraphicsConfigTemplate3D;[Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;+116
j javax.media.j3d.NativePipeline.getBestConfiguration(Ljavax/media/j3d/GraphicsConfigTemplate3D;[Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;+5
j javax.media.j3d.Renderer.doWork(J)V+1466
j javax.media.j3d.J3dThread.run()V+19
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x12b80400 JavaThread "J3D-Renderer-1" [_thread_in_native, id=4004]
0x12b79c00 JavaThread "J3D-MasterControl-1" [_thread_blocked, id=3932]
0x12b42800 JavaThread "J3D-NotificationThread" [_thread_blocked, id=3928]
0x12b8c800 JavaThread "J3D-TimerThread" [_thread_blocked, id=3924]
0x12b4d800 JavaThread "J3D-RenderingAttributesStructureUpdateThread" [_thread_blocked, id=3904]
0x003a6400 JavaThread "DestroyJavaVM" [_thread_blocked, id=2876]
0x13090800 JavaThread "pool-2-thread-1" [_thread_in_native, id=3104]
0x130c3400 JavaThread "pool-1-thread-1" [_thread_blocked, id=3040]
0x130b8400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3032]
0x13063c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3024]
0x13063000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3020]
0x1304d000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3016]
0x12b3b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2912]
0x12b36c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2904]
0x12b35c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2900]
0x12b34c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2896]
0x12b27000 JavaThread "Finalizer" daemon [_thread_blocked, id=2892]
0x12b22800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2888]

Other Threads:
0x12b1e000 VMThread [id=2880]
0x12b56400 WatcherThread [id=2916]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 960K, used 246K [0x02990000, 0x02a90000, 0x03850000)
eden space 896K, 20% used [0x02990000, 0x029bda08, 0x02a70000)
from space 64K, 99% used [0x02a70000, 0x02a7fff0, 0x02a80000)
to space 64K, 0% used [0x02a80000, 0x02a80000, 0x02a90000)
tenured generation total 4096K, used 2824K [0x03850000, 0x03c50000, 0x0e990000)
the space 4096K, 68% used [0x03850000, 0x03b120c0, 0x03b12200, 0x03c50000)
compacting perm gen total 12288K, used 11207K [0x0e990000, 0x0f590000, 0x12990000)
the space 12288K, 91% used [0x0e990000, 0x0f481d68, 0x0f481e00, 0x0f590000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\launch4j-tmp\SweetHome3D.exe
0x7c900000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8ff000 C:\WINDOWS\system32\kernel32.dll
0x77f40000 - 0x77feb000 C:\WINDOWS\system32\ADVAPI32.dll
0x77da0000 - 0x77e32000 C:\WINDOWS\system32\RPCRT4.dll
0x77f10000 - 0x77f21000 C:\WINDOWS\system32\Secur32.dll
0x7e390000 - 0x7e420000 C:\WINDOWS\system32\USER32.dll
0x77e40000 - 0x77e87000 C:\WINDOWS\system32\GDI32.dll
0x76330000 - 0x7634d000 C:\WINDOWS\system32\IMM32.DLL
0x62e40000 - 0x62e49000 C:\WINDOWS\system32\LPK.DLL
0x74d10000 - 0x74d7b000 C:\WINDOWS\system32\USP10.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
0x7c340000 - 0x7c396000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\msvcr71.dll
0x6d7c0000 - 0x6da0a000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\client\jvm.dll
0x76af0000 - 0x76b1e000 C:\WINDOWS\system32\WINMM.dll
0x6d310000 - 0x6d318000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\hpi.dll
0x76bb0000 - 0x76bbb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\verify.dll
0x6d3b0000 - 0x6d3cf000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\java.dll
0x6d7b0000 - 0x6d7bf000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\zip.dll
0x6d570000 - 0x6d583000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\net.dll
0x71a30000 - 0x71a47000 C:\WINDOWS\system32\WS2_32.dll
0x71a20000 - 0x71a28000 C:\WINDOWS\system32\WS2HELP.dll
0x719d0000 - 0x71a10000 C:\WINDOWS\system32\mswsock.dll
0x61200000 - 0x61259000 C:\WINDOWS\system32\hnetcfg.dll
0x71a10000 - 0x71a18000 C:\WINDOWS\System32\wshtcpip.dll
0x6d000000 - 0x6d1c3000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\awt.dll
0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV
0x774a0000 - 0x775dd000 C:\WINDOWS\system32\ole32.dll
0x5b190000 - 0x5b1c8000 C:\WINDOWS\SYSTEM32\uxtheme.dll
0x736d0000 - 0x73719000 C:\WINDOWS\system32\ddraw.dll
0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d2b0000 - 0x6d303000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\fontmanager.dll
0x746a0000 - 0x746eb000 C:\WINDOWS\system32\MSCTF.dll
0x75250000 - 0x7527e000 C:\WINDOWS\system32\msctfime.ime
0x6d1f0000 - 0x6d21f000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\cmm.dll
0x6d450000 - 0x6d474000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\jpeg.dll
0x7c9c0000 - 0x7d1e2000 C:\WINDOWS\system32\shell32.dll
0x77e90000 - 0x77f06000 C:\WINDOWS\system32\SHLWAPI.dll
0x77390000 - 0x77493000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5d4e0000 - 0x5d57a000 C:\WINDOWS\system32\comctl32.dll
0x158a0000 - 0x158ae000 C:\Program Files\Sweet Home 3D\lib\j3dcore-ogl-chk.dll
0x5f160000 - 0x5f22c000 C:\WINDOWS\system32\OPENGL32.dll
0x5f400000 - 0x5f421000 C:\WINDOWS\system32\GLU32.dll
0x69000000 - 0x692e8000 C:\WINDOWS\system32\vticd.dll
0x6d3e0000 - 0x6d3e6000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\jawt.dll
0x15a90000 - 0x15b63000 C:\Program Files\Sweet Home 3D\lib\j3dcore-d3d.dll
0x4fd10000 - 0x4feb6000 C:\WINDOWS\system32\d3d9.dll
0x6deb0000 - 0x6deb6000 C:\WINDOWS\system32\d3d8thk.dll
0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll
0x74c00000 - 0x74c2c000 C:\WINDOWS\system32\OLEACC.dll
0x76020000 - 0x76085000 C:\WINDOWS\system32\MSVCP60.dll
0x770e0000 - 0x7716b000 C:\WINDOWS\system32\OLEAUT32.dll
0x6d590000 - 0x6d599000 C:\Program Files\Sweet Home 3D\jre1.6.0_03\bin\nio.dll

VM Arguments:
jvm_args: -Djava.library.path=lib -Xmx192m
java_command: com.eteks.sweethome3d.SweetHome3D
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;\bin
USERNAME=hans
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 44 Stepping 2, AuthenticAMD

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 458224k(161968k free), swap 1080188k(869496k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310

tmilard
Offline
Joined: 2004-03-25
Points: 0

I would say that 95% probability that your 3D hardwar card (ATI, Intel or other) has not the last software driver. Or has a noso well install 3D card driver.

Did you go on the manufactor's website and install the latest driver ?

Then close your machine repopen Windows (or other) and execite again Sweet Home 3D.

Hope it helps.
Thierry

rumuznick
Offline
Joined: 2008-01-21
Points: 0

hi firstly..

i can't make sweet home 3d, i don't know why but it always says Unknown Error..
i downloaded java 1.5 and i am using Windows XP. Doesn't Sweet Home 3D work in Windows XP ? ..

Please help me..

Nick

puybaret
Offline
Joined: 2004-12-04
Points: 0

> i can't make sweet home 3d, i don't know why but it
> always says Unknown Error..
> i downloaded java 1.5 and i am using Windows XP.
> Doesn't Sweet Home 3D work in Windows XP ? ..

Sorry for the problem.
And yes, Sweet Home 3D works fine on Windows XP (it's the Windows system on which I test it).

Do the Java 3D tests available at https://j3d-webstart.dev.java.net/test/ work on your system ?

surajkumarchetry
Offline
Joined: 2009-01-30
Points: 0

hi guys!!!!!!!!!!!
i m naive player to this 3d home project. i have a suggestion/requirement. once the user/customer saves the file in pdf format, why not let him the view of floor plan/line diagram which suggests more info about the space usuage.

kcr
Offline
Joined: 2004-03-17
Points: 0

Btw, it runs for me on Linux and on Windows Vista.

-- Kevin

puybaret
Offline
Joined: 2004-12-04
Points: 0

Thank you for your answer

> As for the Mac OS X problem, there are only two
> solutions that I am aware of. First, you can remove
> the existing j3dcore.jar, vecmath.jar and
> j3dutils.jar files from
> /System/Library/Java/Extensions (I think that's where
> they get put). Second, you can install the new files
> in the extensions directory.

I was aware of these solutions, but they don't work with a Java Web Start application.
I'll have to propose also a version of Sweet Home 3D which will install these files in ~/Library/Java/Extensions. If there are two versions of Java 3D installed in that directory, do you know which one will have the priority ?

> Btw, it runs for me on Linux and on Windows Vista.

If Java 3D 1.3.2 works even on Windows Vista, I think I'll stay with that version for a long time on Windows. ;-)
Are there some really serious limitations compared to Java 3D 1.5 ?
Would it be possible that a future version of Java 3D works also with Open GL 1.1 ?

stylertim
Offline
Joined: 2006-05-04
Points: 0

> Are there some really serious limitations compared to Java 3D 1.5

Hmm, I could think of significant performance disadvantages. I tried your app and couldn't help thinking "oh...thats slow". No offense! :)

Why is it, that even at small canvas sizes, the frame rates are way below any expectation?
Do you accelerate the 2D construction views with OpenGL?

Anyway, nice idea and with some tweaking done it will be a pretty neat work.

- Thomas

Thierry Milard (free)

I migrated from java3D 1.3.2 to java3D 1.5.1 a few months ago (together
with upgrade in java JRE).
And I do not regret it: Speed of my application moved from very slow to
reseonibly quick.
Maybe the performance upgrades was also du to java jre upgrade [because
I think swing rendering was also faster]... I will never know.

Really I think you should move on to java3D 1.5
T.

quite was suddendly the rendering pe
java3d-interest@javadesktop.org a écrit :
>> Are there some really serious limitations compared to Java 3D 1.5
>>
>
> Hmm, I could think of significant performance disadvantages. I tried your app and couldn't help thinking "oh...thats slow". No offense! :)
>
> Why is it, that even at small canvas sizes, the frame rates are way below any expectation?
> Do you accelerate the 2D construction views with OpenGL?
>
> Anyway, nice idea and with some tweaking done it will be a pretty neat work.
>
> - Thomas
> [Message sent by forum member 'stylertim' (stylertim)]
>
> http://forums.java.net/jive/thread.jspa?messageID=226989
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

kcr
Offline
Joined: 2004-03-17
Points: 0

To add another point, Java 3D 1.5.1 will automatically fall back to the D3D pipeline if OpenGL 1.2 or better is not available.

Btw, to clarify an earlier comment you made:

> If Java 3D 1.3.2 works even on Windows Vista, I think I'll stay with that version for a long time on Windows

It wasn't the Java 3D 1.3.2 version I tested. I ran your 0.17 beta which is using Java 3D 1.5.1.

-- Kevin

puybaret
Offline
Joined: 2004-12-04
Points: 0

> To add another point, Java 3D 1.5.1 will
> automatically fall back to the D3D pipeline if OpenGL
> 1.2 or better is not available.

That's the feature that made me want to try Java 3D 1.5.1, but after testing the different options cited in http://wiki.java.net/bin/view/Javadesktop/Java3DApplicationDevelopment , I didn't succeed to make it work. I can provide you some logs if you want to.
Could you tell be the exact list of options I should set in the JNLP file to ensure a Swing/Java 3D application like Sweet Home 3D works even on machines with default Windows OpenGL or D3D driver ?

> Btw, to clarify an earlier comment you made:
>
> > If Java 3D 1.3.2 works even on Windows Vista, I
> > think I'll stay with that version for a long time on Windows
>
> It wasn't the Java 3D 1.3.2 version I tested. I ran
> your 0.17 beta which is using Java 3D 1.5.1.

It uses Java 3D 1.5.1 only on Linux, but if you installed Java 3D 1.5.1 in lib/ext directory of your Windows JRE, the Java 3D libs provided with Sweet Home 3D won't be used. Always this problem of not being able to override default installation ! ;)

kcr
Offline
Joined: 2004-03-17
Points: 0

> That's the feature that made me want to try Java 3D 1.5.1, but ... I didn't succeed to make it work. I can provide you some logs if you want to.

Yes, we'd like to see the logs if you have them.

> Could you tell be the exact list of options I should set in the JNLP file to ensure a Swing/Java 3D application like Sweet Home 3D works even on machines with default Windows OpenGL or D3D driver ?

You shouldn't need any options for Java 3D, although specifying "-Dsun.java2d.noddraw=true" is a good idea to avoid interoperation problems between 2D and 3D.

-- Kevin

puybaret
Offline
Joined: 2004-12-04
Points: 0

> > That's the feature that made me want to try Java 3D
> > 1.5.1, but ... I didn't succeed to make it work. I
> > can provide you some logs if you want to.
>
> Yes, we'd like to see the logs if you have them.

Here it is :
------------------------------------------------------------------------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03c7c964, pid=1692, tid=2184
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
# Problematic frame:
# C [j3dcore-d3d.dll+0x5c964]
#

--------------- T H R E A D ---------------

Current thread (0x0379c008): JavaThread "J3D-Renderer-1" [_thread_in_native, id=2184]

siginfo: ExceptionCode=0xc0000005, writing address 0x03c8e7dc

Registers:
EAX=0x00000076, EBX=0x000e4876, ECX=0x03dff894, EDX=0x03c8e7dc
ESP=0x03dff614, EBP=0x03dff6a4, ESI=0x03dff658, EDI=0x03c8e701
EIP=0x03c7c964, EFLAGS=0x00010202

Top of Stack: (sp=0x03dff614)
0x03dff614: 03c7cc38 036c3aa8 03c8e7dc 000e4840
0x03dff624: 56454426 3331315f 55532631 53595342
0x03dff634: 00000000 30303030 45522630 30305f56
0x03dff644: 00000000 00000000 00000000 00000000
0x03dff654: 00000000 00000000 00000000 00000000
0x03dff664: 00000000 00000000 00000000 00000000
0x03dff674: 00000000 00000000 00000000 00000000
0x03dff684: 00000000 00000000 00000000 00000000

Instructions: (pc=0x03c7c964)
0x03c7c954: 40 74 06 83 79 08 00 74 24 ff 49 04 78 0b 8b 11
0x03c7c964: 88 02 ff 01 0f b6 c0 eb 0c 0f be c0 51 50 e8 d8

Stack: [0x03dc0000,0x03e00000), sp=0x03dff614, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [j3dcore-d3d.dll+0x5c964]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j javax.media.j3d.Win32NativeConfigTemplate3D.choosePixelFormat(JI[I[J)I+0
j javax.media.j3d.Win32NativeConfigTemplate3D.getBestConfiguration(
Ljavax/media/j3d/GraphicsConfigTemplate3D;[Ljava/awt/GraphicsConfiguration;)
Ljava/awt/GraphicsConfiguration;+116
j javax.media.j3d.NativePipeline.getBestConfiguration(Ljavax/media/j3d/GraphicsConfigTemplate3D;
[Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;+5
j javax.media.j3d.Renderer.doWork(J)V+1466
j javax.media.j3d.J3dThread.run()V+19
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x0379c008 JavaThread "J3D-Renderer-1" [_thread_in_native, id=2184]
0x031d7008 JavaThread "J3D-MasterControl-1" [_thread_blocked, id=2228]
0x031803d0 JavaThread "J3D-NotificationThread" [_thread_blocked, id=3312]
0x0319fbb0 JavaThread "J3D-TimerThread" [_thread_blocked, id=1708]
0x03118ce0 JavaThread "J3D-RenderingAttributesStructureUpdateThread" [_thread_blocked, id=588]
0x00a2de28 JavaThread "Thread-7" [_thread_in_native, id=2792]
0x00a58288 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4000]
0x03137878 JavaThread "AWT-Shutdown" [_thread_blocked, id=1352]
0x030fec28 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=3652]
0x03139a38 JavaThread "TimerQueue" daemon [_thread_blocked, id=2476]
0x0311e948 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1016]
0x003571e8 JavaThread "DestroyJavaVM" [_thread_blocked, id=2140]
0x03118f38 JavaThread "javawsApplicationMain" [_thread_blocked, id=804]
0x03110d40 JavaThread "ConsoleWriterThread" daemon [_thread_blocked, id=2980]
0x030b8838 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=284]
0x00a5a090 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2088]
0x00a586d8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2864]
0x00a13ac8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4076]
0x009e4698 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3440]
0x009e39b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1532]
0x009e08f0 JavaThread "Finalizer" daemon [_thread_blocked, id=2868]
0x009df470 JavaThread "Reference Handler" daemon [_thread_blocked, id=2128]

Other Threads:
0x00354c58 VMThread [id=824]
0x00a14d10 WatcherThread [id=2580]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 243K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 43% used [0x22a70000, 0x22aa7ff0, 0x22af0000)
from space 64K, 30% used [0x22b00000, 0x22b04e30, 0x22b10000)
to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
tenured generation total 4952K, used 4034K [0x22f50000, 0x23426000, 0x26a70000)
the space 4952K, 81% used [0x22f50000, 0x23340860, 0x23340a00, 0x23426000)
compacting perm gen total 8192K, used 4292K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 52% used [0x26a70000, 0x26ea11a0, 0x26ea1200, 0x27270000)
ro space 8192K, 63% used [0x2aa70000, 0x2af80590, 0x2af80600, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b8121b0, 0x2b812200, 0x2be70000)

Dynamic libraries:
0x00400000 - 0x0040d000 C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe
0x7c910000 - 0x7c9c7000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c905000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e4c000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee1000 C:\WINDOWS\system32\RPCRT4.dll
0x7e390000 - 0x7e420000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f37000 C:\WINDOWS\system32\GDI32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll
0x76320000 - 0x7633d000 C:\WINDOWS\system32\IMM32.DLL
0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll
0x76ae0000 - 0x76b0f000 C:\WINDOWS\system32\WINMM.dll
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_12\bin\hpi.dll
0x76ba0000 - 0x76bab000 C:\WINDOWS\system32\PSAPI.DLL
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_12\bin\verify.dll
0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_12\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_12\bin\zip.dll
0x6d000000 - 0x6d16a000 C:\Program Files\Java\jre1.5.0_12\bin\awt.dll
0x72f50000 - 0x72f76000 C:\WINDOWS\system32\WINSPOOL.DRV
0x774a0000 - 0x775dd000 C:\WINDOWS\system32\ole32.dll
0x5b090000 - 0x5b0c8000 C:\WINDOWS\system32\uxtheme.dll
0x736b0000 - 0x736f9000 C:\WINDOWS\system32\ddraw.dll
0x73b10000 - 0x73b16000 C:\WINDOWS\system32\DCIMAN32.dll
0x74690000 - 0x746db000 C:\WINDOWS\system32\MSCTF.dll
0x75140000 - 0x7516e000 C:\WINDOWS\system32\msctfime.ime
0x6d1f0000 - 0x6d203000 C:\Program Files\Java\jre1.5.0_12\bin\deploy.dll
0x44080000 - 0x4414f000 C:\WINDOWS\system32\WININET.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x02d70000 - 0x02d79000 C:\WINDOWS\system32\Normaliz.dll
0x43e00000 - 0x43e45000 C:\WINDOWS\system32\iertutil.dll
0x44160000 - 0x44284000 C:\WINDOWS\system32\urlmon.dll
0x770e0000 - 0x7716c000 C:\WINDOWS\system32\OLEAUT32.dll
0x7c9d0000 - 0x7d1f3000 C:\WINDOWS\system32\SHELL32.dll
0x779e0000 - 0x77a76000 C:\WINDOWS\system32\CRYPT32.dll
0x77a80000 - 0x77a92000 C:\WINDOWS\system32\MSASN1.dll
0x77390000 - 0x77493000 C:\WINDOWS\WinSxS\x86_Microsoft.
Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x58b50000 - 0x58bea000 C:\WINDOWS\system32\comctl32.dll
0x6d5c0000 - 0x6d5e5000 C:\Program Files\Java\jre1.5.0_12\bin\RegUtils.dll
0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll
0x7d200000 - 0x7d4be000 C:\WINDOWS\system32\msi.dll
0x6d240000 - 0x6d290000 C:\Program Files\Java\jre1.5.0_12\bin\fontmanager.dll
0x6d4d0000 - 0x6d4e3000 C:\Program Files\Java\jre1.5.0_12\bin\net.dll
0x719f0000 - 0x71a07000 C:\WINDOWS\system32\WS2_32.dll
0x719e0000 - 0x719e8000 C:\WINDOWS\system32\WS2HELP.dll
0x6d4f0000 - 0x6d4f9000 C:\Program Files\Java\jre1.5.0_12\bin\nio.dll
0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
0x76e90000 - 0x76ecc000 C:\WINDOWS\system32\RASAPI32.dll
0x76e40000 - 0x76e52000 C:\WINDOWS\system32\rasman.dll
0x6fee0000 - 0x6ff34000 C:\WINDOWS\system32\NETAPI32.dll
0x76e60000 - 0x76e8f000 C:\WINDOWS\system32\TAPI32.dll
0x76e30000 - 0x76e3e000 C:\WINDOWS\system32\rtutils.dll
0x76960000 - 0x76a15000 C:\WINDOWS\system32\USERENV.dll
0x77c40000 - 0x77c63000 C:\WINDOWS\system32\msv1_0.dll
0x76d10000 - 0x76d29000 C:\WINDOWS\system32\iphlpapi.dll
0x72220000 - 0x72225000 C:\WINDOWS\system32\sensapi.dll
0x71990000 - 0x719d0000 C:\WINDOWS\system32\mswsock.dll
0x62e40000 - 0x62e99000 C:\WINDOWS\system32\hnetcfg.dll
0x719d0000 - 0x719d8000 C:\WINDOWS\System32\wshtcpip.dll
0x6d3d0000 - 0x6d3ef000 C:\Program Files\Java\jre1.5.0_12\bin\jpeg.dll
0x6d190000 - 0x6d1bf000 C:\Program Files\Java\jre1.5.0_12\bin\cmm.dll
0x10000000 - 0x1000e000 C:\Documents and Settings\Emmanuel\Application Data\Sun\Java\
Deployment\cache\javaws\http\D10.0.1.2\P80\DM~manu\DMSweetHome3D\DMwindows\RNjava3d.jar\j3dcore-ogl-chk.dll
0x5f070000 - 0x5f13c000 C:\WINDOWS\system32\OPENGL32.dll
0x6cef0000 - 0x6cf11000 C:\WINDOWS\system32\GLU32.dll
0x6d370000 - 0x6d376000 C:\Program Files\Java\jre1.5.0_12\bin\jawt.dll
0x03c20000 - 0x03cf3000 C:\Documents and Settings\Emmanuel\Application Data\Sun\Java\
Deployment\cache\javaws\http\D10.0.1.2\P80\DM~manu\DMSweetHome3D\DMwindows\RNjava3d.jar\j3dcore-d3d.dll
0x4fcf0000 - 0x4fe96000 C:\WINDOWS\system32\d3d9.dll
0x6de60000 - 0x6de66000 C:\WINDOWS\system32\d3d8thk.dll
0x74bf0000 - 0x74c1c000 C:\WINDOWS\system32\OLEACC.dll
0x76010000 - 0x76075000 C:\WINDOWS\system32\MSVCP60.dll

VM Arguments:
jvm_args: -Dsun.swing.enableImprovedDragGesture=true -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_12\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_12\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_12\bin -Djnlpx.splashport=1891 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_12\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=NULL,NULL
java_command: com.sun.javaws.Main -offline C:\DOCUME~1\Emmanuel\LOCALS~1\Temp\javaws5
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files\Java\jre1.5.0_12\bin;C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0_07\bin;"C:\Program Files\Java\jre1.5.0_12\bin"
USERNAME=Emmanuel
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 14 stepping 8, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 327220k(130876k free), swap 793224k(582944k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May 2 2007 02:07:59 by "java_re" with MS VC++ 6.0
------------------------------------------------------------------------

> You shouldn't need any options for Java 3D, although
> specifying "-Dsun.java2d.noddraw=true" is a good idea
> to avoid interoperation problems between 2D and 3D.

I'll try again with this option. Thank you for your help :)

wsoliman
Offline
Joined: 2009-02-14
Points: 0

i downloaded Sweet Home 3D and it works just fine except when i want to save on Windows XP. It does nothing and does not save. It neither hangs or saves. I downloaded the older version of Java IDE but still the same problem.I am not expert in Java but I would like very much to have this program running as it is easy to use and very powerful compared to many sophisticated costly softwares. please let me know of any fix.

Regards,

wsoliman@gmail.com

puybaret
Offline
Joined: 2004-12-04
Points: 0

Hi,

I recently developed some new features in Sweet Home 3D that you may test with this link :
http://sweethome3d.sourceforge.net/test/SweetHome3D.0.17.beta.jnlp

I would be pleased to read your feedback about these features, especally from Linux or Solaris users, because I decided to try Java 3D 1.5.1 with this version under [b]Linux[/b] and [b]SunOS[/b].

On Windows, I didn't succeed to make it work after trying the numerous options and system properties proposed at http://wiki.java.net/bin/view/Javadesktop/Java3DApplicationDevelopment . This may be due to my machine and its basic Open GL drivers (it's Parallels Desktop emulator running a Windows XP system on Mac OS X), but I don't see why Java 3D 1.5 shouldn't work on basic systems, if it used to work with Java 3D 1.3.2

On Mac OS X, I didn't succeed to override default Java 3D 1.3.1 libraries by Java 3D 1.5.1 with Java Web Start.
After reading many documents about extension mechanism and versioning in Java, I can't see any other solution than installing Java 3D 1.5.1 directly in ~/Library/Java/Extensions, and I didn't read anything about how to do that automatically with Java Web Start.
Did I miss something ?

kcr
Offline
Joined: 2004-03-17
Points: 0

Java 3D 1.4 and later requires an accelerated OpenGL driver. My guess is that the Parallels Desktop emulator only supports Microsoft's OpenGL 1.1 software renderer, which is not sufficient to run Java 3D.

As for the Mac OS X problem, there are only two solutions that I am aware of. First, you can remove the existing j3dcore.jar, vecmath.jar and j3dutils.jar files from /System/Library/Java/Extensions (I think that's where they get put). Second, you can install the new files in the extensions directory.

-- Kevin

Dmitri Darine

Hi,
Nice work!
I have a question about 3D view panel. Is it ordinary Canvas3D/JCanvas3D?

--

Best regards
Dmitri Darine

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

puybaret
Offline
Joined: 2004-12-04
Points: 0

At the time of Sweet Home 3D development, Java 3D 1.5 wasn't available yet ; so the 3D view is a Canvas3D embeded in a JComponent. At this time, all Java 3D code of the application is in HomeComponent3D class (which contains a few static inner classes) :
http://sweethome3d.cvs.sourceforge.net/sweethome3d/SweetHome3D/src/com/e...

By the way, note that Sweet Home 3D was developed as a study case for a French book about Swing, described at http://www.eteks.com/services/cahierswing.html
For English readers, if you feel that the translation of such a book may interest US market, please write me. Any help to convince an American editor will be very much appreciated. I can send to interested people a description in English of the book.

pepe
Offline
Joined: 2003-06-10
Points: 0

Interesting application !

If only you could use IKEA's 3D objects. ^^

puybaret
Offline
Joined: 2004-12-04
Points: 0

If only there was at least a free *redistributable* library of furniture, coming from them or an other place !
I had to design myself the 40 pieces available in Sweet Home 3D (I did it with Art of Illusion free software)...

kramulous
Offline
Joined: 2005-11-15
Points: 0

Have played with SweetHome3D and I like ... very much! Excellent work.

I know that there are endless add-ons for a project like this but I'd like to suggest additional ones not yet mentioned.

1. VRML (or other) export facility
2. Apply textures - I've just bought a home and would love to take some photos and add to a wall.

I've downloaded the source and will work on the vrml export anyway.

puybaret
Offline
Joined: 2004-12-04
Points: 0

Thank you for your remark :-)

I plan first to let the user define the color of walls, and then I'll add also texture.

When you'll succeed to export to WRML, please let me know to see if I can reuse your feature...

Rolf Gabler-Mieck

Hi,
I am a potential tester and also user - cause I move and have to do
exactly that part, ma it helps,
but I wasn't able to start, webstart show me that the jnlp-version in
the startfile 1.5+ isn't supported,
I got jsdk 1.4_2_11,
is it essential to have j1.5 ?
regards
rolf

>Hi,
>
>I'm pleased to present you a new Java application that uses Java3D.
>It's called Sweet Home 3D, and it helps end user to arrange its furniture in its home.
>
>It's available here :
>http://sweethome3d.sourceforge.net/
>and you may launch it directly with this link :
>http://sweethome3d.sourceforge.net/SweetHome3D.jnlp
>
>Please, give me your feedback, even if this application is incomplete.
>I'll write a user guide later.
>
>By the way, if you have any idea why the splash screen doesn't appear after installation, I'll be pleased to read it...
>[Message sent by forum member 'puybaret' (puybaret)]
>
>http://forums.java.net/jive/thread.jspa?messageID=158399
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
>
>

--
Dipl. Ing.(FH) d. Geomatik
Rolf Gabler-Mieck
c/o
LGI-Geographisches Institut der CAU-Kiel
Ludewig-Meyn Str. 14
24098 Kiel
Tel: +49 431-880.2955
FAX: +49 431-880.4658
e-mail: gabler.mieck@geographie.uni-kiel.de

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

puybaret
Offline
Joined: 2004-12-04
Points: 0

Sweet Home 3D can't work with Java 1.4 and previous Java versions.
Java 5 was chosen to develop this project because it brought many enhancements to Java language, Swing and Java Web Start.

You just have to update your JRE and it will work...

Best regards

Emmanuel

Rolf Gabler-Mieck

Thanks for your info,
I'll go for a try and have a look what happens after updating with all
my earlier software.... more depreceated things I blieve hopefully no
malfunction.
I did not spent time for looking whih advantages has 1.5 again 1.4.

for j3d will 1.3.1 enough?

I need a time hole for looking whats new and whats changed in j3d 1.4
and 1.5 but all I heared seem to be a great work pixelshaders and so far...
will c
I'll gave you a comment for your software when I'd updated
regards
rolf

>Sweet Home 3D can't work with Java 1.4 and previous Java versions.
>Java 5 was chosen to develop this project because it brought many enhancements to Java language, Swing and Java Web Start.
>
>You just have to update your JRE and it will work...
>
>Best regards
>
>Emmanuel
>[Message sent by forum member 'puybaret' (puybaret)]
>
>http://forums.java.net/jive/thread.jspa?messageID=160068
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
>
>

--
Dipl. Ing.(FH) d. Geomatik
Rolf Gabler-Mieck
c/o
LGI-Geographisches Institut der CAU-Kiel
Ludewig-Meyn Str. 14
24098 Kiel
Tel: +49 431-880.2955
FAX: +49 431-880.4658
e-mail: gabler.mieck@geographie.uni-kiel.de

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

puybaret
Offline
Joined: 2004-12-04
Points: 0

You don't need to install or update Java 3D libraries.
Sweet Home 3D downloads automatically Java 3D 1.3.2 jars with application jar.

jada
Offline
Joined: 2004-03-17
Points: 0

If you may, you should consider upgrade to Java 3D 1.5.0.
It has a smaller download size than 1.3.2. We are also working to deploy future Java 3D release with Pack200 to further reduce its download size.

- Chien.

tmilard
Offline
Joined: 2004-03-25
Points: 0

Pack 200 for java 3D ?
Oh yes : I think this is a [b]hell of a good idea[/b].

I must confess that the overall deployement of a java program is really improving.
JWS (ie. java Web Start) is -finaly- becoming an honorable piece of the java platform.
Well at least this is what I found. [And this is good news for me ... java3D users]

Ps: Is is complicated to transform a JWS/JNLP program release to a JWS With Pack 200 :I read somewhere you had to [i]install a servlet[/i] or something odd like this .....

- Is there someone in java3D comunity who made the 'Pack 200' move ?
- Was it easy ?

Thanks Thierry[u][/u]

chickenfuego
Offline
Joined: 2005-12-08
Points: 0

Dear Puybaret,

I just tested your application with Java web start. I can report that everything seems to run fine and smoothly on a Linux laptop P4 2.4Ghz with only 256MB ram, and ATi radeon mobility R250 Lf [FireGL 9000] (fglrx drivers).

I am just wondering about the size of the download with java web start (7MB?). What is taking so much space?

I have some suggestions for the user-friendlyness of your interface:

1) Drag and drop of the furnitures is not working on the first click (I had to first click to select, and then click again to drag and drop).

2) It is fun to turn around the 3d view with the mouse. You might add also a zoom with the mouse wheel (com.sun.j3d.utils.behaviors.mouse.MouseWheelZoom).

Best regards and petite bise a Amelie Poulain si elle est dans le coin..

Chickenfire.

puybaret
Offline
Joined: 2004-12-04
Points: 0

Thank you for your feedback.

The application is 7 MB because of Java 3D librairies (3,6 MB) and furniture resources.

Drag and drop works at first click from Java 1.5_05 (read http://weblogs.java.net/blog/shan_man/archive/2005/06/improved_drag_g.html for more information)

I know that navigation in the 3D view is quite poor at this time, but I'll improved this later.

By the way, I found why the splash screen didn't work : it's because I was using a encoding="ISO-8859-1" attribute in the JNLP file prolog !!!

Best regards from Paris