Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreImage drawImage messing with my clean lines



Another option might be to render your opengl stuff into a separate CIImage ( or some other buffer ) and then composite the two at the end. I don't have any CI experience, but I've done a fair amount of separate rendering into FBOs and compositing them at the end -- the performance is quite good.


email@hidden lorem ipsum dolor sit amet,


On May 30, 2007, at 1:31 PM, Robert Chin wrote:

On May 27, 2007, at 12:40 PM, Jonathan Johnson wrote:
The things I was expecting to cause this behavior haven't changed -- the projection, transpose, and modelview matrixes. They are identical with or without the drawImage call. So, the textures are the only known differences I can see. What's odd though is that GL_TEXTURE_1D, 2D, etc. are all disabled, which would make me believe that these settings wouldn't affect my line drawing.

Does anyone have any ideas on how these differences might be affecting my line drawing, or any ideas on where else to look to see what might be going on?

Have you tried glPushAttrib(GL_ALL_ATTRIB_BITS) and then a corresponding glPopAttrib()? You can also try pushing and popping the coregraphics state -- I'm not sure how this relates or directly affects OpenGL state. This will at least save and restore the gl state, maybe helping you to figure out what is going on. I would have assumed that maybe the problem was with GL_LINE_SMOOTH, but if you say that the state has not changed, then that is probably not the case. Do you have supersampling enabled on your context? The other thing you could do is to simply draw your image using OpenGL calls themselves.


Hopefully this helps.

Robert
--
Robert Chin
Apple Inc.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/shamyl% 40zakariya.net


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >CoreImage drawImage messing with my clean lines (From: Jonathan Johnson <email@hidden>)
 >Re: CoreImage drawImage messing with my clean lines (From: Robert Chin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.