Search found 387 matches

by qpHalcy0n
Thu Sep 24, 2009 9:32 pm
Forum: General/Off-Topic
Topic: Going to see COLLECTIVE SOUL
Replies: 10
Views: 752

Re: Going to see COLLECTIVE SOUL

Aw no Dean Roland in that vid. They're fantastic, you'll love that show.

Caught em here in Dallas at the Granada in 2005.
by qpHalcy0n
Thu Sep 24, 2009 11:31 am
Forum: Programming Discussion
Topic: Calculating vertices of a rotated rectangle
Replies: 35
Views: 5947

Re: [Solved] Calculating vertices of a rotated rectangle

Calculate sin and cos once. Those two functions are costlier than anything in that whole shabang there.
by qpHalcy0n
Thu Sep 24, 2009 9:53 am
Forum: General Gaming
Topic: Console performance
Replies: 18
Views: 3537

Re: Console performance

Oh man, chock this up to one of those "You might be getting old if...." ...."you remember someone actually OWNING a 3DO" threads :D Haha, but seriously, I think I was 12 when those things came out and they required a small loan to purchase. Of course then computers weren't any ch...
by qpHalcy0n
Sun Sep 20, 2009 10:35 pm
Forum: Programming Discussion
Topic: Making programming freinds
Replies: 10
Views: 872

Re: Making programming freinds

Image
by qpHalcy0n
Sun Sep 20, 2009 9:55 pm
Forum: General/Off-Topic
Topic: Music you code to
Replies: 26
Views: 2387

Re: Music you code to

I'm soooo depeched....give me the cure :]
by qpHalcy0n
Sun Sep 20, 2009 9:36 pm
Forum: General/Off-Topic
Topic: Music you code to
Replies: 26
Views: 2387

Re: Music you code to

Hm..I've got Mastodon on now. Just listened to some Tool for the first time in a DAMN long time.

Got alotta NIN on here, Faith no more, Tomahawk, Tripping Daisy, QOTSA, Kyuss, Failure. Depeche mode.

I do like some liquid drum & bass on occasion :]
by qpHalcy0n
Thu Sep 17, 2009 10:45 pm
Forum: Programming Discussion
Topic: glRotatef confusion
Replies: 17
Views: 1457

Re: glRotatef confusion

Well hmm, then there's probably just some way I'm not saying it for it to click. Popping the matrix would have no effect on the primitives' transformation. As I said in my prior post, all vertex assembly occurs IMMEDIATELY at the conclusion of the glEnd of a glBegin/glEnd pair, so you can be assured...
by qpHalcy0n
Wed Sep 16, 2009 6:55 pm
Forum: Programming Discussion
Topic: glRotatef confusion
Replies: 17
Views: 1457

Re: glRotatef confusion

The negated translation is very simple. An object's position is simply expressed as the *VECTOR* from the local origin to that particular position. If you think of the world position in terms of a vector as opposed to a POINT (the object position is the origin (point) plus the vector to get there an...
by qpHalcy0n
Mon Sep 14, 2009 4:32 pm
Forum: Programming Discussion
Topic: glRotatef confusion
Replies: 17
Views: 1457

Re: glRotatef confusion

MarauderIIC wrote:
qpHalcy0n wrote: Unfortunately, that is not the case :[
Really? That's interesting.
Correct, in general matrix multiplication is not commutative. MN != NM
by qpHalcy0n
Mon Sep 14, 2009 2:26 pm
Forum: Programming Discussion
Topic: glRotatef confusion
Replies: 17
Views: 1457

Re: glRotatef confusion

Read the above post so that you understand whats going on. Then this is what you'll be looking at (if indeed your positions ARE the *center* of the object to be rotated): glMatrixMode(GL_MODELVIEW); glPushMatrix(); glTranslatef(rectangle->getPosition()->x, rectangle->getPosition()->y, rectangle->get...
by qpHalcy0n
Mon Sep 14, 2009 11:50 am
Forum: Programming Discussion
Topic: glRotatef confusion
Replies: 17
Views: 1457

Re: glRotatef confusion

Then we translate to the center of the rectangle (happens first because of matrices multiplication) Once the command is done, it's done. It's not done when the matrix is popped, it's done when the semicolon is hit. As such, you aren't really subject to order of operations, which is what your senten...
by qpHalcy0n
Tue Sep 08, 2009 1:55 pm
Forum: Game Development
Topic: What projects are you currently working on?
Replies: 500
Views: 163877

Re: What projects are you currently working on?

While a few of my team members are on break, I am working on several proof of concept realtime graphics demonstrations using a minimal OpenGL framework. I'll also be releasing the source with them and probably doing some video commentary. The first of which I've recently posted over at: http://elysi...
by qpHalcy0n
Mon Sep 07, 2009 3:29 pm
Forum: Programming Discussion
Topic: OpenGL Demo + GLSL (Now works on ATI).
Replies: 0
Views: 2405

OpenGL Demo + GLSL (Now works on ATI).

This is a demonstration of our implementation of Screen Space Ambient Occlusion or SSAO. This attempts to approximate ambient occlusion in real time which has typically been reserved for the offline rendering domain. First proposed by Crytek in 2008, this is a short demonstration of our version of t...
by qpHalcy0n
Tue Sep 01, 2009 10:30 pm
Forum: Programming Discussion
Topic: Uhh help real quick please...
Replies: 4
Views: 690

Re: Uhh help real quick please...

int a = 20; // This is value assignment and is valid.


int a;
a = 20; // This is an executable piece of code and is NOT valid in the global scope.
by qpHalcy0n
Sun Aug 02, 2009 10:38 pm
Forum: Programming Discussion
Topic: OpenGL Rotatef
Replies: 28
Views: 4963

Re: OpenGL Rotatef

Well, any time you have alpha blended faces you'll need to do a proper sort. Generally you'd do a pass w/ the opaque geometry front to back w/ blending disabled. By rendering front to back you can make use of early z-rejection and on some video cards double speed or quadruple speed depth writes (nor...