![]() |
|
|
#176 | ||||||||
Senior Member
![]()
|
I'm learning OpenGL right now, so that I can start writing some simple graphical games. So far all I've done is make a rainbow triangle, and a purple square, both of which rotate.
It's hard, because you have to be able to visualize things by points on a grid relative to the last point. And some things aren't really hard, but they're hard the first time. Like setting up a timer to update the view when you're using something animated. ![]() You can't tell from the picture, but the triangle is rotating on it's y-axis, and the square is rotating on it's x-axis. |
||||||||
|
|
|
#177 | ||||||||
Senior Member
![]()
|
Wow, I tried to make the shapes 3D, and I epically failed.
http://sharemyvideo.magnify.net/item...#theater_title |
||||||||
|
|
|
#178 | ||||||||
Senior Member
![]()
|
I finally got that working.
![]() They're both 3d and rotating, if you can't tell. I think I'm going to add some sliders so that you can adjust the rotation speed. |
||||||||
|
|||||||||
| Last edited by paintba||er; 07-23-2008 at 09:25 AM. | |||||||||
|
|
#179 | ||||||||
Senior Member
![]()
|
error
Code:
make[1]: Entering directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/helloapp' cd ../hello1lib && /usr/bin/make -f Makefile CONF=Release make[2]: Entering directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/hello1lib' /usr/bin/make -f nbproject/Makefile-Release.mk SUBPROJECTS= .build-conf make[3]: Entering directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/hello1lib' mkdir -p build/Release/Cygwin-Windows gcc-g++.lst.gz -c -O2 -o build/Release/Cygwin-Windows/hello1.o hello1.cc make[3]: gcc-g++.lst.gz: Command not found make[3]: *** [build/Release/Cygwin-Windows/hello1.o] Error 127 make[3]: Leaving directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/hello1lib' make[2]: *** [.build-impl] Error 2 make[2]: Leaving directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/hello1lib' make[1]: *** [.build-subprojects] Error 2 make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Bash/My Documents/NetBeansProjects/HelloApp_2/helloapp' make: *** [.build-impl] Error 2 Build failed. Exit value 2.
__________________
|
||||||||
|
|
|
#180 | ||||||||
Senior Member
![]()
|
Well, you can start with figuring out why it's trying to run "gcc-g++.lst.gz". 0_o
Edit: Post the contents of your makefile... |
||||||||
|
|||||||||
| Last edited by paintba||er; 09-30-2008 at 06:09 AM. | |||||||||
|
|
#181 | ||||||||
Senior Member
![]()
|
i dont have a make file....
__________________
|
||||||||
|
|
|
#182 | ||||||||
Senior Member
![]()
|
I think that you probably do. The IDE is probably using AutoMake or something to generate one. If not, then you need to find the preference to set the default compiler in the IDE. I'd assume that it is probably just "gcc".
|
||||||||
|
|
|
#183 | ||||||||
Senior Member
![]()
|
its set to "gcc.exe" :/
__________________
|
||||||||
|
|
|
#186 | ||||||||
Senior Member
![]()
|
Don't you just hate IDEs that close the console after the program ends? And require you to put in code just to keep it up...Well, at least you're not using "system("pause");" like most people. :/
|
||||||||
|
|
|
#187 | ||||||||
Senior Member
![]()
|
this one doesn't close it.... thankfully
__________________
|
||||||||
|