I too know C++ a bit. See the program below:
#include<iostream> using namespace std; int main() { cout<<"Itchy++"; return 0; }
Offline
vedkhandekar wrote:
I too know C++ a bit. See the program below:
Code:
#include<iostream> using namespace std; int main() { cout<<"Itchy++"; return 0; }
That's gonna give an error. Add a space between the include and <iostream>
Offline
vedkhandekar wrote:
I too know C++ a bit. See the program below:
Code:
#include<iostream> using namespace std; int main() { cout<<"Itchy++"; return 0; }
Ok could you look at the code in our github repo and tell me weather you understand it.
Offline
Can be a tester if you want
Offline
I dont know a lot of c++, but sign me up anyway.
Github is Zeusking19.
Offline
mattdm wrote:
When this project gets off the ground into code workable for end-users, I'm very interested in packaging it for Fedora. We're working on including Scratch 1.4, but the flash-based version will be a no-go.
Fixed
Cool, thanks for the offer once we have some code you are welcome to package it for fedora.
Offline
pwiter wrote:
TRocket wrote:
Bump. does anyone know OpenGL or Qt5 and how to use them together?
I know some OpenGL and qt but don't know how to put them together.
Shouldn't be too hard if we can find a tutorial online somewhere...
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
Bump. does anyone know OpenGL or Qt5 and how to use them together?
I know some OpenGL and qt but don't know how to put them together.
Shouldn't be too hard if we can find a tutorial online somewhere...
I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.
Offline
pwiter wrote:
TRocket wrote:
pwiter wrote:
I know some OpenGL and qt but don't know how to put them together.Shouldn't be too hard if we can find a tutorial online somewhere...
I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.
If you search for the old header name it should be in the doxygen with what it's Been replaced with.
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
Shouldn't be too hard if we can find a tutorial online somewhere...I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.
If you search for the old header name it should be in the doxygen with what it's Been replaced with.
I hardly know anything about doxygen, but I will try.
Offline
pwiter wrote:
TRocket wrote:
pwiter wrote:
I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.If you search for the old header name it should be in the doxygen with what it's Been replaced with.
I hardly know anything about doxygen, but I will try.
are these the demos you're talking about?
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
If you search for the old header name it should be in the doxygen with what it's Been replaced with.I hardly know anything about doxygen, but I will try.
are these the demos you're talking about?
Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.
Offline
pwiter wrote:
TRocket wrote:
pwiter wrote:
I hardly know anything about doxygen, but I will try.are these the demos you're talking about?
Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.
Could we just use opengl 2 includes and libraries?
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
are these the demos you're talking about?Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.
Could we just use opengl 2 includes and libraries?
There is a lot that changed from opengl 2 and 3.
Offline
We should use QPainter and let Qt do the OpenGL
http://qt-project.org/doc/qt-5.0/qtopen … nting.html
Offline
TRocket wrote:
We should use QPainter and let Qt do the OpenGL
http://qt-project.org/doc/qt-5.0/qtopen … nting.html
Nice find. I was just about to commit a test line, but you committed first. Now it's time to manually merge it.
Offline
I have learned how to use QImage and render it using QPainter. But I need some help with I/O. From our old code I think that the image is stored in pixels, but not sure if it has an alpha channel. Anyways, you can set the individual pixels with
image.setPixel(int x, int y, qRgb(int r, int g, int b);
or with alpha channel using
image.setPixel(int x, int y, qRgba(int a, int r, int g, int b);
.
Offline
pwiter wrote:
I have learned how to use QImage and render it using QPainter. But I need some help with I/O. From our old code I think that the image is stored in pixels, but not sure if it has an alpha channel. Anyways, you can set the individual pixels with
Code:
image.setPixel(int x, int y, qRgb(int r, int g, int b);or with alpha channel using
Code:
image.setPixel(int x, int y, qRgba(int a, int r, int g, int b);.
I think it would have an alpha channel, I'll look at it once we can build everything...
we need to try and get qmake subdirs template to work with our structure. I'll try and remove the old SDL code from scratchio.
Also, I am now using qtcreator for developing the main app. I'll probably still use eclipse for IPPX stuff, since it doesn't have a GUI.
Offline