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 models cannot show after transparent the background
Vote this thread:


@idmwy

Posts: 1

NGLNewbie

Wed, Apr 3 2013



I've download the project from the following website

http://www.icodeblog.com/2012/09/07/3856/

The project is using your frame work. I only changed the 3D model file using the same source code.

// Setup some initial environment states to be applied to our mesh.
NSDictionary *settings = [NSDictionary dictionaryWithObjectsAndKeys:
kNGLMeshCentralizeYes, kNGLMeshKeyCentralize,
@"0.3", kNGLMeshKeyNormalize, nil];

// Initialize the mesh which includes the model file to import (.obj or .dae).

_mesh = [[NGLMesh alloc] initWithFile:@"mouth_daetest2010_6mo.DAE" settings:settings delegate:nil];

// Initialize the camera used to render the scene.
_camera = [[NGLCamera alloc] initWithMeshes:_mesh, nil];

The model I use cannot show after remove the comment for the transparent background. The model disappears.

//If a transparent background of the NGLView is needed
theView.backgroundColor = [UIColor clearColor];
nglGlobalColorFormat(NGLColorFormatRGBA);
nglGlobalFlush();




I tried many different .obj models and .ace models. Under no-transparent background, some of them do show on the screen and some of them do not show on the screen. Under transparent background, none of mime show on the screen.

Is something wrong with my model? I created the models using 3dMax and openCOLLADA to export the model. I tried your red dragon model. It works. But mime doesn't works. Could you tell me the reason?

Thanks a lot.
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Wed, Apr 3 2013


In response to: @idmwy

Hello buddy,

In this case just a investigation could show where is the problem. Send us your Xcode project via email and we'll check it:
ngl@nineveh.gl
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.