Jump to content



Photo

Au3GlPlugin T2 - OpenGl Plugin Evolution


  • Please log in to reply
72 replies to this topic

#1 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 18 September 2007 - 09:49 PM

Hi!

After 18 days without new versions of Au3GlPlugin, is time for news. The old Au3GlPlugin was remodeled and now it is Au3GlPlugin T2.

Why T2?

Because the plugin needed a new model. The old model, searching each object by a string name, was slow, heavy and nothing friendly. So, some concepts was changed:
First, any object is referenced now by an ID.
Second, groups don't exists how it was. Now an object can group shapes and another objects itself.
Third, each added shape can be worked independent of object (and texturized separately too).
And now it have help file :)

Downloads:
Plugin: Attached File  Au3GlPlugin_T2_2008_03_23.zip   77.23K   1661 downloads
Old versions: +441 downloads

Examples: Attached File  Au3GlPlugin_T2_2008_03_23_examples.zip   330.7K   1360 downloads
Old versions: +368 downloads

SRC: Attached File  Au3GlPlugin_T2_2008_03_23_SRC.zip   92.82K   852 downloads
Old versions: +171 downloads

Another download location here.

This project is open for any contribution, modifications of any kind. Is public! But please, if you expand it in any way, share with us!

PS: Requires a graphics card that supports OpenGL (Intergrated Chipsets not recommended).
It don't work properly on Windows Vista - will be fixed.
The needed Glut32 and Glaux can be found here.


And please! Comments are welcome!

Edited by A. Percy, 23 March 2008 - 01:20 PM.

Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral





#2 trids

trids

    Hmmm .. and what have we here?

  • Active Members
  • PipPipPipPipPipPip
  • 1,004 posts

Posted 19 September 2007 - 05:47 AM

Sounds interesting!

But after unzipping the plugin, I tried to run FirstScene.au3: Got an error that DefineGlWindow() is an unknown function.

Running through the console yielded the same results, so I compiled it and ran the EXE. New error says it can't find GLAUX.DLL

:)

#3 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 19 September 2007 - 06:08 AM

will probably have to register the GLAUX.DLL

#4 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 11:34 AM

put glaux anf glut32 in system directory
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#5 mrbond007

mrbond007

    License To Script

  • Active Members
  • PipPipPipPipPipPip
  • 422 posts

Posted 19 September 2007 - 12:53 PM

@A.Percy
Yes T2 is a lot faster and it looks professional. Thanks for sharing this with us

#6 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 04:16 PM

Thank you! :)
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#7 JPPercy

JPPercy

    Seeker

  • Active Members
  • 6 posts

Posted 19 September 2007 - 05:07 PM

Don't forget.... using MY computer ¬¬

:)

#8 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 05:08 PM

Ok João Paulo... I'll mention this on next Help release :)
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#9 Dhilip89

Dhilip89

    Insane AutoIt Coder

  • Active Members
  • PipPipPipPipPipPip
  • 354 posts

Posted 19 September 2007 - 06:14 PM

Au3GlPlugin_T2_20070918.zip corrupted for me. :)
My Projects:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDFMy Website:http://dhilip89.hopto.org/Closed Sources:YouTube Video Downloader (Version 1.3)

If 1 + 1 = 10, then 1 + 1 ≠ 2


#10 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 06:18 PM

Au3GlPlugin_T2_20070918.zip corrupted for me. :)


hmmmm...
Please, try alternative download.
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#11 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 07:04 PM

Ok, file on attachment changed. I don't know why it was corrupted on server but I uploaded my own copy.
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#12 Sledgehammer

Sledgehammer

    Seeker

  • Active Members
  • 6 posts

Posted 19 September 2007 - 07:08 PM

Hey there Percy :P

Big fan of your plugin, been following it for a while, although I haven't been a registred member of this community. :)
I have a question for you; Is it somehow possible to change a texture on an object on runtime, or somehow update the texture on runtime, if the texture file changes, but with the path the same?

Thank in advance :)
- Sledge

#13 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 07:29 PM

Hey there Percy :P

Big fan of your plugin, been following it for a while, although I haven't been a registred member of this community. :)
I have a question for you; Is it somehow possible to change a texture on an object on runtime, or somehow update the texture on runtime, if the texture file changes, but with the path the same?

Thank in advance :P
- Sledge


Hi!

Thank you!
In runtime you just need call TextureBind, but at start you must load all textures you need. You can change shape texture at any time.

:)
A. Percy

Edited by A. Percy, 19 September 2007 - 07:34 PM.

Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#14 Sledgehammer

Sledgehammer

    Seeker

  • Active Members
  • 6 posts

Posted 19 September 2007 - 07:50 PM

Thanks for the fast response.

However, this does unfortunately not solve my problem.

Let's pretend I've added a texture located at C:\texture.bmp
I've done the nescesary initialization, in order to bind the texture to my shape.

If I then, during runtime that is, overwrite C:\texture.bmp with a file of the same name, but with a diffrent image, and then once again try to bind the same texture, using TextureBind, I don't see any change on my shape?

Is there anyways I can somehow reload the texture, without having to chance Texture buffer, and the ID of the texture?

#15 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 19 September 2007 - 08:05 PM

Thanks for the fast response.

However, this does unfortunately not solve my problem.

Let's pretend I've added a texture located at C:\texture.bmp
I've done the nescesary initialization, in order to bind the texture to my shape.

If I then, during runtime that is, overwrite C:\texture.bmp with a file of the same name, but with a diffrent image, and then once again try to bind the same texture, using TextureBind, I don't see any change on my shape?

Is there anyways I can somehow reload the texture, without having to chance Texture buffer, and the ID of the texture?


For now, isn't possible "reload" a texture, but I'll study the case. It can be very util :)
Thank you
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#16 Sledgehammer

Sledgehammer

    Seeker

  • Active Members
  • 6 posts

Posted 19 September 2007 - 08:33 PM

Okay, that sounds great!
So nice to see your still working on this plugin :)

Keep 'em versions coming :)

- Cheers
Sledge

#17 Dhilip89

Dhilip89

    Insane AutoIt Coder

  • Active Members
  • PipPipPipPipPipPip
  • 354 posts

Posted 19 September 2007 - 10:43 PM

It worked very well, thanks.
My Projects:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDFMy Website:http://dhilip89.hopto.org/Closed Sources:YouTube Video Downloader (Version 1.3)

If 1 + 1 = 10, then 1 + 1 ≠ 2


#18 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 20 September 2007 - 01:04 AM

You're expanding AutoIt possibilities!
I saw the examples: Very nice. Thanks for sharing the plugin version. :)

#19 A. Percy

A. Percy

    VW Sedan user

  • Active Members
  • PipPipPipPipPipPip
  • 561 posts

Posted 20 September 2007 - 11:36 PM

Thank you! :)
Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator

Posted Image VW Bug userPosted Image

Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

#20 trids

trids

    Hmmm .. and what have we here?

  • Active Members
  • PipPipPipPipPipPip
  • 1,004 posts

Posted 21 September 2007 - 06:05 AM

Very good! :)

And thanks for the CHM file too - nice touch! Only I can't seem to get it to work in the way that the AutoIt CHM links directly to the help topic that corresponds with a highlighted word/function.

I'm not too clued up with CHM file compilation, but maybe you can find out the missing piece from JdeB or Jon (whoever compiles the AutoIt CHM)?

Thanks again for the plugin and for really Opening up GL for us!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users