G3DEditor - 3D GeoEditor

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

G3DEditor - 3D GeoEditor

Post by Forsaiken »

I guys.

Since years everyone used 2D editors to modify the geo.
It`s hard to modify each cell...specialy when working on an region with multiple floors.

Well i ended up with the question if an 3D editor might be better...
I tried Java3D first...but damn it was just slow and complicated.
Then i found JMonkey (Rev2) and well it didn`t take long until the very first version was complete.
But the editor used nearly 1gbyte of ram just for the region of ToI...well smth different must be used.
I switched over to JMonkey (Rev 3) and finally the ram usage decreased to like 400mb!
After several hours of work the editor was still ain`t working right...but good enough todo basic stuff.
The first version was then shared with the L2j Dev team (non public).

Well much time pased since then and i took me an heart and started to look deeper into JOGL and LWJGL.
Due to the better AWT support of JOGL i tried around with it.
The very first experiment was already awesome (using Immediate mode).
Using DisplayList was event better! Damn time to start smth real.
Some optimizations later and after porting (some) parts of the old gui (mostly rewritten),
the editor was ready to be used...for public!

Alpha:
Image

Beta 1.2:
Image

You can download the latest version here:
http://code.google.com/p/g3d-editor/downloads/list

Scroll down...you will find the link there for the latest beta build :)
It supports l2j geo files and off geo files (read AND write)

Why am i using Google Code? Because this in an "unofficial" geo editor and only developed by me.
If you like my work please donate a little (this is not a must but it would be great after so much hours of work)

Hf with it :)

Edit: Made a little video showing what is possible yet http://www.youtube.com/watch?v=lfxjnObL128
EDIT2: Beta 1.1
* New renderer using GSLS VertexShader for dramaticaly speedup (needs an DX10 card)
* Added possibilty to change the colors of the cells
* Smaller fixes :)
* Video showing GSLS in action: http://www.youtube.com/user/Nuradi#p/u/0/YPnJVMID9AU
EDIT3: Beta 1.2
* Added an panel to modify the NSWE of the cells by clicking on the wanted directions. (see second screenshot of this post > Right bottom)
* Sorted the NSWE buttons.
EDIT4: Beta 1.3
* Added option to change the Texture.
Last edited by Forsaiken on Wed Mar 30, 2011 4:41 pm, edited 5 times in total.
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: G3DEditor - 3D GeoEditor

Post by badboy29 »

OmG Forsaiken :shock: Nice tool!!!!
Aka UnHoly
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: G3DEditor - 3D GeoEditor

Post by hope »

Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

hope wrote:http://code.google.com/p/g3d-editor/
program has only one m
Yeah thanks for pointing it.
My wireless keyboard is broken and sometimes send some characters multiple times or simply does nothing -.-
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: G3DEditor - 3D GeoEditor

Post by jurchiks »

It looks very good, but the colors aren't the best choice. They should depict the allowed directions of the cell, now they're like random colors (I see red, violet, green and blue cells with all 4 directions blank - not good).
This would be how I'd make it (pic in attach)
Depending on the direction, that triangle is colored either red or green. Makes it very easy to understand.
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

jurchiks wrote:It looks very good, but the colors aren't the best choice. They should depict the allowed directions of the cell, now they're like random colors (I see red, violet, green and blue cells with all 4 directions blank - not good).
This would be how I'd make it (pic in attach)
Depending on the direction, that triangle is colored either red or green. Makes it very easy to understand.
The colors are NOT random^^
Blue > Flat Block (They do NOT have any NSWE direction/blocking at all = blank)
Green > Complex Block
Red > MultiLayer Block

Highlighted > Cyan (Cells are highlighted when at least 1 cells of the block is selected, this helps seeing which cells are from the same block. Specialy on multi layer blocks with mutliple heights/layers)
Selected > Purple
Shown in GUI > Yellow
Inside MultiLayer selection box > Regular color just brighter

Also complex and multilayer blocks become darker on every second block to help seeing which cells are a part of the same block:
010101
101010
010101

This is 3d! Not an 2d editor.
Setting the colors depending on nswe (like l2j geoeditor) makes it much harder to navigate/orientate in the editor. Also we would not have the ability to "see" our selection.
Just try it yourself! (Or the the video in my first post)

Anyways...i am gonna add a config to select the color for each type/selection etc.
So everyone can customize it :)
Last edited by Forsaiken on Fri Mar 25, 2011 3:37 pm, edited 1 time in total.
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
blacksea
Posts: 458
Joined: Fri Oct 05, 2007 1:29 am

Re: G3DEditor - 3D GeoEditor

Post by blacksea »

any idea why i get this error?

Code: Select all

## A fatal error has been detected by the Java Runtime Environment:##  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69b5c430, pid=2888, tid=5156## JRE version: 6.0_24-b07# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing windows-x86 )# Problematic frame:# C  [nvoglv32.DLL+0x65c430]## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.# ---------------  T H R E A D  --------------- Current thread (0x00549800):  JavaThread "main" [_thread_in_native, id=5156, stack(0x00180000,0x001d0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000026 Registers:EAX=0x00000000, EBX=0x00549918, ECX=0x001cfdd4, EDX=0x14355f4cESP=0x001cf678, EBP=0x001cf678, ESI=0x001cf778, EDI=0x001cf794EIP=0x69b5c430, EFLAGS=0x00010202 Register to memory mapping: EAX=0x000000000x00000000 is pointing to unknown location EBX=0x005499180x00549918 is pointing to unknown location ECX=0x001cfdd40x001cfdd4 is pointing into the stack for thread: 0x00549800"main" prio=6 tid=0x00549800 nid=0x1424 runnable [0x001cf000]   java.lang.Thread.State: RUNNABLE EDX=0x14355f4c [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005] Stack: [0x00180000,0x001d0000],  sp=0x001cf678,  free space=317kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)C  [nvoglv32.DLL+0x65c430]C  [jogl_desktop.dll+0x3c13a]j  jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglChoosePixelFormatARB1(JLjava/lang/Object;IZLjava/lang/Object;IZILjava/lang/Object;IZLjava/lang/Object;IZJ)Z+0j  jogamp.opengl.windows.wgl.WGLExtImpl.wglChoosePixelFormatARB(J[II[FII[II[II)Z+287j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(JLjogamp/opengl/windows/wgl/WindowsWGLDrawableFactory$SharedResource;Ljavax/media/opengl/GLCapabilitiesImmutable;[II[F)[I+86j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(JZLjogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljogamp/opengl/windows/wgl/WindowsWGLDrawableFactory;[I)Z+249j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;JZ[I)V+109j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.preselectGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/AbstractGraphicsDevice;Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;[I)V+131j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.preselectGraphicsConfiguration(Ljavax/media/opengl/GLDrawableFactory;[I)V+23j  jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+299j  javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+84j  javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesChooser;Ljava/awt/GraphicsDevice;)Ljavax/media/nativewindow/awt/AWTGraphicsConfiguration;+46j  javax.media.opengl.awt.GLCanvas.addNotify()V+74j  java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+194j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;I)V+4j  javax.swing.JFrame.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+14j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;)V+4j  g3deditor.swing.FrameMain.initLayout()V+545j  g3deditor.swing.FrameMain.<init>()V+303j  g3deditor.swing.FrameMain.init()V+4j  g3deditor.Main$1.run()V+266j  g3deditor.swing.Splash.<init>(JLjava/lang/Runnable;Lg3deditor/swing/Splash$CheckedRunnable;Ljava/lang/Runnable;)V+178j  g3deditor.Main.main([Ljava/lang/String;)V+31v  ~StubRoutines::call_stubV  [jvm.dll+0xf0ab9]V  [jvm.dll+0x1837d1]V  [jvm.dll+0xf0b3d]V  [jvm.dll+0xfa0d6]V  [jvm.dll+0x101cde]C  [java.exe+0x2155]C  [java.exe+0x85b4]C  [kernel32.dll+0x51194]C  [ntdll.dll+0x5b429]C  [ntdll.dll+0x5b3fc] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)j  jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglChoosePixelFormatARB1(JLjava/lang/Object;IZLjava/lang/Object;IZILjava/lang/Object;IZLjava/lang/Object;IZJ)Z+0j  jogamp.opengl.windows.wgl.WGLExtImpl.wglChoosePixelFormatARB(J[II[FII[II[II)Z+287j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(JLjogamp/opengl/windows/wgl/WindowsWGLDrawableFactory$SharedResource;Ljavax/media/opengl/GLCapabilitiesImmutable;[II[F)[I+86j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(JZLjogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljogamp/opengl/windows/wgl/WindowsWGLDrawableFactory;[I)Z+249j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;JZ[I)V+109j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.preselectGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/AbstractGraphicsDevice;Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;[I)V+131j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.preselectGraphicsConfiguration(Ljavax/media/opengl/GLDrawableFactory;[I)V+23j  jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+299j  javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+84j  javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesChooser;Ljava/awt/GraphicsDevice;)Ljavax/media/nativewindow/awt/AWTGraphicsConfiguration;+46j  javax.media.opengl.awt.GLCanvas.addNotify()V+74j  java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+194j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;I)V+4j  javax.swing.JFrame.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+14j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;)V+4j  g3deditor.swing.FrameMain.initLayout()V+545j  g3deditor.swing.FrameMain.<init>()V+303j  g3deditor.swing.FrameMain.init()V+4j  g3deditor.Main$1.run()V+266j  g3deditor.swing.Splash.<init>(JLjava/lang/Runnable;Lg3deditor/swing/Splash$CheckedRunnable;Ljava/lang/Runnable;)V+178j  g3deditor.Main.main([Ljava/lang/String;)V+31v  ~StubRoutines::call_stub ---------------  P R O C E S S  --------------- Java Threads: ( => current thread )  0x08d31400 JavaThread "Swing-Shell" daemon [_thread_blocked, id=5204, stack(0x092b0000,0x09300000)]  0x03f4f800 JavaThread "main-SharedResourceRunner" daemon [_thread_blocked, id=3196, stack(0x070a0000,0x070f0000)]  0x03f30400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=5644, stack(0x06ef0000,0x06f40000)]  0x03f2ec00 JavaThread "Thread-3" [_thread_blocked, id=3216, stack(0x06da0000,0x06df0000)]  0x03f2c400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2468, stack(0x047a0000,0x047f0000)]  0x03ea5000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5788, stack(0x04350000,0x043a0000)]  0x03ea3400 JavaThread "AWT-Shutdown" [_thread_blocked, id=3792, stack(0x04300000,0x04350000)]  0x03ea3000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1116, stack(0x04270000,0x042c0000)]  0x01a4e800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3852, stack(0x03de0000,0x03e30000)]  0x01a49400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3288, stack(0x03d90000,0x03de0000)]  0x01a48400 JavaThread "Attach Listener" daemon [_thread_blocked, id=1680, stack(0x03d40000,0x03d90000)]  0x01a47400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5884, stack(0x03cf0000,0x03d40000)]  0x01a40000 JavaThread "Finalizer" daemon [_thread_blocked, id=4276, stack(0x03ca0000,0x03cf0000)]  0x01a3b400 JavaThread "Reference Handler" daemon [_thread_blocked, id=6112, stack(0x03c50000,0x03ca0000)]=>0x00549800 JavaThread "main" [_thread_in_native, id=5156, stack(0x00180000,0x001d0000)] Other Threads:  0x019ff800 VMThread [stack: 0x03c00000,0x03c50000] [id=1412]  0x01a57c00 WatcherThread [stack: 0x03e30000,0x03e80000] [id=1380] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation   total 4992K, used 3369K [0x14010000, 0x14570000, 0x1eab0000)  eden space 4480K,  74% used [0x14010000, 0x143572b0, 0x14470000)  from space 512K,   2% used [0x144f0000, 0x144f34b0, 0x14570000)  to   space 512K,   0% used [0x14470000, 0x14470000, 0x144f0000) tenured generation   total 59332K, used 54639K [0x1eab0000, 0x224a1000, 0x34010000)   the space 59332K,  92% used [0x1eab0000, 0x2200be10, 0x2200c000, 0x224a1000) compacting perm gen  total 12288K, used 5808K [0x34010000, 0x34c10000, 0x38010000)   the space 12288K,  47% used [0x34010000, 0x345bc3d8, 0x345bc400, 0x34c10000)    ro space 10240K,  51% used [0x38010000, 0x3853cf58, 0x3853d000, 0x38a10000)    rw space 12288K,  54% used [0x38a10000, 0x390a8f50, 0x390a9000, 0x39610000) Dynamic libraries:0x00400000 - 0x00424000     C:\Windows\system32\java.exe0x77290000 - 0x773cd000     C:\Windows\SYSTEM32\ntdll.dll0x76ac0000 - 0x76b94000     C:\Windows\system32\kernel32.dll0x75690000 - 0x756da000     C:\Windows\system32\KERNELBASE.dll0x76e70000 - 0x76f10000     C:\Windows\system32\ADVAPI32.dll0x773f0000 - 0x7749c000     C:\Windows\system32\msvcrt.dll0x756f0000 - 0x75709000     C:\Windows\SYSTEM32\sechost.dll0x76fe0000 - 0x77081000     C:\Windows\system32\RPCRT4.dll0x7c340000 - 0x7c396000     C:\Program Files\Java\jre6\bin\msvcr71.dll0x6d7f0000 - 0x6da96000     C:\Program Files\Java\jre6\bin\client\jvm.dll0x76f10000 - 0x76fd9000     C:\Windows\system32\USER32.dll0x76980000 - 0x769ce000     C:\Windows\system32\GDI32.dll0x773d0000 - 0x773da000     C:\Windows\system32\LPK.dll0x75710000 - 0x757ad000     C:\Windows\system32\USP10.dll0x73840000 - 0x73872000     C:\Windows\system32\WINMM.dll0x774a0000 - 0x774bf000     C:\Windows\system32\IMM32.DLL0x76da0000 - 0x76e6c000     C:\Windows\system32\MSCTF.dll0x75310000 - 0x7535b000     C:\Windows\system32\apphelp.dll0x10000000 - 0x1000f000     C:\Windows\system32\PGPmapih.dll0x6d7a0000 - 0x6d7ac000     C:\Program Files\Java\jre6\bin\verify.dll0x6d320000 - 0x6d33f000     C:\Program Files\Java\jre6\bin\java.dll0x6d280000 - 0x6d288000     C:\Program Files\Java\jre6\bin\hpi.dll0x756e0000 - 0x756e5000     C:\Windows\system32\PSAPI.DLL0x6d7e0000 - 0x6d7ef000     C:\Program Files\Java\jre6\bin\zip.dll0x6d000000 - 0x6d14a000     C:\Program Files\Java\jre6\bin\awt.dll0x72c40000 - 0x72c91000     C:\Windows\system32\WINSPOOL.DRV0x770d0000 - 0x7722c000     C:\Windows\system32\ole32.dll0x74400000 - 0x7459e000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll0x77230000 - 0x77287000     C:\Windows\system32\SHLWAPI.dll0x73f50000 - 0x73f63000     C:\Windows\system32\DWMAPI.DLL0x74280000 - 0x742c0000     C:\Windows\system32\uxtheme.dll0x005d0000 - 0x005de000     C:\Windows\system32\PGPhk.dll0x75360000 - 0x7536c000     C:\Windows\system32\CRYPTBASE.dll0x75840000 - 0x76489000     C:\Windows\system32\shell32.dll0x6d230000 - 0x6d27f000     C:\Program Files\Java\jre6\bin\fontmanager.dll0x62880000 - 0x62a43000     C:\Windows\system32\d3d9.dll0x748f0000 - 0x748f9000     C:\Windows\system32\VERSION.dll0x62870000 - 0x62876000     C:\Windows\system32\d3d8thk.dll0x63c80000 - 0x6461d000     C:\Windows\system32\nvd3dum.dll0x73930000 - 0x73955000     C:\Windows\system32\powrprof.dll0x76610000 - 0x767ad000     C:\Windows\system32\SETUPAPI.dll0x75660000 - 0x75687000     C:\Windows\system32\CFGMGR32.dll0x76a30000 - 0x76abf000     C:\Windows\system32\OLEAUT32.dll0x754f0000 - 0x75502000     C:\Windows\system32\DEVOBJ.dll0x637c0000 - 0x637ca000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\gluegen-rt.dll0x6d350000 - 0x6d356000     C:\Program Files\Java\jre6\bin\jawt.dll0x6a440000 - 0x6a44a000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\nativewindow_awt.dll0x6c100000 - 0x6c110000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\nativewindow_win32.dll0x61240000 - 0x61308000     C:\Windows\system32\OpenGL32.dll0x6b4c0000 - 0x6b4e2000     C:\Windows\system32\GLU32.dll0x65fb0000 - 0x66097000     C:\Windows\system32\DDRAW.dll0x6ba60000 - 0x6ba66000     C:\Windows\system32\DCIMAN32.dll0x07030000 - 0x0709d000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\jogl_desktop.dll0x69500000 - 0x6a355000     C:\Windows\system32\nvoglv32.DLL0x75630000 - 0x7565d000     C:\Windows\system32\WINTRUST.dll0x75510000 - 0x7562c000     C:\Windows\system32\CRYPT32.dll0x75450000 - 0x7545c000     C:\Windows\system32\MSASN1.dll0x6d600000 - 0x6d613000     C:\Program Files\Java\jre6\bin\net.dll0x77090000 - 0x770c5000     C:\Windows\system32\WS2_32.dll0x757b0000 - 0x757b6000     C:\Windows\system32\NSI.dll0x07820000 - 0x07866000     C:\Windows\system32\HMIPCore.dll0x74e50000 - 0x74e8c000     C:\Windows\system32\MSWSOCK.dll0x74910000 - 0x7492c000     C:\Windows\system32\iphlpapi.dll0x74900000 - 0x74907000     C:\Windows\system32\WINNSI.DLL0x752f0000 - 0x7530a000     C:\Windows\system32\SspiCli.dll0x74e40000 - 0x74e46000     C:\Windows\System32\wship6.dll0x6d620000 - 0x6d629000     C:\Program Files\Java\jre6\bin\nio.dll0x767b0000 - 0x76833000     C:\Windows\system32\CLBCatQ.DLL0x74e90000 - 0x74ea6000     C:\Windows\system32\CRYPTSP.dll0x74c30000 - 0x74c6b000     C:\Windows\system32\rsaenh.dll0x75370000 - 0x7537e000     C:\Windows\system32\RpcRtRemote.dll0x75380000 - 0x753df000     C:\Windows\system32\SXS.DLL0x6d440000 - 0x6d465000     C:\Program Files\Java\jre6\bin\jpeg.dll0x742c0000 - 0x743b5000     C:\Windows\system32\propsys.dll0x73ae0000 - 0x73b01000     C:\Windows\system32\ntmarta.dll0x765c0000 - 0x76605000     C:\Windows\system32\WLDAP32.dll0x6b310000 - 0x6b4a8000     C:\Windows\system32\NetworkExplorer.dll0x082c0000 - 0x082ee000     C:\Windows\System32\shdocvw.dll0x753e0000 - 0x753eb000     C:\Windows\system32\profapi.dll0x733c0000 - 0x733ca000     C:\Windows\system32\slc.dll0x6fe40000 - 0x6fe52000     C:\Windows\system32\MPR.dll0x65e10000 - 0x65e18000     C:\Windows\System32\drprov.dll0x74a50000 - 0x74a79000     C:\Windows\System32\WINSTA.dll0x65df0000 - 0x65e04000     C:\Windows\System32\ntlanman.dll0x65dd0000 - 0x65de7000     C:\Windows\System32\davclnt.dll0x65dc0000 - 0x65dc8000     C:\Windows\System32\DAVHLPR.dll0x73bd0000 - 0x73bdf000     C:\Windows\system32\wkscli.dll0x09460000 - 0x0946b000     C:\Windows\system32\cscapi.dll0x73be0000 - 0x73be9000     C:\Windows\system32\netutils.dll0x72a00000 - 0x72c38000     C:\Windows\system32\wpdshext.dll0x740f0000 - 0x74280000     C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\gdiplus.dll0x6f2c0000 - 0x6f349000     C:\Windows\system32\PortableDeviceApi.dll0x09480000 - 0x094bf000     C:\Windows\system32\audiodev.dll0x604e0000 - 0x60747000     C:\Windows\system32\WMVCore.DLL0x652d0000 - 0x6530d000     C:\Windows\system32\WMASF.DLL0x6dd00000 - 0x6dd31000     C:\Windows\system32\EhStorShell.dll0x72f60000 - 0x72f82000     C:\Windows\system32\EhStorAPI.dll0x094c0000 - 0x094c9000     C:\Windows\system32\LINKINFO.dll VM Arguments:jvm_args: -Xmx512m -Djava.library.path=./lib/ java_command: g3deditor.MainLauncher Type: SUN_STANDARD Environment Variables:CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zipPATH=C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\IDM Computer Solutions\UltraEdit\USERNAME=drkOS=Windows_NTPROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel   ---------------  S Y S T E M  --------------- OS: Windows 7 Build 7600  CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 3405228k(1547904k free), swap 6808692k(4346376k free) vm_info: Java HotSpot(TM) Client VM (19.1-b02) for windows-x86 JRE (1.6.0_24-b07), built on Feb  2 2011 17:44:41 by "java_re" with MS VC++ 7.1 (VS2003) time: Fri Mar 25 13:00:33 2011elapsed time: 2 seconds
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

blacksea wrote:any idea why i get this error?

Code: Select all

## A fatal error has been detected by the Java Runtime Environment:##  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69b5c430, pid=2888, tid=5156## JRE version: 6.0_24-b07# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing windows-x86 )# Problematic frame:# C  [nvoglv32.DLL+0x65c430]## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.# ---------------  T H R E A D  --------------- Current thread (0x00549800):  JavaThread "main" [_thread_in_native, id=5156, stack(0x00180000,0x001d0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000026 Registers:EAX=0x00000000, EBX=0x00549918, ECX=0x001cfdd4, EDX=0x14355f4cESP=0x001cf678, EBP=0x001cf678, ESI=0x001cf778, EDI=0x001cf794EIP=0x69b5c430, EFLAGS=0x00010202 Register to memory mapping: EAX=0x000000000x00000000 is pointing to unknown location EBX=0x005499180x00549918 is pointing to unknown location ECX=0x001cfdd40x001cfdd4 is pointing into the stack for thread: 0x00549800"main" prio=6 tid=0x00549800 nid=0x1424 runnable [0x001cf000]   java.lang.Thread.State: RUNNABLE EDX=0x14355f4c [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005] Stack: [0x00180000,0x001d0000],  sp=0x001cf678,  free space=317kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)C  [nvoglv32.DLL+0x65c430]C  [jogl_desktop.dll+0x3c13a]j  jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglChoosePixelFormatARB1(JLjava/lang/Object;IZLjava/lang/Object;IZILjava/lang/Object;IZLjava/lang/Object;IZJ)Z+0j  jogamp.opengl.windows.wgl.WGLExtImpl.wglChoosePixelFormatARB(J[II[FII[II[II)Z+287j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(JLjogamp/opengl/windows/wgl/WindowsWGLDrawableFactory$SharedResource;Ljavax/media/opengl/GLCapabilitiesImmutable;[II[F)[I+86j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(JZLjogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljogamp/opengl/windows/wgl/WindowsWGLDrawableFactory;[I)Z+249j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;JZ[I)V+109j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.preselectGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/AbstractGraphicsDevice;Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;[I)V+131j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.preselectGraphicsConfiguration(Ljavax/media/opengl/GLDrawableFactory;[I)V+23j  jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+299j  javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+84j  javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesChooser;Ljava/awt/GraphicsDevice;)Ljavax/media/nativewindow/awt/AWTGraphicsConfiguration;+46j  javax.media.opengl.awt.GLCanvas.addNotify()V+74j  java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+194j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;I)V+4j  javax.swing.JFrame.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+14j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;)V+4j  g3deditor.swing.FrameMain.initLayout()V+545j  g3deditor.swing.FrameMain.<init>()V+303j  g3deditor.swing.FrameMain.init()V+4j  g3deditor.Main$1.run()V+266j  g3deditor.swing.Splash.<init>(JLjava/lang/Runnable;Lg3deditor/swing/Splash$CheckedRunnable;Ljava/lang/Runnable;)V+178j  g3deditor.Main.main([Ljava/lang/String;)V+31v  ~StubRoutines::call_stubV  [jvm.dll+0xf0ab9]V  [jvm.dll+0x1837d1]V  [jvm.dll+0xf0b3d]V  [jvm.dll+0xfa0d6]V  [jvm.dll+0x101cde]C  [java.exe+0x2155]C  [java.exe+0x85b4]C  [kernel32.dll+0x51194]C  [ntdll.dll+0x5b429]C  [ntdll.dll+0x5b3fc] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)j  jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglChoosePixelFormatARB1(JLjava/lang/Object;IZLjava/lang/Object;IZILjava/lang/Object;IZLjava/lang/Object;IZJ)Z+0j  jogamp.opengl.windows.wgl.WGLExtImpl.wglChoosePixelFormatARB(J[II[FII[II[II)Z+287j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(JLjogamp/opengl/windows/wgl/WindowsWGLDrawableFactory$SharedResource;Ljavax/media/opengl/GLCapabilitiesImmutable;[II[F)[I+86j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(JZLjogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljogamp/opengl/windows/wgl/WindowsWGLDrawableFactory;[I)Z+249j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;JZ[I)V+109j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.preselectGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/AbstractGraphicsDevice;Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;[I)V+131j  jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.preselectGraphicsConfiguration(Ljavax/media/opengl/GLDrawableFactory;[I)V+23j  jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+299j  javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesImmutable;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/nativewindow/AbstractGraphicsScreen;)Ljavax/media/nativewindow/AbstractGraphicsConfiguration;+84j  javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/media/opengl/GLCapabilitiesChooser;Ljava/awt/GraphicsDevice;)Ljavax/media/nativewindow/awt/AWTGraphicsConfiguration;+46j  javax.media.opengl.awt.GLCanvas.addNotify()V+74j  java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+194j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;I)V+4j  javax.swing.JFrame.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+14j  java.awt.Container.add(Ljava/awt/Component;Ljava/lang/Object;)V+4j  g3deditor.swing.FrameMain.initLayout()V+545j  g3deditor.swing.FrameMain.<init>()V+303j  g3deditor.swing.FrameMain.init()V+4j  g3deditor.Main$1.run()V+266j  g3deditor.swing.Splash.<init>(JLjava/lang/Runnable;Lg3deditor/swing/Splash$CheckedRunnable;Ljava/lang/Runnable;)V+178j  g3deditor.Main.main([Ljava/lang/String;)V+31v  ~StubRoutines::call_stub ---------------  P R O C E S S  --------------- Java Threads: ( => current thread )  0x08d31400 JavaThread "Swing-Shell" daemon [_thread_blocked, id=5204, stack(0x092b0000,0x09300000)]  0x03f4f800 JavaThread "main-SharedResourceRunner" daemon [_thread_blocked, id=3196, stack(0x070a0000,0x070f0000)]  0x03f30400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=5644, stack(0x06ef0000,0x06f40000)]  0x03f2ec00 JavaThread "Thread-3" [_thread_blocked, id=3216, stack(0x06da0000,0x06df0000)]  0x03f2c400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2468, stack(0x047a0000,0x047f0000)]  0x03ea5000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5788, stack(0x04350000,0x043a0000)]  0x03ea3400 JavaThread "AWT-Shutdown" [_thread_blocked, id=3792, stack(0x04300000,0x04350000)]  0x03ea3000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1116, stack(0x04270000,0x042c0000)]  0x01a4e800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3852, stack(0x03de0000,0x03e30000)]  0x01a49400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3288, stack(0x03d90000,0x03de0000)]  0x01a48400 JavaThread "Attach Listener" daemon [_thread_blocked, id=1680, stack(0x03d40000,0x03d90000)]  0x01a47400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5884, stack(0x03cf0000,0x03d40000)]  0x01a40000 JavaThread "Finalizer" daemon [_thread_blocked, id=4276, stack(0x03ca0000,0x03cf0000)]  0x01a3b400 JavaThread "Reference Handler" daemon [_thread_blocked, id=6112, stack(0x03c50000,0x03ca0000)]=>0x00549800 JavaThread "main" [_thread_in_native, id=5156, stack(0x00180000,0x001d0000)] Other Threads:  0x019ff800 VMThread [stack: 0x03c00000,0x03c50000] [id=1412]  0x01a57c00 WatcherThread [stack: 0x03e30000,0x03e80000] [id=1380] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation   total 4992K, used 3369K [0x14010000, 0x14570000, 0x1eab0000)  eden space 4480K,  74% used [0x14010000, 0x143572b0, 0x14470000)  from space 512K,   2% used [0x144f0000, 0x144f34b0, 0x14570000)  to   space 512K,   0% used [0x14470000, 0x14470000, 0x144f0000) tenured generation   total 59332K, used 54639K [0x1eab0000, 0x224a1000, 0x34010000)   the space 59332K,  92% used [0x1eab0000, 0x2200be10, 0x2200c000, 0x224a1000) compacting perm gen  total 12288K, used 5808K [0x34010000, 0x34c10000, 0x38010000)   the space 12288K,  47% used [0x34010000, 0x345bc3d8, 0x345bc400, 0x34c10000)    ro space 10240K,  51% used [0x38010000, 0x3853cf58, 0x3853d000, 0x38a10000)    rw space 12288K,  54% used [0x38a10000, 0x390a8f50, 0x390a9000, 0x39610000) Dynamic libraries:0x00400000 - 0x00424000     C:\Windows\system32\java.exe0x77290000 - 0x773cd000     C:\Windows\SYSTEM32\ntdll.dll0x76ac0000 - 0x76b94000     C:\Windows\system32\kernel32.dll0x75690000 - 0x756da000     C:\Windows\system32\KERNELBASE.dll0x76e70000 - 0x76f10000     C:\Windows\system32\ADVAPI32.dll0x773f0000 - 0x7749c000     C:\Windows\system32\msvcrt.dll0x756f0000 - 0x75709000     C:\Windows\SYSTEM32\sechost.dll0x76fe0000 - 0x77081000     C:\Windows\system32\RPCRT4.dll0x7c340000 - 0x7c396000     C:\Program Files\Java\jre6\bin\msvcr71.dll0x6d7f0000 - 0x6da96000     C:\Program Files\Java\jre6\bin\client\jvm.dll0x76f10000 - 0x76fd9000     C:\Windows\system32\USER32.dll0x76980000 - 0x769ce000     C:\Windows\system32\GDI32.dll0x773d0000 - 0x773da000     C:\Windows\system32\LPK.dll0x75710000 - 0x757ad000     C:\Windows\system32\USP10.dll0x73840000 - 0x73872000     C:\Windows\system32\WINMM.dll0x774a0000 - 0x774bf000     C:\Windows\system32\IMM32.DLL0x76da0000 - 0x76e6c000     C:\Windows\system32\MSCTF.dll0x75310000 - 0x7535b000     C:\Windows\system32\apphelp.dll0x10000000 - 0x1000f000     C:\Windows\system32\PGPmapih.dll0x6d7a0000 - 0x6d7ac000     C:\Program Files\Java\jre6\bin\verify.dll0x6d320000 - 0x6d33f000     C:\Program Files\Java\jre6\bin\java.dll0x6d280000 - 0x6d288000     C:\Program Files\Java\jre6\bin\hpi.dll0x756e0000 - 0x756e5000     C:\Windows\system32\PSAPI.DLL0x6d7e0000 - 0x6d7ef000     C:\Program Files\Java\jre6\bin\zip.dll0x6d000000 - 0x6d14a000     C:\Program Files\Java\jre6\bin\awt.dll0x72c40000 - 0x72c91000     C:\Windows\system32\WINSPOOL.DRV0x770d0000 - 0x7722c000     C:\Windows\system32\ole32.dll0x74400000 - 0x7459e000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll0x77230000 - 0x77287000     C:\Windows\system32\SHLWAPI.dll0x73f50000 - 0x73f63000     C:\Windows\system32\DWMAPI.DLL0x74280000 - 0x742c0000     C:\Windows\system32\uxtheme.dll0x005d0000 - 0x005de000     C:\Windows\system32\PGPhk.dll0x75360000 - 0x7536c000     C:\Windows\system32\CRYPTBASE.dll0x75840000 - 0x76489000     C:\Windows\system32\shell32.dll0x6d230000 - 0x6d27f000     C:\Program Files\Java\jre6\bin\fontmanager.dll0x62880000 - 0x62a43000     C:\Windows\system32\d3d9.dll0x748f0000 - 0x748f9000     C:\Windows\system32\VERSION.dll0x62870000 - 0x62876000     C:\Windows\system32\d3d8thk.dll0x63c80000 - 0x6461d000     C:\Windows\system32\nvd3dum.dll0x73930000 - 0x73955000     C:\Windows\system32\powrprof.dll0x76610000 - 0x767ad000     C:\Windows\system32\SETUPAPI.dll0x75660000 - 0x75687000     C:\Windows\system32\CFGMGR32.dll0x76a30000 - 0x76abf000     C:\Windows\system32\OLEAUT32.dll0x754f0000 - 0x75502000     C:\Windows\system32\DEVOBJ.dll0x637c0000 - 0x637ca000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\gluegen-rt.dll0x6d350000 - 0x6d356000     C:\Program Files\Java\jre6\bin\jawt.dll0x6a440000 - 0x6a44a000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\nativewindow_awt.dll0x6c100000 - 0x6c110000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\nativewindow_win32.dll0x61240000 - 0x61308000     C:\Windows\system32\OpenGL32.dll0x6b4c0000 - 0x6b4e2000     C:\Windows\system32\GLU32.dll0x65fb0000 - 0x66097000     C:\Windows\system32\DDRAW.dll0x6ba60000 - 0x6ba66000     C:\Windows\system32\DCIMAN32.dll0x07030000 - 0x0709d000     C:\Users\drk\Desktop\server\G3DEditor_win_x86_20110325\lib\jogl_desktop.dll0x69500000 - 0x6a355000     C:\Windows\system32\nvoglv32.DLL0x75630000 - 0x7565d000     C:\Windows\system32\WINTRUST.dll0x75510000 - 0x7562c000     C:\Windows\system32\CRYPT32.dll0x75450000 - 0x7545c000     C:\Windows\system32\MSASN1.dll0x6d600000 - 0x6d613000     C:\Program Files\Java\jre6\bin\net.dll0x77090000 - 0x770c5000     C:\Windows\system32\WS2_32.dll0x757b0000 - 0x757b6000     C:\Windows\system32\NSI.dll0x07820000 - 0x07866000     C:\Windows\system32\HMIPCore.dll0x74e50000 - 0x74e8c000     C:\Windows\system32\MSWSOCK.dll0x74910000 - 0x7492c000     C:\Windows\system32\iphlpapi.dll0x74900000 - 0x74907000     C:\Windows\system32\WINNSI.DLL0x752f0000 - 0x7530a000     C:\Windows\system32\SspiCli.dll0x74e40000 - 0x74e46000     C:\Windows\System32\wship6.dll0x6d620000 - 0x6d629000     C:\Program Files\Java\jre6\bin\nio.dll0x767b0000 - 0x76833000     C:\Windows\system32\CLBCatQ.DLL0x74e90000 - 0x74ea6000     C:\Windows\system32\CRYPTSP.dll0x74c30000 - 0x74c6b000     C:\Windows\system32\rsaenh.dll0x75370000 - 0x7537e000     C:\Windows\system32\RpcRtRemote.dll0x75380000 - 0x753df000     C:\Windows\system32\SXS.DLL0x6d440000 - 0x6d465000     C:\Program Files\Java\jre6\bin\jpeg.dll0x742c0000 - 0x743b5000     C:\Windows\system32\propsys.dll0x73ae0000 - 0x73b01000     C:\Windows\system32\ntmarta.dll0x765c0000 - 0x76605000     C:\Windows\system32\WLDAP32.dll0x6b310000 - 0x6b4a8000     C:\Windows\system32\NetworkExplorer.dll0x082c0000 - 0x082ee000     C:\Windows\System32\shdocvw.dll0x753e0000 - 0x753eb000     C:\Windows\system32\profapi.dll0x733c0000 - 0x733ca000     C:\Windows\system32\slc.dll0x6fe40000 - 0x6fe52000     C:\Windows\system32\MPR.dll0x65e10000 - 0x65e18000     C:\Windows\System32\drprov.dll0x74a50000 - 0x74a79000     C:\Windows\System32\WINSTA.dll0x65df0000 - 0x65e04000     C:\Windows\System32\ntlanman.dll0x65dd0000 - 0x65de7000     C:\Windows\System32\davclnt.dll0x65dc0000 - 0x65dc8000     C:\Windows\System32\DAVHLPR.dll0x73bd0000 - 0x73bdf000     C:\Windows\system32\wkscli.dll0x09460000 - 0x0946b000     C:\Windows\system32\cscapi.dll0x73be0000 - 0x73be9000     C:\Windows\system32\netutils.dll0x72a00000 - 0x72c38000     C:\Windows\system32\wpdshext.dll0x740f0000 - 0x74280000     C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\gdiplus.dll0x6f2c0000 - 0x6f349000     C:\Windows\system32\PortableDeviceApi.dll0x09480000 - 0x094bf000     C:\Windows\system32\audiodev.dll0x604e0000 - 0x60747000     C:\Windows\system32\WMVCore.DLL0x652d0000 - 0x6530d000     C:\Windows\system32\WMASF.DLL0x6dd00000 - 0x6dd31000     C:\Windows\system32\EhStorShell.dll0x72f60000 - 0x72f82000     C:\Windows\system32\EhStorAPI.dll0x094c0000 - 0x094c9000     C:\Windows\system32\LINKINFO.dll VM Arguments:jvm_args: -Xmx512m -Djava.library.path=./lib/ java_command: g3deditor.MainLauncher Type: SUN_STANDARD Environment Variables:CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zipPATH=C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\IDM Computer Solutions\UltraEdit\USERNAME=drkOS=Windows_NTPROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel   ---------------  S Y S T E M  --------------- OS: Windows 7 Build 7600  CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 3405228k(1547904k free), swap 6808692k(4346376k free) vm_info: Java HotSpot(TM) Client VM (19.1-b02) for windows-x86 JRE (1.6.0_24-b07), built on Feb  2 2011 17:44:41 by "java_re" with MS VC++ 7.1 (VS2003) time: Fri Mar 25 13:00:33 2011elapsed time: 2 seconds
I am using an external API named JOGL.
I have no controll about supported drivers/graphic cards.
Your graphic card must at least support OpenGL 2.0.
Try updating your drivers.
Also make sure using the right build > x86/x64 do not stand for the operation system!
It stand of the JRE version.
Yours is x86.

Would be good to know when this happens and if anything is in the small console log :)
Which graphic card/os do you use?

EDIT: Looked around and seen that there is an dev build of jogl that changed smth on the wglChoosePixelFormatARB1 code (the one that crashed).
But you must try it yourself. Since it`s an dev build i will not add it to the G3DEditor.
http://jogamp.org/deployment/autobuilds ... _19-30-41/
Pick the x86 windows version (in your case) extract it and replace the jars and dlls inside the G3DEditors lib folder. And again...i cannot modify contents of this libarys > if the dev build make problems i cannot fix it.
Last edited by Forsaiken on Fri Mar 25, 2011 5:19 pm, edited 1 time in total.
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: G3DEditor - 3D GeoEditor

