Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » OpenGL in SWT ??
OpenGL in SWT ?? [message #397390] Tue, 09 December 2003 12:15 Go to next message
Eclipse UserFriend
Originally posted by: linasp.bigpond.com

BlankI have some ideas for a CAD app and would like to know if the OPENGL
(draw3d?) component in SWT will be improved/developed further ? For anyone
interested an experimental version of OPENGL support for SWT is at:

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html

Linas
Re: OpenGL in SWT ?? [message #397423 is a reply to message #397390] Wed, 10 December 2003 09:44 Go to previous messageGo to next message
Emerson Cargnin is currently offline Emerson CargninFriend
Messages: 125
Registered: July 2009
Senior Member
I installed, and after putting the dll's on the path (winnt/system32) I got
the exemple running. Very interesting!!!
The example of the eclipse splash texture over the flag on wind is
awsome!!! and just 176 lines of code!!!

"Linas Petras" <linasp@bigpond.com> escreveu na mensagem
news:br4e7p$liv$1@eclipse.org...
> BlankI have some ideas for a CAD app and would like to know if the OPENGL
> (draw3d?) component in SWT will be improved/developed further ? For anyone
> interested an experimental version of OPENGL support for SWT is at:
>
>
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
>
> Linas
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
OpenGL examples in SWT [message #439582 is a reply to message #397423] Wed, 14 July 2004 04:09 Go to previous messageGo to next message
Ted is currently offline TedFriend
Messages: 22
Registered: July 2009
Junior Member
Hi, Emerson:

Could I know how did you run the opengl examples?
Those are plugins, but did not extend and editor, view or perspectives?

I built the opengl examples, But how to play it? I have no idea.

Should myself write the code?

Any one give me a clue?

Thanks in Advance,

Ted Zhou


Emerson Cargnin wrote:
> I installed, and after putting the dll's on the path (winnt/system32) I got
> the exemple running. Very interesting!!!
> The example of the eclipse splash texture over the flag on wind is
> awsome!!! and just 176 lines of code!!!
>
> "Linas Petras" <linasp@bigpond.com> escreveu na mensagem
> news:br4e7p$liv$1@eclipse.org...
>
>>BlankI have some ideas for a CAD app and would like to know if the OPENGL
>>(draw3d?) component in SWT will be improved/developed further ? For anyone
>>interested an experimental version of OPENGL support for SWT is at:
>>
>>
>
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
>
>>Linas
>>
>>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
>
>
Re: OpenGL examples in SWT [message #439595 is a reply to message #439582] Wed, 14 July 2004 13:20 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
This is not a plugin, it is a standalone SWT application - the main is in
OpenGLExample. The instructions for running the example are at the top of
teh download page.

See also:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone


"Ted" <ted@x.y.z.com> wrote in message news:cd2bjr$3un$1@eclipse.org...
> Hi, Emerson:
>
> Could I know how did you run the opengl examples?
> Those are plugins, but did not extend and editor, view or perspectives?
>
> I built the opengl examples, But how to play it? I have no idea.
>
> Should myself write the code?
>
> Any one give me a clue?
>
> Thanks in Advance,
>
> Ted Zhou
>
>
> Emerson Cargnin wrote:
> > I installed, and after putting the dll's on the path (winnt/system32) I
got
> > the exemple running. Very interesting!!!
> > The example of the eclipse splash texture over the flag on wind is
> > awsome!!! and just 176 lines of code!!!
> >
> > "Linas Petras" <linasp@bigpond.com> escreveu na mensagem
> > news:br4e7p$liv$1@eclipse.org...
> >
> >>BlankI have some ideas for a CAD app and would like to know if the
OPENGL
> >>(draw3d?) component in SWT will be improved/developed further ? For
anyone
> >>interested an experimental version of OPENGL support for SWT is at:
> >>
> >>
> >
> >
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
> >
> >>Linas
> >>
> >>
> >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
> >
> >
Re: OpenGL examples in SWT [message #439728 is a reply to message #439595] Wed, 14 July 2004 23:58 Go to previous messageGo to next message
Ted is currently offline TedFriend
Messages: 22
Registered: July 2009
Junior Member
Hi, Veronika:

Have you tried opengl.examples on linux with eclipse_3.0 motif version?

I have got following error messages:

============================================================ ================
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 653
Current serial number in output stream: 653
============================================================ =

I possibly try eclipse_2.1 motif version first.

Cheers,

Ted



Veronika Irvine wrote:
> This is not a plugin, it is a standalone SWT application - the main is in
> OpenGLExample. The instructions for running the example are at the top of
> teh download page.
>
> See also:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone
>
>
> "Ted" <ted@x.y.z.com> wrote in message news:cd2bjr$3un$1@eclipse.org...
>
>>Hi, Emerson:
>>
>>Could I know how did you run the opengl examples?
>>Those are plugins, but did not extend and editor, view or perspectives?
>>
>>I built the opengl examples, But how to play it? I have no idea.
>>
>>Should myself write the code?
>>
>>Any one give me a clue?
>>
>>Thanks in Advance,
>>
>>Ted Zhou
>>
>>
>>Emerson Cargnin wrote:
>>
>>>I installed, and after putting the dll's on the path (winnt/system32) I
>
> got
>
>>>the exemple running. Very interesting!!!
>>>The example of the eclipse splash texture over the flag on wind is
>>>awsome!!! and just 176 lines of code!!!
>>>
>>>"Linas Petras" <linasp@bigpond.com> escreveu na mensagem
>>>news:br4e7p$liv$1@eclipse.org...
>>>
>>>
>>>>BlankI have some ideas for a CAD app and would like to know if the
>
> OPENGL
>
>>>>(draw3d?) component in SWT will be improved/developed further ? For
>
> anyone
>
>>>>interested an experimental version of OPENGL support for SWT is at:
>>>>
>>>>
>>>
>>>
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
>
>>>>Linas
>>>>
>>>>
>>>
>>>
>>>
>>>---
>>>Outgoing mail is certified Virus Free.
>>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>>Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
>>>
>>>
>
>
>
Re: OpenGL examples in SWT [message #439730 is a reply to message #439728] Thu, 15 July 2004 04:44 Go to previous messageGo to next message
Ted is currently offline TedFriend
Messages: 22
Registered: July 2009
Junior Member
Ted wrote:
> Hi, Veronika:
>
> Have you tried opengl.examples on linux with eclipse_3.0 motif version?
>
> I have got following error messages:
>
> ============================================================ ================
>
> X Error of failed request: BadMatch (invalid parameter attributes)
> Major opcode of failed request: 144 (GLX)
> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
> Serial number of failed request: 653
> Current serial number in output stream: 653
> ============================================================ =
>
> I possibly try eclipse_2.1 motif version first.

Not related to version of eclipse at all.

OpenGL examples work perfectly on Windows eclipse 3.0.

Have to investigate the real reason.

Ted


> Veronika Irvine wrote:
>
>> This is not a plugin, it is a standalone SWT application - the main is in
>> OpenGLExample. The instructions for running the example are at the
>> top of
>> teh download page.
>>
>> See also:
>> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone
>>
>>
>>
>> "Ted" <ted@x.y.z.com> wrote in message news:cd2bjr$3un$1@eclipse.org...
>>
>>> Hi, Emerson:
>>>
>>> Could I know how did you run the opengl examples?
>>> Those are plugins, but did not extend and editor, view or perspectives?
>>>
>>> I built the opengl examples, But how to play it? I have no idea.
>>>
>>> Should myself write the code?
>>>
>>> Any one give me a clue?
>>>
>>> Thanks in Advance,
>>>
>>> Ted Zhou
>>>
>>>
>>> Emerson Cargnin wrote:
>>>
>>>> I installed, and after putting the dll's on the path (winnt/system32) I
>>
>>
>> got
>>
>>>> the exemple running. Very interesting!!!
>>>> The example of the eclipse splash texture over the flag on wind is
>>>> awsome!!! and just 176 lines of code!!!
>>>>
>>>> "Linas Petras" <linasp@bigpond.com> escreveu na mensagem
>>>> news:br4e7p$liv$1@eclipse.org...
>>>>
>>>>
>>>>> BlankI have some ideas for a CAD app and would like to know if the
>>
>>
>> OPENGL
>>
>>>>> (draw3d?) component in SWT will be improved/developed further ? For
>>
>>
>> anyone
>>
>>>>> interested an experimental version of OPENGL support for SWT is at:
>>>>>
>>>>>
>>>>
>>>>
>> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
>>
>>
>>>>> Linas
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ---
>>>> Outgoing mail is certified Virus Free.
>>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>>> Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
>>>>
>>>>
>>
>>
>>
Re: OpenGL examples in SWT [message #439732 is a reply to message #439728] Thu, 15 July 2004 05:30 Go to previous messageGo to next message
Ted is currently offline TedFriend
Messages: 22
Registered: July 2009
Junior Member
Ted wrote:
> Hi, Veronika:
>
> Have you tried opengl.examples on linux with eclipse_3.0 motif version?
>
> I have got following error messages:
>
> ============================================================ ================
>
> X Error of failed request: BadMatch (invalid parameter attributes)
> Major opcode of failed request: 144 (GLX)
> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
> Serial number of failed request: 653
> Current serial number in output stream: 653
> ============================================================ =
>

I guess which comes from local opengl system library?

>
>
> Veronika Irvine wrote:
>
>> This is not a plugin, it is a standalone SWT application - the main is in
>> OpenGLExample. The instructions for running the example are at the
>> top of
>> teh download page.
>>
>> See also:
>> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone
>>
>>
>>
>> "Ted" <ted@x.y.z.com> wrote in message news:cd2bjr$3un$1@eclipse.org...
>>
>>> Hi, Emerson:
>>>
>>> Could I know how did you run the opengl examples?
>>> Those are plugins, but did not extend and editor, view or perspectives?
>>>
>>> I built the opengl examples, But how to play it? I have no idea.
>>>
>>> Should myself write the code?
>>>
>>> Any one give me a clue?
>>>
>>> Thanks in Advance,
>>>
>>> Ted Zhou
>>>
>>>
>>> Emerson Cargnin wrote:
>>>
>>>> I installed, and after putting the dll's on the path (winnt/system32) I
>>
>>
>> got
>>
>>>> the exemple running. Very interesting!!!
>>>> The example of the eclipse splash texture over the flag on wind is
>>>> awsome!!! and just 176 lines of code!!!
>>>>
>>>> "Linas Petras" <linasp@bigpond.com> escreveu na mensagem
>>>> news:br4e7p$liv$1@eclipse.org...
>>>>
>>>>
>>>>> BlankI have some ideas for a CAD app and would like to know if the
>>
>>
>> OPENGL
>>
>>>>> (draw3d?) component in SWT will be improved/developed further ? For
>>
>>
>> anyone
>>
>>>>> interested an experimental version of OPENGL support for SWT is at:
>>>>>
>>>>>
>>>>
>>>>
>> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/opengl/opengl.html
>>
>>
>>>>> Linas
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ---
>>>> Outgoing mail is certified Virus Free.
>>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>>> Version: 6.0.548 / Virus Database: 341 - Release Date: 6/12/2003
>>>>
>>>>
>>
>>
>>
Re: OpenGL examples in SWT [message #439733 is a reply to message #439732] Thu, 15 July 2004 06:43 Go to previous message
Ted is currently offline TedFriend
Messages: 22
Registered: July 2009
Junior Member
Ted wrote:
> Ted wrote:
>
>> Hi, Veronika:
>>
>> Have you tried opengl.examples on linux with eclipse_3.0 motif version?
>>
>> I have got following error messages:
>>
>> ============================================================ ================
>>
>> X Error of failed request: BadMatch (invalid parameter attributes)
>> Major opcode of failed request: 144 (GLX)
>> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
>> Serial number of failed request: 653
>> Current serial number in output stream: 653
>> ============================================================ =
>>
>
> I guess which comes from local opengl system library?

Hi, Ted:

Your guess is correct.

I get it working on Linux motif eclipse 3.0 now.

Get the correct local system OpenGL library and then works.
Previous Topic:ViewPart-createPartControl(Composite c)
Next Topic:Table Alignment problem ...possible SWT bug?
Goto Forum:
  


Current Time: Fri Apr 26 20:15:21 GMT 2024

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

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

Back to the top