It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
this is a project of opengl es, you can run it on iphone sdk,
i want to know how to add an image as the background?
https://docs.google.com/open?id=0B8MGSbywP-HXY2YxYzk3YWItNzk3Zi00ZmNiLTk5NWYtOGY3NmU0OTRlYTM4
please give me source code.
By drawing the picture as the very first thing (in form of a textured quad). Disable depth testing and depth writes.
Update: Code for some project
Note: The actual code and structure strongly depends on the program in question!
// one possible structure
void draw(draw)
{
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
glDisable(GL_DEPTH_TEST);
glDepthMask(GL_FALSE);
draw_background();
glDepthMask(GL_TRUE);
draw_rest_of_scene();
}
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am new in iPhone development, I am developing an app in which I have to use accelerometer for painting on screen . Please help me out is this can be done-able if so help me.
You are looking for the gyro mouse, 3 lines of code. Watch this video, the gyro mouse is presented at 37:00-38:25.
So long story short, you need the gyroscopes (CMRotationRate).
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In my app, I want to apply different video filters like: Fade in -Out,Snow fall,Rainbow,Fast Motion,Slow Motion,etc.
I study the Brad Larson project but it does not full fill my all filter requirement.
so, Help me!!
If you need custom filters you can always write them and add to GPUImage project. Just grab some easy filter like GPUImageRGBFilter or GPUImageLineGenerator and experiment.
You can also modify OpenGL calls directly to inject your custom effects in front of a movie. Take a look at CubeExample.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Hi i'm developing an iPhone app with cocos2D framework for image rendering .
How we can split the image into layer for example consider an house image here i want to spilt the roof of the house ,door,wall etc and i want to change there respective colors or images can any one help me in this.! I needed some example code also for it .
Please help me
Use different layer for different depth of rendering.
You can read more about Cocos2D programming here: Click Here
Get Cocos2D SDK and run some sample test applications. DOWNLOAD SDK HERE
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i m new to iphone/ipad application development, can we import 3d image in my iphone/ipad
app. or there any other controls available to display 3d image. i also want to give actions
to image on particular sections. can any one help me.
Thanks...
The answer is yes. Check out OpenGL samples for iOS. Just google and you will find many.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is it possible to create app like iBooks?
I want to create app like iBooks. I want to know how i can curl the page of pdf.
Please share your ideas to create this app.
Thanks
Check out this library, might be a good starting point:
You probably want to do something like render the page as a texture to a 3d surface that is initially flat, which you could then deform and animate to provide the curling animation.