Search found 15 matches

by 121344
Sat Mar 22, 2014 7:34 pm
Forum: Programming
Topic: GRP2 Rasterizer texturing issue
Replies: 2
Views: 3944

Re: GRP2 Rasterizer texturing issue

Ahh, I found the problem. I forgot to add depth to my sub-pixel correction:

Code: Select all

// Sub-pixel correction
float correction = (float) iy1 - fy1;
fx1 += correction * dx;
fw1 += correction * dw; // <--
uv1 += correction * duv;
by 121344
Wed Mar 19, 2014 10:56 am
Forum: GameLab
Topic: Unity application exception: unable find suitable compiler
Replies: 2
Views: 6214

Re: Unity application exception: unable find suitable compil

Do you have your Subversion ignore pattern set up correctly? Most, if not all, of your /Library/ should be ignored, among some other things. Also, when exactly do you get this error? This is the batch file I'm currently using for Unity projects: del ".\Library\assetDatabase3" del ".\Library\AssetImp...
by 121344
Tue Mar 18, 2014 4:22 pm
Forum: Programming
Topic: GRP2 Rasterizer texturing issue
Replies: 2
Views: 3944

GRP2 Rasterizer texturing issue

Hey everyone, I'm currently working on my GRP2 retake. This is the issue that I'm having: http://i.imgur.com/XkuT0MF.png As you can see, the black lines from my UV texture aren't straight. I think this happens because of the following code: const float ySpanRcp = 1.0f / (fy2 - fy1); const float dx =...
by 121344
Thu Dec 19, 2013 3:33 pm
Forum: Programming
Topic: GRP2 discussion
Replies: 35
Views: 27801

Re: GRP2 discussion

Nowadays, I would use nullptr instead of 0 for complete type safety: http://stackoverflow.com/questions/1282295/what-exactly-is-nullptr Also, setting the pointer back to zero in the destructor seems unnecessary to me. Meanwhile, I got the perspective projection working by switching to the GLM math l...
by 121344
Mon Dec 02, 2013 8:08 pm
Forum: Programming
Topic: GRP2 discussion
Replies: 35
Views: 27801

Re: GRP2 discussion

Not really. That screenshot does not use the perspective divide. If I do that, everything breaks for some reason :(
by 121344
Sun Nov 24, 2013 6:17 am
Forum: Programming
Topic: GRP2 discussion
Replies: 35
Views: 27801

Re: GRP2 discussion

I went ahead and created a spinning textured cube ;)

Image
by 121344
Sat Nov 23, 2013 5:45 pm
Forum: Programming
Topic: GRP2 discussion
Replies: 35
Views: 27801

Re: GRP2 discussion

121377 wrote:question,

The triangle we have to render for our homework, does it have to be in 3D worldspace or in 2D screenspace?
We haven't had the theory on 3D transformations yet, so I guess 2D will be sufficient (even though I'm already working on 3D :D).
by 121344
Wed Nov 20, 2013 5:12 pm
Forum: Programming
Topic: GRP2 discussion
Replies: 35
Views: 27801

Re: GRP2 discussion

I can confirm that the slides are available on n@tschool now. I've downloaded them successfully.
by 121344
Sun Nov 03, 2013 12:05 am
Forum: Programming
Topic: GT1 Physics Thread
Replies: 3
Views: 5205

Re: GT1 Physics Thread

Showing what I have: http://www.youtube.com/watch?v=JYPAMl9o8NM I'm very happy that I got the contact constraint working. I'm still working on the friction constraint (I still need to obtain two unit tangent vectors for that). I have also implemented a Compressed Row Storage sparse matrix for the PG...
by 121344
Tue Oct 15, 2013 3:24 pm
Forum: General Discussion
Topic: Requests / Bugs
Replies: 6
Views: 5471

Re: Requests / Bugs

Disclaimer: I'm not a web designer. But I'll explain my thoughts: Facebook and Twitter open external links in new tabs. Search engines like Google do not do this, because the user often does not need to go back after visiting the external link. However, for external links in social media and forums,...