Post by jurchiks »

I still say there are too many colors. You don't have to put a different color on everything, particularly the normal/complex/multilayer blocks, you could make it look similar to l2 client.
Making direction actually visible without zooming in or clicking the cell would look better IMHO.

In summary -
1) all cells are initially green.
2) when you change a cell's NSWE value, the cell changes according to the image I posted before.
3) when you highlight a cell, a transparent cube appears that shows the area of the block (NO need to change color, but if you REALLY want, you could make a highlighted BORDER around the block).
4) when you select a cell, the block colors become slightly more intensive (when not selected, they're slightly on the grey side) and/or the border becomes static, i.e. doesn't disappear when highlighting another block. Also, the selected cell could be slightly enlarged (say, by 10%, enough to be able to notice it but also enough to select neighbor cells without problems).
Colors don't need to change on different heights/layers, I don't know of any map that has 2 layers so close that they need to be specially highlighted to notice the difference. If you do know of such map, please, enlighten me.

I think that would make it look less chaotic (at least in my opinion) and nicer to the eye (especially to those, who are used to the "old", 2D editors).

Another, non-color topic idea - when you select a cell, the way to change its NSWE value could be like this:
an image, similar to the one I posted before, with all 4 cardinal directions (triangles) selectable seperately, i.e. you select a cell, click on the N triangle and its value is toggled. This means you don't need 8 or more triangles below, only one image consisting of 4 smaller ones (or, if using overlays, only 1 image total).

Remember that this is only constructive criticism, I'm not saying your tool sucks or smth like that.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

jurchiks wrote:I still say there are too many colors. You don't have to put a different color on everything, particularly the normal/complex/multilayer blocks, you could make it look similar to l2 client.
Making direction actually visible without zooming in or clicking the cell would look better IMHO.

In summary -
1) all cells are initially green.
2) when you change a cell's NSWE value, the cell changes according to the image I posted before.
3) when you highlight a cell, a transparent cube appears that shows the area of the block (NO need to change color, but if you REALLY want, you could make a highlighted BORDER around the block).
4) when you select a cell, the block colors become slightly more intensive (when not selected, they're slightly on the grey side) and/or the border becomes static, i.e. doesn't disappear when highlighting another block. Also, the selected cell could be slightly enlarged (say, by 10%, enough to be able to notice it but also enough to select neighbor cells without problems).
Colors don't need to change on different heights/layers, I don't know of any map that has 2 layers so close that they need to be specially highlighted to notice the difference. If you do know of such map, please, enlighten me.

I think that would make it look less chaotic (at least in my opinion) and nicer to the eye (especially to those, who are used to the "old", 2D editors).

Another, non-color topic idea - when you select a cell, the way to change its NSWE value could be like this:
an image, similar to the one I posted before, with all 4 cardinal directions (triangles) selectable seperately, i.e. you select a cell, click on the N triangle and its value is toggled. This means you don't need 8 or more triangles below, only one image consisting of 4 smaller ones (or, if using overlays, only 1 image total).

Remember that this is only constructive criticism, I'm not saying your tool sucks or smth like that.
Well thx for the citicism.
1) all cells are initially green. < could be done with config

