Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!






iOS: Complex Models, and Lighting

Posted by gdunbar, in 10FF 16 November 2012 · 446 views

More iOS progress. Screenshot:

Posted Image

This is a complex model, an orc, loading from the 10FF data. The orc consists of 12 actual models, stitched together so they can be swapped in and out as needed; for instance, if the orc decides to wield a sword instead of a club.

No textures yet, but I have implemented lighting. The weird lighting in this screenshot is because:
  • The ambient light is blue.
  • There is a green directional light to the top left.
  • There is a red point light to the top right.
The weird colors let me know that I have actually implemented things properly. (There was a snafu with the normal vectors that was screwing me up for awhile, which this lighting made really obvious). Once I implement textures, I'll use more reasonable lighting.

Next up, textures and animations. Animations should be super-simple, as the rendering code already handles them, it just needs to be told (by the shell application) what time it is. Textures are a little trickier, but still not too bad since the rendering code supports them just fine on Windows.




Great work on your progress.

August 2015 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
2324252627 28 29
3031     

Recent Comments

PARTNERS