Search found 240 matches

by Benjamin100
Mon Jul 04, 2016 3:21 am
Forum: Programming Discussion
Topic: Perspective Projection
Replies: 38
Views: 48927

Re: Perspective Projection

dandymcgee wrote: It's also worth noting that, depending on how you're storing it in memory, you may need to transpose this matrix when you send it to the shader via uniform.
Why would I need to change it?
Does GLM not use the same standard for matrices?
by Benjamin100
Sat Jul 02, 2016 8:41 pm
Forum: Programming Discussion
Topic: Perspective Projection
Replies: 38
Views: 48927

Re: Perspective Projection

Thanks Dan, the matrix you showed helped. I just had a really simple matrix set up with the final "-1". I'd seen the other matrix before in my book, but I assumed it wasn't necessary. I'm not sure why. It seemed like all I was really doing was dividing by the z, so I should only need to ch...
by Benjamin100
Sun Jun 05, 2016 11:53 pm
Forum: Programming Discussion
Topic: Perspective Projection
Replies: 38
Views: 48927

Re: Perspective Projection

Should I have not tried making my own projection matrix? Should I have just used the GL math functions? I'm beginning to think that would be wiser.
by Benjamin100
Sun Jun 05, 2016 11:44 pm
Forum: Programming Discussion
Topic: Perspective Projection
Replies: 38
Views: 48927

Re: Perspective Projection

Ugg. I had left this program for a week and came back to it again, only to realize I wasn't testing to see if the perspective uniform was working. I put in an error message and it came up. That makes sense, as nothing would show no matter how I used it. Once I figure out what is missing I will see i...
by Benjamin100
Tue May 31, 2016 10:54 am
Forum: Programming Discussion
Topic: Perspective Projection
Replies: 38
Views: 48927

Perspective Projection

For some odd reason my perspective projection matrix is not working. I created it as an array, with the second to last element being -1/2. I applied it in the vertex shader, which compiles without error, but nothing shows on the screen. One thing that isn't clear in what I've read is whether the vec...
by Benjamin100
Fri Jan 29, 2016 1:38 am
Forum: Programming Discussion
Topic: OpenGL and Perspective Matrix
Replies: 4
Views: 6814

Re: OpenGL and Perspective Matrix

Interesting article.
by Benjamin100
Fri Jan 29, 2016 1:36 am
Forum: Programming Discussion
Topic: OpenGL and Perspective Matrix
Replies: 4
Views: 6814

Re: OpenGL and Perspective Matrix

Ok. This is interesting. I have a couple books on computer graphics, both of which discuss the concept. It is just a little difficult to understand. I think I understand a bit better. Looking through my books, the issue is that the w isn't really to be thought of as a coordinate in the program. It i...
by Benjamin100
Thu Jan 28, 2016 6:25 pm
Forum: Programming Discussion
Topic: OpenGL and Perspective Matrix
Replies: 4
Views: 6814

OpenGL and Perspective Matrix

I've been getting back into graphics programming, which I tried before but never really took seriously. Regarding perspective, I don't understand what I'm doing with the "w" variable in the matrix. What IS the w variable? What does it represent? Why do I use it for perspective? What is it ...
by Benjamin100
Tue Sep 01, 2015 12:06 am
Forum: Programming Discussion
Topic: Assembly.
Replies: 8
Views: 9256

Re: Assembly.

I'm using masm32 now. Been reading one lesson online about it. I keep having issues installing masm32 because every time it gets to installing, it can't find kernel32.lib. I finally searched the computer for it and found it in "Windows Kits." and "Microsoft SDKs." Where is it EXP...
by Benjamin100
Mon Aug 31, 2015 8:28 pm
Forum: Programming Discussion
Topic: Assembly.
Replies: 8
Views: 9256

Re: Assembly.

So am I supposed to understand him? There is no point in sticking it out if I should simply be reading a book about it instead. I'm not trying to impress anyone, I simply stop using a source if it isn't comprehensible to me. Endurance by itself doesn't produce understanding if I'm not starting where...
by Benjamin100
Sun Aug 30, 2015 3:30 pm
Forum: Programming Discussion
Topic: Assembly.
Replies: 8
Views: 9256

Re: Assembly.

Oh, that's the one I was talking about.
by Benjamin100
Sat Aug 29, 2015 6:31 pm
Forum: Programming Discussion
Topic: Assembly.
Replies: 8
Views: 9256

Re: Assembly.

I have no clue what the man in the tutorial is talking about.
He seems to assume I already understand the basics of assembly, which I do not.
Perhaps I should read about it extensively first.
by Benjamin100
Sat Aug 29, 2015 12:47 am
Forum: Programming Discussion
Topic: Assembly.
Replies: 8
Views: 9256

Assembly.

I've been playing and learning with C++ on and off for a while now, through books, experimentation, and a little bit with graphics.
What are the chances I would learn anything valuable by studying assembly? Have any of you learned assembly and found it helpful in any way?
by Benjamin100
Sat Mar 14, 2015 7:21 pm
Forum: General/Off-Topic
Topic: Opinions
Replies: 1
Views: 5483

Opinions

Ok. Let me just try to get everyone's opinion on this; Do you think there is a significant difference between the personalities and interests of men and women? I think there is a significant difference between the interests of men and women. That doesn't mean that a woman should be discouraged from ...
by Benjamin100
Sun Oct 26, 2014 5:57 pm
Forum: General/Off-Topic
Topic: Falco's Education
Replies: 5
Views: 2897

Falco's Education

Does Falco have his Master degree yet? When will Falco get his Master of Engineering degree?
Is he still going to try to go and acquire the title of "Dr"?
What is the full explanation of Falco's education plans?