Show Posts
|
|
Pages: [1] 2 3 ... 34
|
|
3
|
General Category / General Discussion / Two problems with the main xith.org site
|
on: 09. June 2008, 02:51:43 am
|
Credits page: # Scott Shaver - for his donation of the Java3D-like scenegraph code (SceneGraphObject, Node, Group, etc.) which was the starting point for the com.xith3d.scenegraph package
should be changed to # Scott Shaver - for his donation of the Java3D-like scenegraph code (SceneGraphObject, Node, Group, etc.) which was the starting point for the org.xith3d.scenegraph package
The Features page still lists HIAL as our input abstraction.
|
|
|
|
|
5
|
General Category / Support / Re: OBJ normal smoothing results in very strange appearances
|
on: 08. June 2008, 03:10:50 am
|
Even when the normals are flipped correctly, the models still look the same. Here is the convenience loader code I am using: import java.util.Iterator;
import org.xith3d.loaders.models.impl.obj.OBJLoader; import org.xith3d.loaders.models.impl.obj.OBJModel; import org.xith3d.loaders.shaders.impl.glsl.GLSLShaderLoader; import org.xith3d.resources.ResourceLocator; import org.xith3d.scenegraph.GLSLFragmentShader; import org.xith3d.scenegraph.GLSLShaderProgram; import org.xith3d.scenegraph.GLSLVertexShader; import org.xith3d.scenegraph.Shape3D; import org.xith3d.utility.geometry.GeometryUtils; import org.xith3d.utility.geometry.NormalsVisualizer;
import exodus.errors.ErrorHandler;
public class OBJLoad { final boolean flipNormals = true; final boolean shader = false;
public OBJModel load(String string, boolean smooth) { try { OBJLoader loader = new OBJLoader(); OBJModel model = loader.loadModel(ResourceLocator.create("Models/").getResource(string + ".obj")); if(smooth) { for (Iterator<Shape3D> iterator = model.getShapeNodes().iterator(); iterator.hasNext();) { Shape3D curr = iterator.next(); GeometryUtils.computeVertexNormals(curr.getGeometry(), flipNormals); curr.getParent().addChild(new NormalsVisualizer(curr)); } } return model; } catch(Exception e) { e.printStackTrace(); } return null; } }
|
|
|
|
|
6
|
General Category / Support / Re: Java Crash running TerrainTest4
|
on: 08. June 2008, 02:58:23 am
|
With LWJGL: Number of vertices: 66049 Number of vertices after optimization: 52854 Number of indicies: 170247 # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6975bdf0, pid=2808, tid=5472 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode) # Problematic frame: # C [nvoglnt.dll+0x25bdf0] # # An error report file with more information is saved as hs_err_pid2808.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp# # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6975bdf0, pid=2808, tid=5472 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode) # Problematic frame: # C [nvoglnt.dll+0x25bdf0] # # 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 (0x0ab1f400): JavaThread "Xith3D render thread" [_thread_in_native, id=5472]
siginfo: ExceptionCode=0xc0000005, reading address 0x0bb6c000
Registers: EAX=0x0ce823f8, EBX=0x0cde7400, ECX=0x0bb6c000, EDX=0x00000d45 ESP=0x0c88f148, EBP=0x00000021, ESI=0x0000000c, EDI=0x00000000 EIP=0x6975bdf0, EFLAGS=0x00010202
Top of Stack: (sp=0x0c88f148) 0x0c88f148: 0c8928fc 0c1c77c8 697b46b5 0cde7400 0x0c88f158: 0bad1000 0000000c 0000dbef 00029907 0x0c88f168: 0c1bba80 0bb71000 00000005 0c2a3680 0x0c88f178: 00000001 0cde7400 0c2b8a00 00001e00 0x0c88f188: 00001e00 00000207 00001e00 00000000 0x0c88f198: 00000000 00000000 000000ff 00000000 0x0c88f1a8: 00000001 00000000 00001e00 000000ff 0x0c88f1b8: 00000207 0c22c3a8 00000000 00001e00
Instructions: (pc=0x6975bdf0) 0x6975bde0: 10 57 83 c1 08 8b 79 f8 89 38 8b 79 fc 89 78 04 0x6975bdf0: 8b 39 89 78 08 03 ce 83 c0 0c 83 ea 01 75 e6 5f
Stack: [0x0c840000,0x0c890000), sp=0x0c88f148, free space=316k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [nvoglnt.dll+0x25bdf0]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.lwjgl.opengl.GL11.nglDrawElements(IIILjava/nio/Buffer;IJ)V+0 j org.lwjgl.opengl.GL11.glDrawElements(ILjava/nio/IntBuffer;)V+38 j org.xith3d.render.lwjgl.ShapeAtomPeer.drawBuffers(Lorg/xith3d/scenegraph/GeometryArray;ZZZ)I+296 j org.xith3d.render.lwjgl.ShapeAtomPeer.renderNoDisplayLists(Lorg/xith3d/render/preprocessing/ShapeAtom;ILorg/xith3d/scenegraph/Appearance;Lorg/xith3d/scenegraph/Geometry;Lorg/xith3d/scenegraph/GeometryArray;Lorg/xith3d/scenegraph/Geometry$Optimization;ZILorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/OpenGLStatesCache;ZZZ)I+181 j org.xith3d.render.lwjgl.ShapeAtomPeer.render(Lorg/xith3d/render/preprocessing/ShapeAtom;Lorg/xith3d/scenegraph/Appearance;Lorg/xith3d/scenegraph/Geometry;Lorg/xith3d/scenegraph/GeometryArray;ZILorg/xith3d/render/RenderPeer;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/RenderOptions;Z)I+168 j org.xith3d.render.lwjgl.ShapeAtomPeer.renderAtom(Lorg/xith3d/render/preprocessing/RenderAtom;Ljava/lang/Object;Lorg/xith3d/render/RenderPeer;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/RenderOptions;JJLorg/xith3d/render/RenderPeer$RenderMode;J)I+518 j org.xith3d.render.RenderPeer.renderAtom(Lorg/xith3d/render/preprocessing/RenderAtom;Ljava/lang/Object;ILorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/RenderOptions;JJLorg/xith3d/render/RenderPeer$RenderMode;J)I+177 j org.xith3d.render.lwjgl.RenderPeerImpl.drawBin(Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/RenderOptions;ZZLorg/xith3d/render/preprocessing/RenderBin;Lorg/xith3d/scenegraph/View;Lorg/openmali/spatial/bodies/Frustum;JIJJLorg/xith3d/render/RenderPeer$RenderMode;)I+95 j org.xith3d.render.lwjgl.RenderPeerImpl.renderMain(Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/RenderOptions;ZZLorg/xith3d/scenegraph/View;Lorg/openmali/spatial/bodies/Frustum;Lorg/xith3d/render/RenderPass;JIJJLorg/xith3d/render/RenderPeer$RenderMode;)I+103 j org.xith3d.render.lwjgl.RenderPeerImpl.renderRenderPass(Ljava/lang/Object;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Ljava/util/List;Lorg/xith3d/render/RenderPass;IZLorg/xith3d/render/RenderPeer$RenderMode;Lorg/xith3d/scenegraph/View;ZJJJLorg/xith3d/picking/PickRequest;I)I+560 j org.xith3d.render.lwjgl.RenderPeerImpl.render(Ljava/lang/Object;Lorg/xith3d/scenegraph/View;Ljava/util/List;ZJJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+234 j org.xith3d.render.lwjgl.CanvasPeerImplBase.doRender(Lorg/xith3d/scenegraph/View;Ljava/util/List;ZJJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+16 j org.xith3d.render.lwjgl.CanvasPeerImplNative.initRenderingImpl(Lorg/xith3d/scenegraph/View;Ljava/util/List;ZJJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+286 j org.xith3d.render.DefaultRenderer.doRender(Ljava/util/List;Lorg/xith3d/render/Canvas3D;JJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+49 j org.xith3d.render.DefaultRenderer.renderOnceInternal(Ljava/util/List;Ljava/util/List;Lorg/xith3d/render/Canvas3D;JJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+882 j org.xith3d.render.DefaultRenderer.renderOnce(Lorg/xith3d/render/Canvas3D;JJ)V+36 j org.xith3d.base.Xith3DEnvironment.render(JJ)V+108 j org.xith3d.loop.RenderLoop.renderNextFrame(JJLorg/xith3d/loop/UpdatingThread$TimingMode;)V+19 j org.xith3d.loop.RenderLoop.loopIteration(JJLorg/xith3d/loop/UpdatingThread$TimingMode;)V+22 j org.xith3d.loop.RenderLoop.update(JJLorg/xith3d/loop/UpdatingThread$TimingMode;)V+5 j org.xith3d.loop.UpdatingThread.nextIteration(Z)J+92 j org.xith3d.loop.RenderLoop.nextIteration(Z)J+14 j org.xith3d.loop.RenderLoop.loop()V+61 j org.xith3d.loop.UpdatingThread.run()V+55 j org.xith3d.loop.RenderLoop.run()V+10 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread ) 0x00286c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=5468] =>0x0ab1f400 JavaThread "Xith3D render thread" [_thread_in_native, id=5472] 0x0aea5000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6080] 0x0aaebc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4140] 0x0aabc400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4804] 0x0aab7800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=476] 0x0aab6400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2648] 0x0aab5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5732] 0x0aaa4400 JavaThread "Finalizer" daemon [_thread_blocked, id=4624] 0x0aaa3400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3952]
Other Threads: 0x0aa9ec00 VMThread [id=5340] 0x0aabdc00 WatcherThread [id=5040]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap def new generation total 1664K, used 274K [0x02990000, 0x02b50000, 0x02e70000) eden space 1536K, 17% used [0x02990000, 0x029d4840, 0x02b10000) from space 128K, 0% used [0x02b30000, 0x02b30000, 0x02b50000) to space 128K, 0% used [0x02b10000, 0x02b10000, 0x02b30000) tenured generation total 21280K, used 16029K [0x02e70000, 0x04338000, 0x06990000) the space 21280K, 75% used [0x02e70000, 0x03e17498, 0x03e17600, 0x04338000) compacting perm gen total 12288K, used 8456K [0x06990000, 0x07590000, 0x0a990000) the space 12288K, 68% used [0x06990000, 0x071d2330, 0x071d2400, 0x07590000) No shared spaces configured.
Dynamic libraries: 0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0_03\bin\javaw.exe 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll 0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll 0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL 0x003a0000 - 0x003bb000 C:\Program Files\Common Files\Logishrd\LVMVFM\LVPrcInj.dll 0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_03\bin\msvcr71.dll 0x6d7c0000 - 0x6da0a000 C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll 0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_03\bin\hpi.dll 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_03\bin\verify.dll 0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0_03\bin\java.dll 0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_03\bin\zip.dll 0x10000000 - 0x1004d000 C:\Java\Workspace\xith3d\third-party\lwjgl\win32\lwjgl.dll 0x72280000 - 0x722aa000 C:\WINDOWS\system32\DINPUT.dll 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll 0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.dll 0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll 0x73760000 - 0x737a9000 C:\WINDOWS\system32\DDRAW.dll 0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll 0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll 0x6d000000 - 0x6d1c3000 C:\Program Files\Java\jre1.6.0_03\bin\awt.dll 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV 0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll 0x0b120000 - 0x0b291000 C:\WINDOWS\system32\nview.dll 0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll 0x7c9c0000 - 0x7d1d6000 C:\WINDOWS\system32\SHELL32.dll 0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll 0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll 0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll 0x77690000 - 0x776b1000 C:\WINDOWS\system32\NTMARTA.DLL 0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll 0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll 0x651b0000 - 0x651d2000 C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\ASOEHOOK.DLL 0x6af90000 - 0x6afee000 C:\Program Files\Common Files\Symantec Shared\ccL40.dll 0x7c3a0000 - 0x7c41b000 C:\WINDOWS\system32\MSVCP71.dll 0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll 0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll 0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime 0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll 0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll 0x6d1f0000 - 0x6d21f000 C:\Program Files\Java\jre1.6.0_03\bin\cmm.dll 0x6d450000 - 0x6d474000 C:\Program Files\Java\jre1.6.0_03\bin\jpeg.dll 0x69500000 - 0x69baa000 C:\WINDOWS\system32\nvoglnt.dll 0x5c2c0000 - 0x5c300000 C:\WINDOWS\ime\sptip.dll 0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll 0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll 0x20000000 - 0x20011000 C:\WINDOWS\IME\SPGRMR.DLL 0x7d1e0000 - 0x7d49e000 C:\WINDOWS\system32\msi.dll 0x0c6f0000 - 0x0c6f2000 C:\Program Files\Common Files\Microsoft Shared\INK\PENUSA.DLL
VM Arguments: jvm_args: -Djava.library.path=C:\Java\Workspace\xith3d\third-party\gluegen\windows-i586;C:\Java\Workspace\xith3d\third-party\jogl\windows-i586;C:\Java\Workspace\xith3d\third-party\swt\windows;C:\Java\Workspace\xith3d\third-party\lwjgl\win32;C:\Java\Workspace\xith3d\third-party\joal\windows-i586 java_command: org.xith3d.test.terrain.TerrainTest4 Launcher Type: SUN_STANDARD
Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03 CLASSPATH=.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\WINDOWS\java\classes; C:\Tomcat 6.0\lib\jsp-api.jar; C:Tomcat 6.0\lib\servlet-api.jar; C:\ServletsAndJSP\; PATH=C:\Program Files\Java\jre1.6.0_03\bin\client;C:\Program Files\Java\jre1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jre1.6.0\bin\client\;C:\;C:\Program Files\Common Files\GTK\2.0\bin;.;C:\Program Files\QuickTime\QTSystem\ USERNAME=sam wozniak OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 514860k(67128k free), swap 1258628k(715396k 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
|
|
|
|
|
7
|
General Category / Support / Re: Java Crash running TerrainTest4
|
on: 06. June 2008, 06:23:56 pm
|
Here it is. # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6975bdf0, pid=3208, tid=2756 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode) # Problematic frame: # C [nvoglnt.dll+0x25bdf0] # # 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 (0x0b5c4000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2756]
siginfo: ExceptionCode=0xc0000005, reading address 0x0b9dc000
Registers: EAX=0x0ce90d88, EBX=0x0cdf5d90, ECX=0x0b9dc000, EDX=0x00000d45 ESP=0x0c43ef80, EBP=0x00000021, ESI=0x0000000c, EDI=0x00000000 EIP=0x6975bdf0, EFLAGS=0x00010202
Top of Stack: (sp=0x0c43ef80) 0x0c43ef80: 0cc82f5c 0c9c77c8 697b46b5 0cdf5d90 0x0c43ef90: 0b941000 0000000c 0000dbef 00029907 0x0c43efa0: 0c9bba80 0b9e1000 00000005 0ca88280 0x0c43efb0: 00000001 0cdf5d90 0ca9d600 00001e00 0x0c43efc0: 00001e00 00000207 00001e00 00000000 0x0c43efd0: 00000000 00000000 000000ff 00000000 0x0c43efe0: 00000001 00000000 00001e00 000000ff 0x0c43eff0: 00000207 0ca2c3a8 00000000 00001e00
Instructions: (pc=0x6975bdf0) 0x6975bde0: 10 57 83 c1 08 8b 79 f8 89 38 8b 79 fc 89 78 04 0x6975bdf0: 8b 39 89 78 08 03 ce 83 c0 0c 83 ea 01 75 e6 5f
Stack: [0x0c3f0000,0x0c440000), sp=0x0c43ef80, free space=315k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [nvoglnt.dll+0x25bdf0]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.opengl.impl.GLImpl.glDrawElements0(IIILjava/lang/Object;I)V+0 j com.sun.opengl.impl.GLImpl.glDrawElements(IIILjava/nio/Buffer;)V+33 j org.xith3d.render.jsr231.ShapeAtomPeer.drawBuffers(Ljavax/media/opengl/GL;Lorg/xith3d/scenegraph/GeometryArray;ZZ)I+294 j org.xith3d.render.jsr231.ShapeAtomPeer.renderNoDisplayLists(Ljavax/media/opengl/GL;Lorg/xith3d/render/preprocessing/ShapeAtom;ILorg/xith3d/scenegraph/Appearance;Lorg/xith3d/scenegraph/Geometry;Lorg/xith3d/scenegraph/GeometryArray;Lorg/xith3d/scenegraph/Geometry$Optimization;ZILorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/OpenGLStatesCache;ZZ)I+191 j org.xith3d.render.jsr231.ShapeAtomPeer.render(Ljavax/media/opengl/GL;Lorg/xith3d/render/preprocessing/ShapeAtom;Lorg/xith3d/scenegraph/Appearance;Lorg/xith3d/scenegraph/Geometry;Lorg/xith3d/scenegraph/GeometryArray;ZILorg/xith3d/render/RenderPeer;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/RenderOptions;Z)I+138 j org.xith3d.render.jsr231.ShapeAtomPeer.renderAtom(Lorg/xith3d/render/preprocessing/RenderAtom;Ljava/lang/Object;Lorg/xith3d/render/RenderPeer;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/RenderOptions;JJLorg/xith3d/render/RenderPeer$RenderMode;J)I+546 j org.xith3d.render.RenderPeer.renderAtom(Lorg/xith3d/render/preprocessing/RenderAtom;Ljava/lang/Object;ILorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/RenderOptions;JJLorg/xith3d/render/RenderPeer$RenderMode;J)I+177 j org.xith3d.render.jsr231.RenderPeerImpl.drawBin(Ljavax/media/opengl/GL;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/RenderOptions;ZZLorg/xith3d/render/preprocessing/RenderBin;Lorg/xith3d/scenegraph/View;Lorg/openmali/spatial/bodies/Frustum;JIJJLorg/xith3d/render/RenderPeer$RenderMode;)I+109 j org.xith3d.render.jsr231.RenderPeerImpl.renderMain(Ljavax/media/opengl/GL;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Lorg/xith3d/render/RenderOptions;ZZLorg/xith3d/scenegraph/View;Lorg/openmali/spatial/bodies/Frustum;Lorg/xith3d/render/RenderPass;JIJJLorg/xith3d/render/RenderPeer$RenderMode;)I+93 j org.xith3d.render.jsr231.RenderPeerImpl.renderRenderPass(Ljava/lang/Object;Lorg/xith3d/render/OpenGLCapabilities;Lorg/xith3d/render/OpenGLStatesCache;Ljava/util/List;Lorg/xith3d/render/RenderPass;IZLorg/xith3d/render/RenderPeer$RenderMode;Lorg/xith3d/scenegraph/View;ZJJJLorg/xith3d/picking/PickRequest;I)I+624 j org.xith3d.render.jsr231.RenderPeerImpl.render(Ljava/lang/Object;Lorg/xith3d/scenegraph/View;Ljava/util/List;ZJJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+245 j org.xith3d.render.jsr231.CanvasPeerImplBase.doRender(Lorg/xith3d/scenegraph/View;Ljava/util/List;ZJJJLorg/xith3d/picking/PickRequest;)Ljava/lang/Object;+19 j org.xith3d.render.jsr231.CanvasPeerImplAWT.display(Ljavax/media/opengl/GLAutoDrawable;)V+155 j com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;)V+29 j javax.media.opengl.GLCanvas$DisplayAction.run()V+80 j com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Ljavax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418 j javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;Ljava/lang/Runnable;)V+36 j javax.media.opengl.GLCanvas.display()V+9 j javax.media.opengl.GLCanvas.paint(Ljava/awt/Graphics;)V+125 j sun.awt.RepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6 j sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+326 j sun.awt.windows.WComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+107 j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+849 j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2 j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46 j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156 j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30 j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread ) 0x00387000 JavaThread "DestroyJavaVM" [_thread_blocked, id=2360] 0x0b809400 JavaThread "Xith3D render thread" [_thread_blocked, id=3784] =>0x0b5c4000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2756] 0x0b70bc00 JavaThread "AWT-Shutdown" [_thread_blocked, id=1592] 0x0aeb7000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2240] 0x0ae81800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1628] 0x0aacc400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3396] 0x0aac7800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2224] 0x0aac6400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2708] 0x0aac5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3844] 0x0aab7800 JavaThread "Finalizer" daemon [_thread_blocked, id=2384] 0x0aab3400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3008]
Other Threads: 0x0aaaec00 VMThread [id=360] 0x0aacdc00 WatcherThread [id=2880]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap def new generation total 1664K, used 1340K [0x029f0000, 0x02bb0000, 0x02ed0000) eden space 1536K, 87% used [0x029f0000, 0x02b3f028, 0x02b70000) from space 128K, 0% used [0x02b70000, 0x02b70000, 0x02b90000) to space 128K, 0% used [0x02b90000, 0x02b90000, 0x02bb0000) tenured generation total 21356K, used 16096K [0x02ed0000, 0x043ab000, 0x069f0000) the space 21356K, 75% used [0x02ed0000, 0x03e88348, 0x03e88400, 0x043ab000) compacting perm gen total 12288K, used 12010K [0x069f0000, 0x075f0000, 0x0a9f0000) the space 12288K, 97% used [0x069f0000, 0x075aaac0, 0x075aac00, 0x075f0000) No shared spaces configured.
Dynamic libraries: 0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0_03\bin\javaw.exe 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll 0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll 0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL 0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_03\bin\msvcr71.dll 0x6d7c0000 - 0x6da0a000 C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll 0x009c0000 - 0x009db000 C:\Program Files\Common Files\Logishrd\LVMVFM\LVPrcInj.dll 0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_03\bin\hpi.dll 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_03\bin\verify.dll 0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0_03\bin\java.dll 0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_03\bin\zip.dll 0x6d000000 - 0x6d1c3000 C:\Program Files\Java\jre1.6.0_03\bin\awt.dll 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll 0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll 0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll 0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll 0x6d2b0000 - 0x6d303000 C:\Program Files\Java\jre1.6.0_03\bin\fontmanager.dll 0x651b0000 - 0x651d2000 C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\ASOEHOOK.DLL 0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll 0x6af90000 - 0x6afee000 C:\Program Files\Common Files\Symantec Shared\ccL40.dll 0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll 0x7c3a0000 - 0x7c41b000 C:\WINDOWS\system32\MSVCP71.dll 0x10000000 - 0x10171000 C:\WINDOWS\system32\nview.dll 0x7c9c0000 - 0x7d1d6000 C:\WINDOWS\system32\SHELL32.dll 0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll 0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll 0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll 0x77690000 - 0x776b1000 C:\WINDOWS\system32\NTMARTA.DLL 0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll 0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll 0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll 0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll 0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime 0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll 0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll 0x6d1f0000 - 0x6d21f000 C:\Program Files\Java\jre1.6.0_03\bin\cmm.dll 0x6d450000 - 0x6d474000 C:\Program Files\Java\jre1.6.0_03\bin\jpeg.dll 0x0b4d0000 - 0x0b51d000 C:\Java\Workspace\xith3d\third-party\jogl\windows-i586\jogl.dll 0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.dll 0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll 0x5c2c0000 - 0x5c300000 C:\WINDOWS\ime\sptip.dll 0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll 0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll 0x20000000 - 0x20011000 C:\WINDOWS\IME\SPGRMR.DLL 0x7d1e0000 - 0x7d49e000 C:\WINDOWS\system32\msi.dll 0x0c520000 - 0x0c522000 C:\Program Files\Common Files\Microsoft Shared\INK\PENUSA.DLL 0x6d3e0000 - 0x6d3e6000 C:\Program Files\Java\jre1.6.0_03\bin\jawt.dll 0x0b090000 - 0x0b095000 C:\Java\Workspace\xith3d\third-party\jogl\windows-i586\jogl_awt.dll 0x69500000 - 0x69baa000 C:\WINDOWS\system32\nvoglnt.dll
VM Arguments: jvm_args: -Djava.library.path=C:\Java\Workspace\xith3d\third-party\gluegen\windows-i586;C:\Java\Workspace\xith3d\third-party\jogl\windows-i586;C:\Java\Workspace\xith3d\third-party\swt\windows;C:\Java\Workspace\xith3d\third-party\lwjgl\win32;C:\Java\Workspace\xith3d\third-party\joal\windows-i586 java_command: org.xith3d.test.terrain.TerrainTest4 Launcher Type: SUN_STANDARD
Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03 CLASSPATH=.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\WINDOWS\java\classes; C:\Tomcat 6.0\lib\jsp-api.jar; C:Tomcat 6.0\lib\servlet-api.jar; C:\ServletsAndJSP\; PATH=C:\Program Files\Java\jre1.6.0_03\bin\client;C:\Program Files\Java\jre1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jre1.6.0\bin\client\;C:\;C:\Program Files\Common Files\GTK\2.0\bin;.;C:\Program Files\QuickTime\QTSystem\ USERNAME=sam wozniak OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 514860k(57612k free), swap 1258628k(719228k 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
|
|
|
|
|
8
|
General Category / General Discussion / Re: Xith3D Webstart
|
on: 06. June 2008, 03:44:32 pm
|
|
Well, that error actually had to do with my other terrain problem...you see, I hadn't ran the actual program for a while, and I found out that even my normal terrain loader (when running from Eclipse) didn't work.
But, whether or not I will get more NPEs when loading other resources is yet to be seen...I will post in a few more hours.
|
|
|
|
|
10
|
General Category / Support / Re: Physics engine performance, ragdolls?
|
on: 06. June 2008, 01:55:49 pm
|
Quote from: LeoMaheo on Today at 04:53:46 AM (Why would you advice me to switch?)
Well, just for obvious reasons. jME is certainly not bad. Their feature set and Xith's one are comparable. They have a bit more on the one side and we have a bit more on the other side. But I prefer Xith3D's API. I am the one, who made the API to what it is nowadays and I wouldn't have made it the way it is, if I wouldn't prefer it this way. So, ... obvious reasons Wink.
If you liked jME's API and are happy with its feature set, don't switch. If you like Xith3D more, switch. That's all, I will advice you. Something that Marvin will not mention (because he's too humble) is that he is the best, most responsive developer you will see, surpassing jMe and other scenegraph's support by far. This is a great reason to switch to Xith, because if you report a bug, in most cases Marvin can fix it.
|
|
|
|
|
11
|
General Category / Support / OBJ normal smoothing results in very strange appearances
|
on: 05. June 2008, 10:16:18 pm
|
|
Hi again,
When I call GeometryUtils.computeVertexNormals() on an OBJ-loaded model, every triangle on the model becomes half white, half normal color, resulting in very odd-looking Appearances.
If I comment out the computeVertextNormals() line, this behavior disappears, but then I don't get my smooth shading I want.
Here's an example, the in-game view next to the Blender view.
Thanks in advance.
|
|
|
|
|
12
|
General Category / Support / Java Crash running TerrainTest4
|
on: 05. June 2008, 06:54:15 pm
|
Number of vertices: 66049 Number of vertices after optimization: 52854 Number of indicies: 170247 # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6975bdf0, pid=5456, tid=4912 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode) # Problematic frame: # C [nvoglnt.dll+0x25bdf0] # # An error report file with more information is saved as hs_err_pid5456.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp# ...this happens immediately after I start the application.
|
|
|
|
|
14
|
General Category / Support / ResourceLocator problem
|
on: 05. June 2008, 02:43:03 pm
|
I'm getting these errors: javax.imageio.IIOException: Can't get input stream from URL! at javax.imageio.ImageIO.read(Unknown Source) at org.xith3d.terrain.HeightMapSampler.<init>(HeightMapSampler.java:77) at exodus.game.threeD.terrain.TerrainManager.update(TerrainManager.java:52) at exodus.game.threeD.terrain.TerrainManager.<init>(TerrainManager.java:39) at exodus.edit.MapEdit.prepareHeiarchy(MapEdit.java:127) at exodus.edit.MapEdit.<init>(MapEdit.java:113) at exodus.edit.MapEdit.main(MapEdit.java:108) Caused by: java.io.FileNotFoundException: C:\Java\Workspace\xith3d\bin\org\xith3d\resources\Images\Terrain\new_bump_2.png (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) ... 7 more ...from this code: try { URL url = ResourceLocator.create("./").getResource("Images/Terrain/new_bump_2.png);
heightMap = new HeightMapSampler(url); } catch (IOException e) {e.printStackTrace();} Why does the ResLoc assume I want a resource in xith3d\bin\org\xith3d\resources?
|
|
|
|
|
15
|
General Category / General Discussion / Re: Xith3D Webstart
|
on: 05. June 2008, 02:03:32 pm
|
Why won't this file work, it's fundamentally the same as cylab's: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://www.gamebrewers.com/webe">
<information> <title>Exodus Online Client</title> <vendor>Gamebrewers</vendor> <homepage href="http://www.gamebrewers.com"/> <description>Exodus Online</description> <offline-allowed/> </information>
<security> <all-permissions/> </security>
<resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+"/> <property name="sun.java2d.noddraw" value="true"/> <property name="org.xith3d.defaultRenderer" value="JOGL"/> <jar href="ExodusOnline.jar" main="true"/> <jar href="resources.jar"/> <jar href="jogl.jar"/> <jar href="hial.jar"/> <jar href="Xith3D.jar"/> <jar href="jagatoo.jar"/> <jar href="openmali.jar"/> <jar href="gluegen-rt.jar"/> <jar href="hud-themes.jar"/> <jar href="media.jar"/> <jar href="jops.jar"/> </resources>
<application-desc main-class="exodus.game.worlds.zero.four.ExodusMain"/> </jnlp> I always get a NullPointerException while loading terrain: java.lang.NullPointerException at exodus.game.threeD.terrain.TerrainManager.update(TerrainManager.java:51) at exodus.game.threeD.terrain.TerrainManager.<init>(TerrainManager.java:40) at exodus.game.worlds.zero.four.ExodusMain.<init>(ExodusMain.java:91) at exodus.game.worlds.zero.four.ExodusMain.main(ExodusMain.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
|
|
|
|
|