Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF3D » X3D Renderer for Draw3D(There has once been a project org.eclipse.draw3d.x3d. I wanna try to reactivate it)
X3D Renderer for Draw3D [message #886619] Fri, 15 June 2012 09:48 Go to next message
Lukas Olbrich is currently offline Lukas Olbrich
Messages: 17
Registered: October 2010
Junior Member
Hi everyone,
I found a project from 2009 which has been developed in the context of a Bachelor thesis. It provides an x3d renderer for draw3d. Well, I also found some old sources but it seems as if they were deprecated due to API changes in org.eclipse.draw3d.graphics3d.Graphics3D.

Also, I found a post by Jens saying he added an export function for the X3D rendered images, also from 2009.
Also, in the current GIT repo I do find the X3D project in an experimental branch - more than 2 years old.

However, I would be interested to have the diagrams rendered in X3D. I'd like to adapt the former implementation to the current API. Does anyone have any experience? Can anyone provide some information concerning the adaptation of Graphics3DX3D to the new Graphics3D?

Cheers,
Lukas

[Updated on: Fri, 15 June 2012 13:00]

Report message to a moderator

Re: X3D Renderer for Draw3D [message #888670 is a reply to message #886619] Mon, 18 June 2012 13:05 Go to previous message
Jens von Pilgrim is currently offline Jens von Pilgrim
Messages: 293
Registered: July 2009
Senior Member
Lukas,

comments below.


On 15.06.12 11:48, Lukas Olbrich wrote:
> I found a project from 2009 which has been developed in the context of a
> Bachelor thesis.

[Thi09] Thiele, Matthias: Refactoring der Softwarearchitektur von
Eclipse GEF3D und Validierung. Hagen, Germany, FernUniversität in Hagen,
Bachelor, Februar 2009
("Refactoring the software architecture of Eclipse GEF3D and validation")

As you can already see from the title of the thesis, X3D was not our
main focus. The thesis was mainly motivated by legal issues: LWJGL did
not got approved by the IP process, so I hoped to get at least JOGL
accepted (what failed as well). I originally used a lot of LWJGL classes
inside GEF3D, and I had to refactor that for legal issues. Matthias'
thesis was about refactoring the renderer part of GEF3D to make it
independent from the library. We did this by introducing a thin
abstraction layer (Graphics3D) which is then to be implemented by the
library adapter. In order to have be able to validate this abstraction
layer, we needed at least two different graphic libraries, and we
decided to use, besides LWJGL, an X3D exporter, in order to have a quite
different library.

> It provides an x3d renderer for draw3d.

It implemented the Graphics3D interface as well. However, this was only
a proof of concept, and not a real x3d renderer.

> Well, I also
> found some old sources but it seems as if they were deprecated due to
> API changes in org.eclipse.draw3d.graphics3d.Graphics3D.

We did not maintain that code. We mainly added the code to the
repository to get it IP approved in order to be able to reuse it when
needed.

>
> Also, I found a post by Jens' saying he added an export function for the
> X3D rendered images, also from 2009.

This export function used the X3D renderer adapter.


> Also, in the current GIT repo I do find the X3D project in an
> experimental branch - more than 2 years old.

I simply imported the whole SVN repository to GIT, including the
experimental branches. I did this to not loose the code, just in case
someone may be interested in exporting GEF3D to X3D ;-)

> However, I would be interested to have the diagrams rendered in X3D. I'd
> like to adapt the former implementation to the current API. Does anyone
> have any experience? Can anyone provide some information concerning the
> adaptation of Graphics3DX3D to the new Graphics3D?

Frankly, I'm not really sure about the API changes. To my best
knowledge, they were not that dramatically. However, I wouldn't
recommend using the old X3D code, as it is rather bad (as said before,
it was only for validation of the abstraction layer, and the renderer
itself was the most unimportant part of the thesis). If I were you, I
would start from scratch. Maybe you could find a student writing her or
his thesis about that?

Since we're both located in Berlin, I would offer you to meet in person.
Although I'm not really interested in X3D, I'm interested in having a
renderer working headless for testing purposes -- which an X3D renderer
would be.

Cheers,
Jens
Previous Topic:3D-fication of 2D-GMF based editor
Next Topic:Renamed: How to add InterModelConnections properly
Goto Forum:
  


Current Time: Wed Sep 17 15:51:49 GMT 2014

Powered by FUDForum. Page generated in 0.02379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software