Login Action Required

The NinevehGL Forum uses a new concept of "socialized forum" or as we like to say "Tweet Forum".


Here is the deal:
  1. No new registration is required. Just sign in with your Twitter account and authorize the NinevehGL Forum.
  2. Once you’re in, you'll be able to "Follow a Thread", that means every time that thread receive a new post or update you'll receive a mention on your twitter.
  3. Besides, you can enable "Auto Share", then every new post and/or thread you make will be tweeted on your timeline. (By default, auto-share is enabled only for your threads)

Forum Rules:

1. We understand human comunication can become "hot" sometimes. So some insults and bad words ARE allowed. Just don't push too much being an asshole all the time.

2. SPAMMERS are not allowed. There are penalties for this kind of user and they can be banned forever.

3. You can report other users, if you judge necessary. An user reported many times by many people can also be banned forever. However you can also receive penalties for report deliberately for no apparent reason.

If there is a similar thread title, make sure the other one doesn't already have the answer you're looking for.

This forum uses the BBCode (Bulletin Board Code), here are some instructions:

Bold: [b]text[/b]
Italic: [i]text[/i]
Underline: [u]text[/u]

Code: [code]text[/code]
Quote:
[quote=@username]text[/quote]
[quote]text[/quote]

List:
[ul] [*]item [/ul]
[ol] [*]item [/ol]

URL:
[url]http://url.com[/url]
[url=http://url.com]text[/url]

Image:
[img]http://imageurl.com[/img]

Embed (videos, code, 3D):
[embed]http://url.com[/embed]

Welcome to the NinevehGL's world!
NinevehGL is a 3D engine forged with pure Obj-C.
Welcome to the
Forum!
Hello, Guest.

Your current vote:

You can change your vote many times. But it's still one single vote.

iOS 6 Bug And Fix: NGLView DrawToImage
Vote this thread:


@adameisfeld

Posts: 41

NGLUser

Thu, Sep 27 2012


This isn't necessarily a bug with NinevehGL, but ever since iOS 6, people using OpenGL ES in general have been having issues grabbing screenshots of their GL Views. I too ran into this problem after updating to iOS 6, as I was surprised to find my screenshot functionality kept returning pure black images (actually, the colour of the image is always the background colour you have set for your NinevehGL View).

After doing some searching around, I found the solution. Include this code once in your program (probably best in ApplicationDidFinishLaunching or your ViewDidLoad method of the view controller containing your NGLView):


CAEAGLLayer *eaglLayer = (CAEAGLLayer *)nglView.layer;
eaglLayer.opaque = YES;

eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil];


This should fix everything, as it did for me.

Also, to diney, I know you have been working very hard on the new NinevehGL, but I am wondering if there is any way to get a copy of the last released or stable build of NinevehGL compiled for iOS 6, as currently once you update to iOS 6 you must go into your Build Settings tab in xCode and set "Build Active Architecture Only" to Yes in order for Nineveh to be included in your project. If this is not possible at this time then no worries, but I thought I would point it out and make the request.

- Adam Eisfeld
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Fri, Sep 28 2012


In response to: @adameisfeld

Yes,

Here is what you're looking for:
https://twitter.com/ninevehgl/status/248363495903604737
0% like this - 0/0

@adameisfeld

Posts: 41

NGLUser

Fri, Sep 28 2012


In response to: @dineybomfim

Thanks diney.
0% like this - 0/0

@ScaranoLuciano

Posts: 3

NGLNewbie

Sat, Oct 20 2012



(sorry form my english i'm italian)
I have the same problem. On simulator the app runs, but when I try to install it on iPad it fails with this message:

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Library/Developer/Xcode/Templates/Project Templates/NinevehGL/NinevehGL Base.xctemplate/Frameworks/NinevehGL.framework/NinevehGL for architecture armv7s


clang: error: linker command failed with exit code 1 (use -v to see invocation)


I've upgraded with the armv7 version for IO6.


Thank you



100% like this - 2/2

@Superguigui

Posts: 1

NGLNewbie

Mon, Oct 22 2012


@ScaranoLuciano said:



(sorry form my english i'm italian)
I have the same problem. On simulator the app runs, but when I try to install it on iPad it fails with this message:

ld: file is universal(3 slices) but does not contain a(n) armv7s slice:/Library/Developer/Xcode/Templates/Project Templates/NinevehGL/NinevehGL Base.xctemplate/Frameworks/NinevehGL.framework/NinevehGL for architecture armv7s


clang: error: linker command failed with exit code 1(use-v to see invocation)


I've upgraded with the armv7 version for IO6.


Thank you






I have exactly the same problem when compiling to an ios6 iphone 4s
0% like this - 0/0

@FabrizioRadica

Posts: 3

NGLNewbie

Fri, Dec 14 2012


In response to: @ScaranoLuciano

Same error here...


Ciao Luciano sono italiano anch'io
0% like this - 0/0

@FabrizioRadica

Posts: 3

NGLNewbie

Fri, Dec 14 2012


In response to: @FabrizioRadica

0% like this - 0/0

@FabrizioRadica

Posts: 3

NGLNewbie

Fri, Dec 14 2012


In response to: @FabrizioRadica

How to fix:
Download new build here: https://twitter.com/ninevehgl/status/248363495903604737

after, put headers and build in to:
/Library/Developer/Xcode/Templates/Project Templates/NinevehGL/NinevehGL Base.xctemplate/Frameworks/NinevehGL.framework/

(delete older headers and NinevehGL)

back to xcode, Clean and rebuild


100% like this - 1/1

@layik

Posts: 1

NGLNewbie

Sun, Jan 13 2013


In response to: @FabrizioRadica

After replacing the framework AND with the twitter link one I get this:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NGLCamera adjustToScreenAnimated:]: unrecognized selector sent to instance 0x1d09ac00'

After realizing a little alert of the adjustToScreenAnimated: and the other method which existed in the previous build also had the same not exist alert. I removed it and I can build fine.

BUT,

I have my models, this is where I am very newbie to GL, SEEMS to have the light off!

I will add screen shots if one cares to answer.

Regards.

0% like this - 0/0
Technology

NinevehGL is a 3D engine built right on top of OpenGL ES and it uses all the programmable pipeline power, making it easy for you to create great application with shaders.

Share on


Follow NinevehGL
Fastest way to contact us:

Copyright © 2011 db-in. All rights reserved.