Home » Archived » GEF3D » 2Dfied editors do not work with ati
2Dfied editors do not work with ati [message #563878] |
Fri, 05 February 2010 04:55  |
Eclipse User |
|
|
|
Hi,
I always had problems with 3Dfied editors(like the uml examples). The projected figures were not displayed properly: All labels were stretched, looking too big. Furthermore dropping another diagram (activity diagram e.g.) in the Multieditor was not possible. Today I've made an update of the gef3d sources (previous update was like 3 weeks ago). Unfortunately, now the uml-example editors are not working at all. The editor opens, but the 3d-area is just white (the palette is displayed properly). Same for the multieditor. Using my custom 3D-Graph-Editor (not 3dfied), all vertieces are shown, but their labels are not visible. Drag and drop in the multieditor is however not working.
I think that has something to do with the drawing of 2D-objects in a 3D scene. Here is what the console outputs, while opening a uml class diagram in the 3d editor:
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl <init>
INFO: Graphics3DLwjgl constructor called
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .Handles3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.gef3d.examples.uml2.clazz.edit.parts.PackageEdit Part3D
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .FeedbackHelper3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.uml2.diagram.clazz.edit.parts.Package4EditPart
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .Handles3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.uml2.diagram.clazz.edit.parts.Package4EditPart
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .Handles3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.uml2.diagram.clazz.edit.parts.PackageName2EditPa rt
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .Handles3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.uml2.diagram.clazz.edit.parts.PackageStereo2Edit Part
05.02.2010 09:58:51 org.eclipse.gef3d.gmf.runtime.diagram.ui.services.editpolicy .Handles3DEditPolicyProvider3D createEditPolicies
FEIN: modifying edit policies of org.eclipse.uml2.diagram.clazz.edit.parts.PackageImportsEdit Part
05.02.2010 09:58:51 org.eclipse.gef3d.editpolicies.Handles3DEditPolicy decorateChild
FEIN: Decorated child org.eclipse.uml2.diagram.clazz.edit.parts.Package4EditPart with :Package4EditPart( mailto:org.eclipse.gmf.runtime.notation.impl.ShapeImpl@1e5b29 (visible: true, type: 2014, mutable: false) (fontColor: 0, fontName: Segoe UI, fontHeight: 9, bold: false, italic: false, underline: false, strikeThrough: false, description: , fillColor: 16777215, transparency: -1, gradient: null, lineColor: 11579568, lineWidth: -1) ).ResizableEditPolicy3D
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.DisplayListManager createDisplayList
FEIN: creating display list with key 'coordinate_axes'
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.DisplayListManager createDisplayList
FEIN: display list with key 'coordinate_axes' created under id 1
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl begin2DRendering
INFO: activating 2D graphics
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl deactivateGraphics2D
INFO: deactivating 2D graphics
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl begin2DRendering
INFO: activating 2D graphics
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl deactivateGraphics2D
INFO: deactivating 2D graphics
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl begin2DRendering
INFO: activating 2D graphics
05.02.2010 09:58:51 org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl deactivateGraphics2D
INFO: deactivating 2D graphics
I' ve observed this behavior on the following configurations:
Windows Vista; ATI Mobility Radeon X1400,
Windows 7, ATI Radeon HD 2400 Pro,
both with catalyst 10.1 drivers, FBO supported
So, is this a known issue, or maybe an ATI-Related problem?
Best regards,
Kamil
|
|
| | |
Re: 2Dfied editors do not work with ati [message #563999 is a reply to message #563878] |
Tue, 09 February 2010 13:55   |
Eclipse User |
|
|
|
Hi again,
I see multiple problems in your report:
> I always had problems with 3Dfied editors(like the uml examples). The
> projected figures were not displayed properly: All labels were
> stretched, looking too big.
1. This is odd, but I guess we don't need to adress this further at
this time because now it doesn't work at all for you anymore. So first
things first:
> Furthermore dropping another diagram (activity diagram e.g.) in the
> Multieditor was not possible. Today I've made an update of the gef3d
> sources (previous update was like 3 weeks ago). Unfortunately, now the
> uml-example editors are not working at all. The editor opens, but the
> 3d-area is just white (the palette is displayed properly). Same for the
> multieditor.
2. I have seen this behavior before. Could you please try and move the
camera around (by clicking and dragging while the camera tool is
active) and tell me whether you see flickering (sometimes you see the
diagram, sometimes everything is white).
> Using my custom 3D-Graph-Editor (not 3dfied), all vertieces are shown,
> but their labels are not visible.
May be related to 2., so let's see if fixing that fixes this as well.
> Drag and drop in the multieditor is however not working.
This seems to be an entirely different problem and may be related to
your setup. The multi editor uses the plugin registry to discover which
editors are suitable for a certain diagram type. For this it matches
the file extension against all registered editor extensions (see
org.eclipse.gef3d.ext.multieditor.AbstractMultiEditor#findNe stableEditorClasses(IEditorInput).
If a registered editor matches the file extension and implements the
INestableEditor interface, it is added to the multi editor. Maybe for
some reason this mechanism is broken on your runtime instance, so if
you want to debug, this would be a point to start. It would be really
cool if you could check whether any matching editors are found in this
method and post your results here.
Best regards
Kristian
|
|
| |
Re: 2Dfied editors do not work with ati [message #564059 is a reply to message #564036] |
Thu, 22 July 2010 04:53  |
Eclipse User |
|
|
|
Kamil,
On 21.07.10 23:18, fabisiew@in.tum.de wrote:
> The LWJGL 2.3 release fixes some issues with ATI 10.x drivers (See
> http://www.lwjgl.org/index.php).
> However, the update site (http://lwjgl.org/update) offers only version
> 2.2.1. and a manual installation is not supported...
The LWJGL update site is maintained by the LWJGL guys, I only wrote the
initial plugin code and contributed it, but I have no access to the code
at LWJGL.org. I asked Brian Matzon (one of the LWJGL developers) whether
he could update the plugin to 2.5 (the latest release) as well, see
http://lwjgl.org/forum/index.php/topic,3398.0.html
> So when does the update site is going to be updated :) or should i
> install the new version of lwjgl manually (how?).
It should be possible to simply exchange the JAR and library files in
the LWJGL plugin. As a hack (for testing purposes) you can try to
replace the following files with newer versions (assuming the overall
structure of LWJGL hasn't been changed):
org.lwjgl_2.2.1/jinput.jar
org.lwjgl_2.2.1/lwjgl.jar
Depending on your OS:
Linux:
org.lwjgl_2.2.1/native/linux/*
or Mac OS X
org.lwjgl_2.2.1/native/macosx/*
or Windows, 32 bit
org.lwjgl_2.2.1/native/win32/*
or Windows, 64 bit
org.lwjgl_2.2.1/native/windows/*
etc.
Maybe you could check whether there are different files or if only the
files itself were updated. You will find all these files in the orignal
LWJGL distribution, actually the plugin does only enclose these files
into a bundle. But again: THIS IS ONLY A HACK!
Cheers,
Jens
|
|
|
Goto Forum:
Current Time: Sun Jul 06 08:24:39 EDT 2025
Powered by FUDForum. Page generated in 1.04785 seconds
|