ITeye博客

liuqzan的博客

liuqzan · 共 153 篇文章

launch images in landscape mode not showed on iphone 4s/5/5s in iOS 8

launch images in landscape mode not showed on iphone 4s/5/5s in iOS 8 Solved it by going the old proven way: Provide all the above assets for apps in landscape only Dont use AssetCatalog http://stackoverflow.com/questions/27087553/assetcatalog-launchimage-landscape-only-iphone-4s-5-5s-not-shown

2015-01-19 01:19 · iOS · 评论(0)

xcode automatic covert launch images from png to tiff

-> build settings -> COMBINE_HIDPI_IMAGES to NO this is the only solution that works and no other change is necessary http://stackoverflow.com/questions/12244494/image-resources-for-ios

2015-01-19 01:15 · iOS · 评论(0)

Xcode archive succeeded but not show in organizer

Xcode archive succeeded but not show in organizer, enter the xcode archive folder, it is a empty file. find the solution on stackoverflow.com http://stackoverflow.com/questions/6716756/why-does-xcode-archive-succeed-but-create-an-empty-xcarchive-file I have the solution to my problem and if anyone …

2014-08-01 15:51 · 评论(0)

iPhone Store Kit “Cannot connect to iTunes Store”

When develop the IAP feature follow with the Apple IAP guide , I get a failed case: (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions case SKPaymentTransactionStateFailed with this error: error Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" U…

2014-07-10 12:12 · iOS · game · 评论(0)

Color management in ios devices with photoshop

http://bjango.com/articles/photoshop/

2014-01-15 18:17 · iOS · 评论(0)

Color management in ios devices with photoshop

http://bjango.com/articles/photoshop/

2014-01-15 18:16 · iOS · 评论(0)

bullet tips

when use bullet as the physics engine, I had got these problem: about Restitution P : when the rigid body use simple collision shape such as box, cylinder as their collision shape and moving on a static rigid body, the gravity will make the rigid object move down into the static rigid body's surfac…

2014-01-09 10:05 · physics · 评论(0)

Gamma Correction/Color on iPhone

Linearity and Gamma http://www.arcsynthesis.org/gltut/Illumination/Tut12%20Monitors%20and%20Gamma.html Color on iPhone http://www.colorwiki.com/wiki/Color_on_iPhone

2013-12-19 17:07 · OPENGL · iOS · game · GLSL · 评论(0)

BRDF Explained

http://www-modis.bu.edu/brdf/brdfexpl.html

2013-12-17 12:22 · 3d · 评论(0)

Normal Matrix

Normal Matrix Normals are funny. They're vec3's, since you don't want perspective on normals. And they don't actually scale quite right--a 45 degree surface with a 45 degree normal, scaled by glScalef(1,0.1,1), drops the surface down to near 0 degrees, but actually tilts the normal *up*, in the opp…

2013-12-15 22:45 · 3d mathematics · OPENGL · GLSL · 评论(0)

good place to learn glsl

http://www.ozone3d.net

2013-12-15 19:01 · OPENGL · GLSL · 评论(0)

Ogre xcode build error: Reference to 'FileInfo' is ambiguous

When update Ogre source to the stable version 1.9 with Mac osx 10.7,Xcode 4.6.3, CMake 2.8.10.2, I get this error Reference to 'FileInfo' is ambiguous /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/…

2013-12-07 15:59 · C/C++ · game · Ogre · 评论(1)

Bullet Gof6DConstrants axis limit

when we are using btGeneric6DofSpringConstraint for physic constraints, be careful about those methods: setAngularUpperLimit setAngularLowerLimit setLinearLowerLimit setLinearUpperLimit, the axis will be not limited if the degree value of its minLimit > its maxLimit . setLimit(aix,minLimit,maxLimit)

2013-10-26 14:46 · game · 评论(0)

Recast Settings Uncovered

Recast Settings Uncovered Some folks have been wondering what is the meaning behind some of the Recast generation settings. Here's a quick primer how to derive the correct values. First you should decide the size of your character "capsule". For example if you are using meters as units in your game…

2013-06-19 11:45 · game · 评论(0)

recastnavigation study

a good place to find the design detail for recastnavigation http://www.critterai.org/book/export/html/2 a place to study game ai http://aigamedev.com

2013-06-10 13:54 · game · 评论(0)