Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:10:03+00:00 2026-06-17T10:10:03+00:00

I try to launch a 3D object in my app with min3d, but it

  • 0

I try to launch a 3D object in my app with min3d, but it crashes. I have followed this tuto : http://www.mat-d.com/site/using-min3d-for-android-frequently-asked-questions-common-texture-issues-blender-import/

Here’s the code :

package com.g171.zaloeil;

import min3d.core.Object3dContainer;
import min3d.core.RendererActivity;
import min3d.parser.IParser;
import min3d.parser.Parser;
import min3d.vos.Light;

public class Vue3D extends RendererActivity {

private Object3dContainer faceObject3D;

/** Called when the activity is first created. */
@Override
   public void initScene()
   {
    scene.lights().add(new Light());
    scene.lights().add(new Light());

    Light myLight = new Light();
    myLight.position.setZ(150);
    scene.lights().add(myLight);

    IParser myParser = Parser.createParser(Parser.Type.OBJ, getResources(), "com.g171.zaloeil:raw/cle1_obj",true);
    myParser.parse();

    faceObject3D = myParser.getParsedObject();
    faceObject3D.position().x = faceObject3D.position().y = faceObject3D.position().z = 0;
    faceObject3D.scale().x = faceObject3D.scale().y = faceObject3D.scale().z = 0.009f;
// Depending on the model you will need to change the scale
    faceObject3D.scale().x = faceObject3D.scale().y = faceObject3D.scale().z = 0.009f;

    scene.addChild(faceObject3D);

   }

@Override
public void updateScene() {
    faceObject3D.rotation().x += 0.5;
    faceObject3D.rotation().z += 1;
}
}

And here’s the logcat :

01-13 14:57:35.904: D/dalvikvm(12402): Late-enabling CheckJNI
01-13 14:57:36.044: D/dalvikvm(12402): GC_FOR_ALLOC freed 77K, 3% free 7491K/7720K, paused 22ms, total 22ms
01-13 14:57:36.054: I/dalvikvm-heap(12402): Grow heap (frag case) to 10.458MB for 3145744-byte allocation
01-13 14:57:36.094: D/dalvikvm(12402): GC_FOR_ALLOC freed 1K, 3% free 10562K/10796K, paused 37ms, total 37ms
01-13 14:57:36.134: D/dalvikvm(12402): GC_CONCURRENT freed <1K, 3% free 10562K/10796K, paused 9ms+2ms, total 45ms
01-13 14:57:36.194: D/dalvikvm(12402): GC_FOR_ALLOC freed <1K, 3% free 10562K/10796K, paused 23ms, total 23ms
01-13 14:57:36.244: I/dalvikvm-heap(12402): Grow heap (frag case) to 15.771MB for 5571960-byte allocation
01-13 14:57:36.284: D/dalvikvm(12402): GC_FOR_ALLOC freed 0K, 2% free 16003K/16240K, paused 33ms, total 33ms
01-13 14:57:36.324: D/dalvikvm(12402): GC_CONCURRENT freed <1K, 2% free 16004K/16240K, paused 12ms+5ms, total 46ms
01-13 14:57:36.464: D/libEGL(12402): loaded /system/lib/egl/libEGL_tegra.so
01-13 14:57:36.474: D/libEGL(12402): loaded /system/lib/egl/libGLESv1_CM_tegra.so
01-13 14:57:36.484: D/libEGL(12402): loaded /system/lib/egl/libGLESv2_tegra.so
01-13 14:57:36.504: D/OpenGLRenderer(12402): Enabling debug mode 0
01-13 14:57:39.184: I/Min3D(12402): ManagedLightList.reset()
01-13 14:57:39.234: I/Min3D(12402): Renderer.onSurfaceCreated()
01-13 14:57:39.234: V/Min3D(12402): RenderCaps - openGLVersion: 1.1
01-13 14:57:39.234: V/Min3D(12402): RenderCaps - maxTextureUnits: 2
01-13 14:57:39.234: V/Min3D(12402): RenderCaps - maxTextureSize: 2048
01-13 14:57:39.234: V/Min3D(12402): RenderCaps - maxLights: 8
01-13 14:57:39.234: I/Min3D(12402): Scene.init()
01-13 14:57:39.234: I/Min3D(12402): ManagedLightList.reset()
01-13 14:57:39.244: D/Min3D(12402): Start parsing object com.g171.zaloeil:raw/cle1_obj
01-13 14:57:39.244: D/Min3D(12402): Start time 1358085459252
01-13 14:57:39.254: W/ResourceType(12402): No package identifier when getting value for resource number 0x00000000
01-13 14:57:39.254: W/dalvikvm(12402): threadid=12: thread exiting with uncaught exception (group=0x40b99930)
01-13 14:57:39.264: E/AndroidRuntime(12402): FATAL EXCEPTION: GLThread 493
01-13 14:57:39.264: E/AndroidRuntime(12402): android.content.res.Resources$NotFoundException: Resource ID #0x0
01-13 14:57:39.264: E/AndroidRuntime(12402):    at android.content.res.Resources.getValue(Resources.java:1014)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at android.content.res.Resources.openRawResource(Resources.java:939)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at android.content.res.Resources.openRawResource(Resources.java:921)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at min3d.parser.ObjParser.readMaterialLib(ObjParser.java:175)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at min3d.parser.ObjParser.parse(ObjParser.java:107)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at com.g171.zaloeil.Vue3D.initScene(Vue3D.java:25)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at min3d.core.Scene.init(Scene.java:254)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at min3d.core.Renderer.onSurfaceCreated(Renderer.java:75)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1494)
01-13 14:57:39.264: E/AndroidRuntime(12402):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Does anybody know what could be missing ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:10:04+00:00Added an answer on June 17, 2026 at 10:10 am

    Resource not found exception.

    You’re referencing a resource that you haven’t added to your package:

    android.content.res.Resources$NotFoundException: Resource ID #0x0
    

    Specifically this:

    01-13 14:57:39.264: E/AndroidRuntime(12402):    at com.g171.zaloeil.Vue3D.initScene(Vue3D.java:25)
    

    Vue3D.java:25 is your problem (line 25). You’re referencing a resource (R.id.xxxx) that doesn’t exist in your project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have wanted to try GAE since launch, but coming from ASP .NET and
I have the following code to launch a file : try { path =
I have a standalone (3rd party) app that I'm trying to launch using a
I have this class: module App module Tools module Pollers class Kpi ... I
I try to launch the command prompt hidden when querying the wmic qfe list
When i try to launch my application from Xcode to the device, i get
When ever I try to launch my eclipse I am getting the following exception
When I try to run Azure sdk, it throws me an error Cannot launch
I've just get a new machine and try to checkout, build and launch my
Until yesterday everything was normal but today i try to lauch my application using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.