2) when you change a cell's NSWE value, the cell changes according to the image I posted before. < could be done by config

3) when you highlight a cell, a transparent cube appears that shows the area of the block (NO need to change color, but if you REALLY want, you could make a highlighted BORDER around the block). < What do you mean with border? A transparent cube has one big disadvantage: The Z buffer picking. I am currently reading the Z buffer value to map the on screen position to the world position, in order to "pick/select" a cell. So the cube Z is drawn above the cells, so whatever i would do i would pick the transparent box, and not the cell inside or behind it. I could disable the Z buffer when drawing it but the terrain (geo produced ground texture) would then overlap this box (visualy).I could draw it at last then but then we have an problem with transparency. I MUST draw that polygons in the correct order to gain transparency effect. Farest object at first then the rest, so i cannot just draw them after everything else have been drawn.

4) when you select a cell, the block colors become slightly more intensive (when not selected, they're slightly on the grey side) and/or the border becomes static, i.e. doesn't disappear when highlighting another block. Also, the selected cell could be slightly enlarged (say, by 10%, enough to be able to notice it but also enough to select neighbor cells without problems).
Colors don't need to change on different heights/layers, I don't know of any map that has 2 layers so close that they need to be specially highlighted to notice the difference. If you do know of such map, please, enlighten me. < The color thing can be done. Again what do you mean with the border? Increasing it`s size could be done. The color do not change on different heights. it changes to cyan when at least 1 other cell of that block is selected, which is just done to help orientating in this 3d world.

5) Another, non-color topic idea - when you select a cell, the way to change its NSWE value could be like this:
an image, similar to the one I posted before, with all 4 cardinal directions (triangles) selectable seperately, i.e. you select a cell, click on the N triangle and its value is toggled. This means you don't need 8 or more triangles below, only one image consisting of 4 smaller ones (or, if using overlays, only 1 image total). < Critical! The problem is that i would not be able to check which site was clicked due to rounding errors in Z buffer picking (most graphic cards only have 16bit float buffers). If i get it right you want to rotate the cell for 45 degree?
Well i am also currently not using overlays^^ I am using one 512x512 texture containing all 16 nswe states to avoid rebinding another texture when painting another cell.


EDIT: Ahh and also there is another problem when using red/green to show NSWE.
I am slightly color blind and the NSWE in the original l2j GeoEditor was a pain to see. I had to go very close to the screen to see what kind of cell it was. Thats why i am currently using an compass with black NSWE arrows and NSWE text (N, SW, NWE etc)

I am going to add several configs to make the all colors individual.
Like: No highlight color, all blocks same color, all blocks and different states with individual color etc.
And i am defenetly going to add another texture like your image and a config to switch it.
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: G3DEditor - 3D GeoEditor

Post by jurchiks »

3) The transparent cube Z can be read from the highlighted cell Z coord or average Z of the block, but the latter one could be resource-expensive (getting Z of all 64 cells in the block and averaging it). Ofc the cube itself should be a perfect cube (i.e. calc how much is 8x8 cells in pixels and make a cube of that size).
The one visible in the screen can also be called transparent since you only see its edges, not sides.

4) by border I mean something similar to when you cast Aura Flash in lineage2, the white area around your character. The same could be made around the block, but squared, ofc.
5) No, I don't want to rotate the cell, that would be impractical.
I meant it like this:
say, we have that square image:

Code: Select all

________|\  N /|| \  / ||W \/ E||  /\  || /  \ ||/ S  \|--------
(damn, forum font breaks my ASCII art :D)
It's all green, all 4 cardinal directions allowed.
There's an overlay that reads mouse clicks on that image, i.e. if you click at any point of the N triangle,
it reads - disable N direction for the selected cell (if none selected, just do the next step).
Then, color the N triangle in red color, the rest three still green (possibly could be done by realtime code-generated image).
If possible, it would only require the green background image and max 4 red triangle images to put over it when necassary (the latter only necassary if it can't be painted realtime).

This is for the GUI part, but since the cells drawn should consist of triangles natively it shouldn't be that hard to paint parts of them one color or the other.

Hopefully I explained it thoroughly enough, if not - lemme know.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

jurchiks wrote:3) The transparent cube Z can be read from the highlighted cell Z coord or average Z of the block, but the latter one could be resource-expensive (getting Z of all 64 cells in the block and averaging it). Ofc the cube itself should be a perfect cube (i.e. calc how much is 8x8 cells in pixels and make a cube of that size).
The one visible in the screen can also be called transparent since you only see its edges, not sides.

4) by border I mean something similar to when you cast Aura Flash in lineage2, the white area around your character. The same could be made around the block, but squared, ofc.
5) No, I don't want to rotate the cell, that would be impractical.
I meant it like this:
say, we have that square image:

Code: Select all

________|\  N /|| \  / ||W \/ E||  /\  || /  \ ||/ S  \|--------
(damn, forum font breaks my ASCII art :D)
It's all green, all 4 cardinal directions allowed.
There's an overlay that reads mouse clicks on that image, i.e. if you click at any point of the N triangle,
it reads - disable N direction for the selected cell (if none selected, just do the next step).
Then, color the N triangle in red color, the rest three still green (possibly could be done by realtime code-generated image).
If possible, it would only require the green background image and max 4 red triangle images to put over it when necassary (the latter only necassary if it can't be painted realtime).

This is for the GUI part, but since the cells drawn should consist of triangles natively it shouldn't be that hard to paint parts of them one color or the other.

Hopefully I explained it thoroughly enough, if not - lemme know.
3) I ment the Z-Buffer of the graphic card which stores the height (z diff to camera) where 1f is infinite far plane and 0f is closest to near plane http://en.wikipedia.org/wiki/Z-buffering . Not the height of the cell. I already have an calc for min/max height of the blocks (needed for frustum culling/terrain)

4) Only possible with shaders...which i do not support atm (to less knownledge..but will come)

5) You cannot "pick" them that easily since an texture in an 3d enviroment is not just "flat" (only in ortho view)
So the only thing i can do is using the pick of the Z buffer to map on world coordinates, but as mentioned before the Z buffer has a too low precision (16 bit on most grpahic cards).
Or do you mean an GUI window/label image of that cell to click on? that would be possible :)
Well atm the cell color is based on an plane white texture with black edges. I set the color in the main loop of the renderer and OpenGL multiplies the color with the texture to get the final color. To realize the RedGreen cell i would just use one big red/green texture equal to my current one wich is black/white and just lower the resulting color brightness by calling for example gl.glColor4f(0.7f, 0.7f, 0.7f, alpha).

The current texture looks like this:
Image
so it just have to be replaced.
Last edited by Forsaiken on Mon Apr 04, 2011 9:51 pm, edited 3 times in total.
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: G3DEditor - 3D GeoEditor

Post by jurchiks »

Forsaiken wrote:Or do you mean an GUI window/label image of that cell to click on? that would be possible :)
That's exactly what I meant. Clicking on N/S/W/E it would change the color of the part you click on so you can clearly see the selection. No need for those 8+ squares below, only 1 would be necassary (except bigger, probably on the right side panel, between Block Convert and Cell Layers).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Forsaiken
L2j Veteran
L2j Veteran
Posts: 99
Joined: Sun Mar 11, 2007 6:23 pm

Re: G3DEditor - 3D GeoEditor

Post by Forsaiken »

jurchiks wrote:
Forsaiken wrote:Or do you mean an GUI window/label image of that cell to click on? that would be possible :)
That's exactly what I meant. Clicking on N/S/W/E it would change the color of the part you click on so you can clearly see the selection. No need for those 8+ squares below, only 1 would be necassary (except bigger, probably on the right side panel, between Block Convert and Cell Layers).
The image there is only for the 3d xD
It`s expensive to bind a new texture for each cell so i am using an one big texture wich i bind once.
Then i produce a new Index/Tex/Vertex region for each cell. So one big + 16 small cells.
Then i am just calling the indicies of the wanted cell (which maps UV tex coords).

Code: Select all

                 GLState.glColor4f(gl, cell.getSelectionState().getColor(cell));                GLState.translatef(gl, cell.getRenderX(), cell.getRenderY(), cell.getRenderZ());                                if (cell.isBig())                {                    gl.glDrawElements(GL2.GL_TRIANGLES, GEOMETRY_INDICES_DATA_LENGTH, GL2.GL_UNSIGNED_BYTE, 0);                }                else                {                    gl.glDrawElements(GL2.GL_TRIANGLES, GEOMETRY_INDICES_DATA_LENGTH, GL2.GL_UNSIGNED_BYTE, cell.getNSWE() * GEOMETRY_INDICES_DATA_LENGTH + GEOMETRY_INDICES_DATA_LENGTH);                } 
see: http://code.google.com/p/g3d-editor/sou ... derer.java

on how it works^^

Anyways gonna add that label to GUI :)
http://code.google.com/p/g3d-editor/
Experienced in the following languages/apis/ides: Java using Eclipse/AWT/Swing/NIO/JNI/Jogl, C/C++11/c++14 using QT/MFC/BOOST/STL/VS2012/VS2013/OpenGL/DirectX, Delphi using Borland, .NET/C# using VS2012/VS2013
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: G3DEditor - 3D GeoEditor

Post by jurchiks »

try this texture, see what happens and make a screen for me, could you? my internet sucks so I can't download the program myself.
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply