Search Results

Showing results 1 to 40 of 50
Search took 0.01 seconds.
Search: Posts Made By: firstPerson ; Forum: Game Development and child forums
Forum: Game Development 3 Days Ago
Replies: 1
Views: 176
Posted By firstPerson
did you try the red book?

Alternativly, you give each object a unique color and easily go about
selection from there.
Forum: Game Development 3 Days Ago
Replies: 4
Views: 138
Posted By firstPerson
1. use win32 with directx
2. use win32 with opengl
3. use java with opengl.

4. make a wrapper of win32 in c++ of the things you need, and use either opengl/glut or directx
Forum: Game Development 20 Days Ago
Replies: 1
Views: 481
Posted By firstPerson
You could use glutBitmapCharacter (http://www.opengl.org/documentation/specs/glut/spec3/node76.html)

Combined with function you can make this :

void renderBitmapString(
float x,
float y,...
Forum: Game Development 28 Days Ago
Replies: 3
Views: 524
Posted By firstPerson
Maybe the quality of the game and/or the features of the game is
not supported by your video card.
Forum: Game Development Oct 22nd, 2009
Replies: 3
Views: 704
Posted By firstPerson
Just remember that when rotating an object, you should rotate the world in opposite direction to make the world coordinate the same relative to that object.
Forum: Game Development Oct 20th, 2009
Replies: 3
Views: 704
Posted By firstPerson
>>Is there any way to stop the axis from rotating but allowing the object to translate or is there a trick to get around this.

Yes, use push and pop matrix for that, as well as return the original...
Forum: Game Development Oct 4th, 2009
Replies: 1
Views: 604
Posted By firstPerson
Its amazing what google can do. Here is one I found, Link (http://code.msdn.microsoft.com/RubiksCubeSolver/Release/ProjectReleases.aspx?ReleaseId=712)
Forum: Game Development Sep 26th, 2009
Replies: 1
Views: 480
Posted By firstPerson
Yes its possible to cut that picture into correct portion and paste it onto
a 2d tile.

You need to first create a nxn tile set. Then, you need to generate the
correct texture coordinate for...
Forum: Game Development Sep 16th, 2009
Replies: 4
Views: 643
Posted By firstPerson
Its hard to explain well. You will just have to read up on 3d coordinates.

Here are some links that may help : Link1 (http://www.falloutsoftware.com/tutorials/gl/gl0.htm)
Link2
...
Forum: Game Development Sep 11th, 2009
Replies: 10
Views: 1,099
Posted By firstPerson
Its good to know win32, but I think for graphics opengl would
be better to learn.
Forum: Game Development Sep 11th, 2009
Replies: 4
Views: 643
Posted By firstPerson
are you using gluPerspective?
Forum: Game Development Sep 10th, 2009
Replies: 6
Views: 637
Posted By firstPerson
They are not rigged. Do research before you answer some question
that you are not 100% sure.
Forum: Game Development Sep 10th, 2009
Replies: 10
Views: 1,099
Posted By firstPerson
For now, I would suggest openGL, as it is easier to learn. Google
tutorials for it. This (http://www.videotutorialsrock.com/) link
would help you get opengl installed.
Forum: Game Development Sep 9th, 2009
Replies: 10
Views: 1,099
Posted By firstPerson
Well to make a GUI program in opengl, say a basic triangle, all you need
to know about c++ is, functions,libraries,if-else,and switch-statements.

From that you can make your first triangle....
Forum: Game Development Sep 2nd, 2009
Replies: 6
Views: 637
Posted By firstPerson
Depends on :

the number of row of slots that spins.
the number of different symbols.

I think generally it would be :

let N = number of spinning slots;
let S = number of different symbols.
Forum: Game Development Aug 29th, 2009
Replies: 19
Solved: RAMP GAME
Views: 1,417
Posted By firstPerson
Ok whats the problem. In your drawFunc have the (X_i,Y_i,Z_i)
and the (X_f, Y_f, Z_f) as variables and change it accordingly. Maybe
if '+' is pressed, increase the length of each X coord by 1...
Forum: Game Development Aug 29th, 2009
Replies: 19
Solved: RAMP GAME
Views: 1,417
Posted By firstPerson
Ask your question in a clear and concise manner.
Forum: Game Development Aug 28th, 2009
Replies: 10
Views: 1,450
Posted By firstPerson
translate it it into the center then rotate, then translate it back
Forum: Game Development Aug 28th, 2009
Replies: 10
Views: 1,450
Posted By firstPerson
" when the sprite rotates it isn't centered. "

elaborate a little bit more.

You don't want it to rotate around its center?
Forum: Game Development Aug 28th, 2009
Replies: 10
Views: 1,450
Posted By firstPerson
Admin, perhaps it would serve this user best, if you move this thread
to game development forum.
Forum: Game Development Aug 27th, 2009
Replies: 3
Views: 7,279
Posted By firstPerson
You could just use glPush/Pop Matrix. Makes it much easier.

1) draw sun say at (0,0,0)
2) draw earth at the same position as the sun
3) Translate earth to some radius
4) Now using glRotate on...
Forum: Game Development Aug 27th, 2009
Replies: 7
Views: 659
Posted By firstPerson
Break the pattern down.

Linearly :

some numbers | middle number| some number reversed


1
2 |3| 2
3 4 |5| 4 3
Forum: Game Development Aug 26th, 2009
Replies: 1
Views: 435
Posted By firstPerson
Just an idea, check the window size with glutGet and if its not what
you want then resize it.
Forum: Game Development Aug 26th, 2009
Replies: 2
Views: 423
Posted By firstPerson
If you want 3d the glOrtho is the wrong choice. glOrtho is for
2d. Use gluPerspective(45.0,width/(float)height,1.0,1000.0f); for 3d

your reshape functions should look something like this :
...
Forum: Game Development Aug 15th, 2009
Replies: 1
Views: 305
Posted By firstPerson
glut/opengl/c++ is easy to start with
Forum: Game Development Aug 9th, 2009
Replies: 2
Views: 484
Posted By firstPerson
You know creating a terrain from heightmap is not hard. Its
actually easy once you understand the concept.
Forum: Game Development Aug 9th, 2009
Replies: 8
Views: 490
Posted By firstPerson
(assuming visual studio) right click on the header and click "open document" and see if it
exist.
Forum: Game Development Aug 8th, 2009
Replies: 8
Views: 490
Posted By firstPerson
Is that the correct function name ? What is KillALData and where
is it declared?
Forum: Game Development Aug 4th, 2009
Replies: 10
Views: 660
Posted By firstPerson
my apologies, for mistaking he for she. I usually assumed that
a person around here is a he,taking the risk of being wrong.

Anyways, hope the comment helped. Just a quick question.

Why do you...
Forum: Game Development Jul 30th, 2009
Replies: 10
Views: 660
Posted By firstPerson
" YOU (firstPerson): Hi! I'm the sucker who's gonna help you cheat your
class! Here's the code including comments! Say hi to your teacher for
me ok? "

Hilarious. Ok, no more freebies. I thought...
Forum: Game Development Jul 20th, 2009
Replies: 2
Views: 594
Posted By firstPerson
I tried to install the devil library but I am getting some
errors. Here are the steps that I am taking to install it :


Let me see if I did this correctly :

Steps :

1) download DevIL 1.7.8...
Forum: Game Development Jul 20th, 2009
Replies: 10
Views: 660
Posted By firstPerson
//Are used to determine if certain settings are enabled/disabled
//0->disabled
//1->enabled
"static int useRGB = 1;
static int useLighting = 1;
static int useFog = 0;
static int useDB = 1;...
Forum: Game Development Jul 12th, 2009
Replies: 3
Views: 495
Posted By firstPerson
well a ball is a sphere and keeping z = 0 will make it a circle.
Forum: Game Development Jul 10th, 2009
Replies: 3
Views: 495
Posted By firstPerson
I am using c++/opengl. Can someone help me with a wrapper
for a 2d ball representation. I have one but its not complete.
I need other stuff like momentum and collision response.
Can you help...
Forum: Game Development Mar 9th, 2009
Replies: 1
Views: 606
Posted By firstPerson
I am trying to rotate the object by a input of key.
I dont know why the object is not rotating.

I used glRotatef(x,0,0,1); //where x is declared as float :

here is my code :


...
Forum: Game Development Jan 25th, 2009
Replies: 0
Views: 482
Posted By firstPerson
hi,

I am confused on why my texture came out a different color?

I have a bmp file of a cloud, skyblue color on the background and white clouds. BUt when i load it on a square the color becomes...
Forum: Game Development Jan 22nd, 2009
Replies: 15
Views: 1,991
Posted By firstPerson
Know :

C/C++
Python
java
OpenGL
DirectX


Depending on you situation, your son should learn the list above , although c++ and opengl/directx should be more important than others.
Forum: Game Development Jan 17th, 2009
Replies: 4
Views: 992
Posted By firstPerson
Varying the y or x did not work either?

[code]

for(float xc=0.0, yc = 0.0; xc <= 5; xc+=0.1,yc+=0.1 )
{
//xCor = sqrt( pow(five,two) - pow(yc,two) );
yCor = (double)sqrt(...
Forum: Game Development Jan 17th, 2009
Replies: 4
Views: 1,401
Posted By firstPerson
Thanks, the problem was 1) the .bmp file was not a power of 2 and
i did not include, .bmp, in art. Thank you very much .
Forum: Game Development Jan 17th, 2009
Replies: 4
Views: 992
Posted By firstPerson
hi,

I am trying to draw a circle without using cos,sin;

Mainly by the formula x^2+y^2 = r^2;

this is my code , but for some reason its not working. any help?
note: I thought this code...
Showing results 1 to 40 of 50

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC