Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Josh Klint

Member Since 09 Jan 2011
Offline Last Active Today, 12:12 AM
-----

Posts I've Made

In Topic: Coding Gouraud or Phong shading on a polygon

15 May 2013 - 06:18 PM

Here's a detailed blog about what I did.  It's kind of cool:
http://www.gamedev.net/blog/906/entry-2256401-lightmapping-curved-csg-objects/


In Topic: Deprecation fail

15 May 2013 - 02:46 PM

Was the code originally a while loop?


In Topic: Coding Gouraud or Phong shading on a polygon

15 May 2013 - 01:43 AM

I have been waiting years to use smoothing groups with CSG. :D

 

Will post a full blog about what I did.

 

Attached File  lightmap7.png   375.72K   22 downloads


In Topic: Coding Gouraud or Phong shading on a polygon

14 May 2013 - 11:17 PM

Well, I did have to write a full Gouraud implementation.  It took about 100 lines of code.

 

I still have problems with luxels that aren't within any single triangle.  To fix that, I think I will have to find the closest triangle, and use the closest point on that triangle for the normals calculation.


In Topic: Coding Gouraud or Phong shading on a polygon

14 May 2013 - 07:29 PM

I'm generating the lightmaps, not rendering geometry.


PARTNERS