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.

Transparency?
Vote this thread:


@cschep

Posts: 1

NGLNewbie

Sat, May 26 2012


Hello Everyone,

Been doing some work with Nineveh and let me just first say that it's super awesome and has saved me a ton of tome on some client work! Awesome.

I was just curious. I have a model provided by the client in the blender format. I saved it as a .obj and imported it using Nineveh and I can pan around it and stuff and it works! Great. Doing this by hand in GLKit was a huge pain!

The "scene" uses transparency in such a way so that there are models adding depth over a painting, but so you can still see the "painting" which is textured on the a plane behind a 3D piece..

I finally figured out that you need to use RGBA to see the transparency in action.. but it seems like it's not necessarily making whatever is "behind" it come through.. it's just kinda disappearing into the background color.. even if there is something "behind" it.

I hope this makes sense.. I might be able to find a screenshot to post to make it more clear, but I'm trying to keep my client's art confidential. Maybe i'll try to recreate it using other objects.

I'm mostly just posting to start a conversation about what I might try and the correct language to use to even discuss it. Does any of this make sense? I'm pretty new to OpenGL, but not iOS. NGL has really made diving in fun!

Thanks!
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Sun, May 27 2012


In response to: @cschep

Hello dude,

You're probably facing two behaviors of NinevehGL, the transparency and the camera clipping:


  • Transparency: Maybe you already figured out how to do it, bu just make sure you have this scenario clear in your mind - (http://nineveh.gl/community/faq/)
  • As you know, any 3D camera has a Field of View (FOV). This is a way to simulate the human's eye behavior, any object outside this FOV (or part of them) will not be rendered, clipped out. So the default "Far Plane" (property of the Camera's FOV) is 500.0 by default. If your object is being clipped far far away, just increase this value (farPlane property on NGLCamera)


Hope this helps,

Best!
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.