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.

3D object sometimes suffer flickering
Vote this thread:


@LeonardoBenini1

Posts: 6

NGLNewbie

Wed, May 22 2013


Hi all,
I'm developing an iPad app using this fantastic 3D framework.

My 3D view is showing a 3D object, and the user can rotate an zooming with gestures.

All is working, but I see a flickering effect sometimes, when I move the object.

The operation made in code are in the drawView:
1) rotation of the object:

_mesh.rotateY = rotateX;
_mesh.rotateX = rotateY;

2) translation of the camera:

[_camera translateRelativeToX:0 toY:0 toZ:zoom];


3) [_camera drawCamera];


Some stuff methods are used with gesture recognition, for changing the parameters of zoom and rotation.


Global settings are:

nglGlobalColor((NGLvec4){255.0f/255.0f, 255.0f/255.0f, 255.0f/255.0f, 1.0f}); // white background
nglGlobalColorFormat(NGLColorFormatRGBA); // for transparency
nglGlobalLightEffects(NGLLightEffectsOFF); // no light effects
nglGlobalAntialias(NGLAntialias4X); // antialias ON
nglGlobalMultithreading(NGLMultithreadingFull);
nglGlobalTextureQuality(NGLTextureQualityNearest);

nglGlobalFlush();


Have you some advices? Thank you
Leonardo

0% like this - 0/0

@LeonardoBenini1

Posts: 6

NGLNewbie

Wed, May 22 2013


UPDATE:

I notice that if I disable multithreading with

nglGlobalMultithreading(NGLMultithreadingNone);

the flickering effect disappear.

is mutithreading allowing to draw empty screen?
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Wed, May 22 2013


In response to: @LeonardoBenini1

Hi,

Hard to say what is going on with your tests. Where you see the flick? Simulator or device?
First time someone see such thing in years. I advice you to send us your project via email for investigation.
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.