News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

OpenGL reference plugin idea

Started by Barking_Mad, November 11, 2007, 01:55:18 AM

Previous topic - Next topic

Barking_Mad

I am currently learning opengl programming and had the realisation that i could write a simple opengl reference plugin for code blocks, under the impression that "Plugins" are supposedly easily constructable, modular enhancements.

The idea was simple but in reality it seems very unlikely that i can achieve this, not because writing the logic or programming the script/code to do it is difficult, but because setting up the environment and multiple libraries and components is frustratingly difficult.

I have attempted to follow the wiki example for setting up and creating a wxWigets hello world project, for installing and compiling both SDKs without luck, twice  :x

Anyway, a simple task turned into a nightmare because of escalating complexity which just shouldnt be necessary for achieving the goal.

Ill now not be developing my plugin :P and wanted to vent some.....grrr...
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

stahta01

Are you sure you wish to do a plugin?
A template seems to be what you are implying you wish to do.

You may wish to lookup up Code::Blocks templates.

Tim S

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

thomas

What exactly is the purpose of such an OpenGL reference plugin? Surely not to add OpenGL rendering inside Code::Blocks... I could not imagine what that could be good for?

Are you talking about a tool to set up a project for an application that uses OpenGL? We have wizards that create projects for OpenGL, GLUT, and GLEW. I have last used the OpenGL one about 2 years ago, and the GLEW one a year ago (and have never used the GLUT one), but to my knowledge they all work OK.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Barking_Mad

#3
Apologies for being unclear. I wrote a script for another program that essentially would lookup any opengl function externally and return info on the function (not only params but usage info and descriptions). It served as a good, but hacky, quick reference when learning. I was looking to extend the idea to a code blocks plugin.

Its nothing you couldn't do with google, a decent book or something though. Just wanted to put it right where i needed it.

Oh and i don't want to seem ungrateful for a very nice piece of free software :) , so thanks!
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

Barking_Mad

Actually looking at a newer release of CB i see the koders query plugin is something along the lines of what i was going to do, ill have another stab at it later in the week.
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

thomas

Quote from: Barking_Mad on November 13, 2007, 06:01:27 AMApologies for being unclear. I wrote a script for another program that essentially would lookup any opengl function externally and return info on the function (not only params but usage info and descriptions).
Just what everybody needs, actually. Cool idea, please do :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."