Dear mecheil.edwar,
I don't get it. Can't you just copy paste from an existing OpenGL control. I guess there are hundreds successful implementations.
There's Tekla Structures which works in all windows x86/x64, it is using Opengl, it is written in C++, it uses windows api and microsoft controls.
There's also Autocad the older versions before they switched to Directx. Or even Sap2000 versions before version 15.
I mean if others "don't loose shapes", it can be done, how hard is it, depends on what direction you're heading to. If you wish the hard way keep doing it the hard way .
I have recently played with sharpgl wrapper and I can put controls over it just like that, people say it's not recommended to mess up with the context surface/window/control but you can and it works.
Try it all you have to do is to download visual studio express and sharpgl install them, add reference to it in a forms project draw the control on the form, draw some other controls there and there you go it's working , in xp, vista, 7 and 8 x86/x64. It doesn't take more than an hour for the whole thing.
In the debate DirectX vs OpenGL there should be no winner.
Think like this, in a successful software developing company theres one guy who knows win api, one guy who knows OpenGL, one guy who knows DirectX, on guy who makes the gui, one guy who makes the logic, one guy who makes the database/data access, and so one.
For the question if managed is bad: if .Net is bad nobody would use it, there will be no jobs for programmers, Mono project is useless the same are all the tools available for .Net platform.
All are some stupid guys that instead of learning c++ or better c or even better assembly they develop languages, compilers and api and whatever useless stuff that is slow and bad for the mankind. The same logic can be used for OpenGL debate and all other debates. But people are making money with these useless so those are not useless after all.
Was/Is Facebook done in c or c++?
I really don't know what kind of support should Microsoft provide for OpenGL. Is Microsoft providing drivers for my printer? But for my graphics card but for anything that doesn't belong to them? Why can't I read an ext3 partition in plain windows? It's quite an old standard. They support only the minimum, what they have to, because support means lost money and it's in balance with functionality.
Just read this I hope it will explain:
Don't want to be rude or something but think like this, since this thread started how many applications did you finished and how much of the actual thing is working? How much of the stuff you learned can be reused and for how long the knowledge will be valid.
Somewhere in '97 I was learning Turbo Pascal and I was happy to use graph library and to find and use a custom driver in order to have 1024x768 resolution (I think) in Dos and graph, some sort of vesa. Instead of the crt library which allowed only a text screen.
This is what it could be achieved with it:
Later I was replacing explorer.exe of win 95 with a custom made one, more nicer.
If I look back all that stuff is now completely deprecated (like programmers call it).
If you know there was Imeges can't remember the exact name, a structural analysis software written in fortran (solver) and basic (graphics) because basic had support for graphics like above.
I was able to run it on a HTC Athena in dosbox somewhere in 2008. And perform 2d analysis on a 10 story MRF structure.
Here for opengl control:
Anyway happy programming friend and keep us up to date with your progress. I quite enjoy what you're doing.
I don't get it. Can't you just copy paste from an existing OpenGL control. I guess there are hundreds successful implementations.
There's Tekla Structures which works in all windows x86/x64, it is using Opengl, it is written in C++, it uses windows api and microsoft controls.
There's also Autocad the older versions before they switched to Directx. Or even Sap2000 versions before version 15.
I mean if others "don't loose shapes", it can be done, how hard is it, depends on what direction you're heading to. If you wish the hard way keep doing it the hard way .
I have recently played with sharpgl wrapper and I can put controls over it just like that, people say it's not recommended to mess up with the context surface/window/control but you can and it works.
Try it all you have to do is to download visual studio express and sharpgl install them, add reference to it in a forms project draw the control on the form, draw some other controls there and there you go it's working , in xp, vista, 7 and 8 x86/x64. It doesn't take more than an hour for the whole thing.
In the debate DirectX vs OpenGL there should be no winner.
Think like this, in a successful software developing company theres one guy who knows win api, one guy who knows OpenGL, one guy who knows DirectX, on guy who makes the gui, one guy who makes the logic, one guy who makes the database/data access, and so one.
For the question if managed is bad: if .Net is bad nobody would use it, there will be no jobs for programmers, Mono project is useless the same are all the tools available for .Net platform.
All are some stupid guys that instead of learning c++ or better c or even better assembly they develop languages, compilers and api and whatever useless stuff that is slow and bad for the mankind. The same logic can be used for OpenGL debate and all other debates. But people are making money with these useless so those are not useless after all.
Was/Is Facebook done in c or c++?
I really don't know what kind of support should Microsoft provide for OpenGL. Is Microsoft providing drivers for my printer? But for my graphics card but for anything that doesn't belong to them? Why can't I read an ext3 partition in plain windows? It's quite an old standard. They support only the minimum, what they have to, because support means lost money and it's in balance with functionality.
Just read this I hope it will explain:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
Don't want to be rude or something but think like this, since this thread started how many applications did you finished and how much of the actual thing is working? How much of the stuff you learned can be reused and for how long the knowledge will be valid.
Somewhere in '97 I was learning Turbo Pascal and I was happy to use graph library and to find and use a custom driver in order to have 1024x768 resolution (I think) in Dos and graph, some sort of vesa. Instead of the crt library which allowed only a text screen.
This is what it could be achieved with it:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
If I look back all that stuff is now completely deprecated (like programmers call it).
If you know there was Imeges can't remember the exact name, a structural analysis software written in fortran (solver) and basic (graphics) because basic had support for graphics like above.
I was able to run it on a HTC Athena in dosbox somewhere in 2008. And perform 2d analysis on a 10 story MRF structure.
Here for opengl control:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
Anyway happy programming friend and keep us up to date with your progress. I quite enjoy what you're doing.