Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 Jun 2011
Offline Last Active Dec 26 2013 06:18 AM

Posts I've Made

In Topic: Unity CG Custom Sader for Texture Layering using Passes

28 October 2013 - 06:25 AM

Ok solved this problem, it was the unity cubes Normal deforming under a specific rotation. When I created a flat plane it worked perfectly

In Topic: Xcode 4 with SDL

10 August 2012 - 06:30 PM

ah dude you da man worked like a charm

In Topic: Xcode 4 with SDL

10 August 2012 - 03:23 AM

Thanks for the reply, you mentioned installing SDL runtime libraries, on Lion the SDL install and template don't work. I redownloaded the runtime but all I have are header files and one resource .nib file.

Here are my steps so you can see exactly what I did

Manually copy the entire SDL.framework folder from the SDL.dmg download to the /Developer/Library/Frameworks folder.
Created an Xcode koko project removed the current .h and .m files
Included the SDL.Framework in the projects frameworks
Under project Build settings pointed the HeaderSearchPath Bebug and Release to the /Developer/Library/Frameworks/SDL.Framework/headers
Included the SDLMain.h and SDLMain.m files from the devlite folder from the download into the project

Project now successfully compiles but is missing the runtime libs

Copied the SDLmain.nib from SDL.Frameworks/Resources into the project folder Documents/Xcode/Test/Test

Made no difference, maybe this is the wrong place for this?

As I said all of this was guess work from windows knowledge so it is probably something something dead simple

thanks again

In Topic: Opengl Texture lightingissue

07 July 2012 - 01:59 PM

thanks for the info dude, I actually have found the problem. It was the fact that I was setting my ambient lighting to perfect white so in fact my other lighting sources were working fine it just wasn't showing through because the ambient lighting was over power it

if you wouldn't mind can you point me in the direction of some new "up to date" lighting references/tutorials :)

In Topic: Doubt regarding SDL programming

22 February 2012 - 03:49 PM

Lazyfoo does indeed has them all

Camera - http://lazyfoo.net/SDL_tutorials/lesson21/index.php
pixel manipulation - http://lazyfoo.net/SDL_tutorials/lesson31/index.php ( to achieve the effect your looking for you will need to use SDL_GetPixel to get the colours to achive your negative effect )
motion - http://lazyfoo.net/SDL_tutorials/lesson16/index.php
collision detection - http://lazyfoo.net/SDL_tutorials/lesson17/index.php