I'm trying to capture the screen with createScreenShot ,
On the simulator I get incorrect color of the texture and in the device I don't get anything.
please help,
any idea how to patch it ?
thanks
Search found 7 matches
- Thu Jul 03, 2014 11:17 am
- Forum: Bug reports
- Topic: createScreenShot not working on IOS ogl-es branch
- Replies: 1
- Views: 1680
- Mon Feb 17, 2014 4:36 pm
- Forum: Beginners Help
- Topic: Using texture as background image , IOS env
- Replies: 6
- Views: 744
Re: Using texture as background image , IOS env
I Found a solution, in displayInitialize of CIrrDeviceiOS I added
view.layer.opaque = NO;
and in COGLES1Driver::beginScene
I use backbuffer flag as follow :
if (backBuffer)
{
const f32 inv = 1.0f / 255.0f;
glClearColor(color.getRed() * inv, color.getGreen() * inv,
color.getBlue() * inv, color ...
view.layer.opaque = NO;
and in COGLES1Driver::beginScene
I use backbuffer flag as follow :
if (backBuffer)
{
const f32 inv = 1.0f / 255.0f;
glClearColor(color.getRed() * inv, color.getGreen() * inv,
color.getBlue() * inv, color ...
- Fri Feb 14, 2014 12:14 pm
- Forum: Beginners Help
- Topic: Using texture as background image , IOS env
- Replies: 6
- Views: 744
Re: Using texture as background image , IOS env
Thanks, I'll try to crop and scale the texture.
Maybe I can change irrlicht code not to clear the background image of the view.
Maybe I can change irrlicht code not to clear the background image of the view.
- Wed Feb 12, 2014 7:29 am
- Forum: Beginners Help
- Topic: Using texture as background image , IOS env
- Replies: 6
- Views: 744
Re: Using texture as background image , IOS env
Thanks for your quick answer,
I tried this code on the Hello world sample but still I don't see the texture.
can you send mea sample code that works for you?
Thanks
I tried this code on the Hello world sample but still I don't see the texture.
can you send mea sample code that works for you?
Thanks
- Tue Feb 11, 2014 3:49 pm
- Forum: Bug reports
- Topic: OPENGL ES version fails to compile for iOS
- Replies: 5
- Views: 2305
Re: OPENGL ES version fails to compile for iOS
I'm trying to create a Ticket but I keep getting a message "You are already logged-in to a SourceForge account."
any idea?
can I email it yo you?
any idea?
can I email it yo you?
- Tue Feb 11, 2014 11:47 am
- Forum: Bug reports
- Topic: OPENGL ES version fails to compile for iOS
- Replies: 5
- Views: 2305
Re: OPENGL ES version fails to compile for iOS
'm new member and I have some bug fix and updates that I want to share in the ogl-es branch.
Do you want me to send you the files that I modified?
Also, I have problems that I couldn't solve,
I check the code of COGLES2FixedPipelineRenderer, but could not find the problem.
If I use EDT_OGLES1 ...
Do you want me to send you the files that I modified?
Also, I have problems that I couldn't solve,
I check the code of COGLES2FixedPipelineRenderer, but could not find the problem.
If I use EDT_OGLES1 ...
- Tue Feb 11, 2014 11:39 am
- Forum: Beginners Help
- Topic: Using texture as background image , IOS env
- Replies: 6
- Views: 744
Using texture as background image , IOS env
I am developing IOS application that use the camera picture.
I want to use it as a background image, what is the best way to do it?
All my attempt to load it as not PO2 with addTexture failed.
this code that did work was by converting to PO2:
core::stringc filename(cfilename); //fname is the file ...
I want to use it as a background image, what is the best way to do it?
All my attempt to load it as not PO2 with addTexture failed.
this code that did work was by converting to PO2:
core::stringc filename(cfilename); //fname is the file ...