Log in or register to post comments

Replace Teapot with custom 3d-Model

January 24, 2013 - 3:41am #1

After using Vuforia (and, of course, QCAR) from beginning I looked for a easy way to replace the teapot (and also avoid using "Opengl2h.pl").

Some SDK's, Render-Engines (including, but not only, Ninevgl, OpenFrameWorks) I decided to mka my own.

While Vurforias license resticts publiching QualComms Sample-Code (also modifiied) I put my code with a long description on GitHub.

This time are a few limitations (the biggest one is: ONLY IOS)  but it works ! 

You can try (and use) it:

 

https://github.com/DrNeuroSurg/AiAugmentedReality

 

Replace Teapot with custom 3d-Model

May 15, 2017 - 1:19am #45

will you please tell me how i can change teapot to my own model (android)

Replace Teapot with custom 3d-Model

May 15, 2017 - 1:17am #44

Please tell me how i can replace teapot to my model 

Replace Teapot with custom 3d-Model

January 3, 2016 - 2:48am #43
Hey can you explain how to integrate vuforia with OF-android.

Replace Teapot with custom 3d-Model

October 26, 2015 - 12:05pm #42

how to change the teapot to fish 3D

Replace Teapot with custom 3d-Model

July 21, 2015 - 1:07am #41

Hello, You said ur code works... i dont find the link.. Please share the link again

Replace Teapot with custom 3d-Model

May 30, 2015 - 1:01am #40

Hi !

I saw your previous questions and found you were in trouble with rendering cube.

Later you found what is the problem. Can you share with me how you got sort out that, beause me too have the same issue..

thanks in Advance

Replace Teapot with custom 3d-Model

May 18, 2015 - 10:49pm #39

HI Anita,

Please guide me , how to replace teapot to custom 3D Models...

I having house.3DS  model. I couldn't find any options to add the 3D Model in code. Please help me.

Thanks,

ArunJack.

Replace Teapot with custom 3d-Model

January 25, 2015 - 2:49pm #38

thank u very much for your  kind help

i have got my desired output :-)

 

Replace Teapot with custom 3d-Model

January 25, 2015 - 11:18am #37

where did i go wrong

->i am using blender as a tool for 3d models

->export .obj file from there (check triangualr faces, write normals and include UV in options field )

->extract all vertex, texture coordinate, normal and indices values but the image could not seems to be the same

->i am stuck in it 

->i have tried with the blender default cube 3 model but no satisfactory result.

Replace Teapot with custom 3d-Model

January 25, 2015 - 11:14am #36

i have changed the model with a cube 

texture with differnet colour 

 private Buffer mVertBuff;
    private Buffer mTexCoordBuff;
    private Buffer mNormBuff;
    private Buffer mIndBuff;
    
    private int indicesNumber = 0;
    private int verticesNumber = 0;
    public cube()
    {
        setVerts();
        setTexCoords();
        setNorms();
        setIndices();
    }
    private void setVerts()
    {
        double[] cube_VERTS = {
        1.000000,-1.000000,-1.000000,
        1.000000,-1.000000,1.000000,
        -1.000000,-1.000000,1.000000,
        -1.000000,-1.000000,-1.000000,
        1.000000,1.000000,-0.999999,
        0.999999,1.000000,1.000001,
        -1.000000,1.000000,1.000000,
        -1.000000,1.000000,-1.000000,
        };
        mVertBuff = fillBuffer(cube_VERTS);
        verticesNumber = cube_VERTS.length / 3;
    }
    private void setTexCoords()
    {
        double[] cube_TEX_COORDS = {
        0.624375,0.500624,
        0.624375,0.749375,
        0.375625,0.749375,
        0.375624,0.003126,
        0.624373,0.003126,
        0.624374,0.251874,
        0.375624,0.500625,
        0.375625,0.251875,
        0.873126,0.749375,
        0.873126,0.998126,
        0.624375,0.998126,
        0.375625,0.998126,
        0.126874,0.749375,
        0.126874,0.998126,
};
        mTexCoordBuff = fillBuffer(cube_TEX_COORDS);   
    }
    private void setNorms()
    {
        double[] cube_NORMS = { 
        0.000000,-1.000000,0.000000,
        0.000000,1.000000,0.000000,
        1.000000,-0.000000,0.000000,
        -0.000000,-0.000000,1.000000,
        -1.000000,-0.000000,-0.000000,
        0.000000,0.000000,-1.000000,
        };
        mNormBuff = fillBuffer(cube_NORMS);
    }
    private void setIndices()
    {
        short[] cube_INDICES = { 
        1,0,0,2,1,0,3,2,0,
7,3,1,6,4,1,5,5,1,
0,6,2,4,7,2,5,5,2,
1,8,3,5,9,3,6,10,3,
6,10,4,7,11,4,3,2,4,
0,12,5,3,2,5,7,11,5,
0,6,0,1,0,0,3,2,0,
4,7,1,7,3,1,5,5,1,
1,0,2,0,6,2,5,5,2,
2,1,3,1,8,3,6,10,3,
2,1,4,6,10,4,3,2,4,
4,13,5,0,12,5,7,11,5,
        };
        mIndBuff = fillBuffer(cube_INDICES);
        indicesNumber = cube_INDICES.length;
    }
    public int getNumObjectIndex()
    {
        return indicesNumber;
    }
    @Override
    public int getNumObjectVertex()
    {
        return verticesNumber;
    }
 
i have attached cube.obj,textures ,rendered image of cube (in png as well)
 
any help would be appreciated...................

Replace Teapot with custom 3d-Model

January 23, 2015 - 2:05pm #35

Still no effect  :-(

code:

 private void setVerts()
    {
        double[] table_VERTS = {
-46,33,20.5,
-42,33,20.5,
-46,33,23.5,
-42,33,23.5,
-46,-7.15256e-007,20.5,
-42,-7.15256e-007,20.5,
-46,-7.15256e-007,23.5,
-42,-7.15256e-007,23.5,
42,33,20.5,
46,33,20.5,
42,33,23.5,
46,33,23.5,
42,-7.15256e-007,20.5,
46,-7.15256e-007,20.5,
42,-7.15256e-007,23.5,
46,-7.15256e-007,23.5,
42,33,-23.5,
46,33,-23.5,
42,33,-20.5,
46,33,-20.5,
42,-7.15256e-007,-23.5,
46,-7.15256e-007,-23.5,
42,-7.15256e-007,-20.5,
46,-7.15256e-007,-20.5,
-46,33,-23.5,
-42,33,-23.5,
-46,33,-20.5,
-42,33,-20.5,
-46,-7.15256e-007,-23.5,
-42,-7.15256e-007,-23.5,
-46,-7.15256e-007,-20.5,
-42,-7.15256e-007,-20.5,
-50,33,-28,
50,33,-28,
-50,33,28,
50,33,28,
-50,35.2,-28,
50,35.2,-28,
-50,35.2,28,
50,35.2,28,
-50,33,-28,
50,33,-28,
50,35.2,-28,
50,35.2,-28,
-50,35.2,-28,
-50,33,-28,
50,33,28,
50,35.2,-28,
50,33,28,
-50,33,28,
-50,35.2,28,
-50,35.2,28,
50,35.2,28,
50,33,28,
-50,33,28,
-50,35.2,-28,
-50,35.2,-28,
-50,33,28
        };
        mVertBuff = fillBuffer(table_VERTS);
        verticesNumber = table_VERTS.length / 3;
    }
    private void setTexCoords()
    {
        double[] table_TEX_COORDS = {
0,0,
1,0,
1,1,
0,1,
};
        mTexCoordBuff = fillBuffer(table_TEX_COORDS);   
    }
    private void setNorms()
    {
        double[] table_NORMS = { 
        0,-1,0,
0,0,-1,
1,0,0,
0,0,1,
-1,0,0,
0,1,0
        };
        mNormBuff = fillBuffer(table_NORMS);
    }
    private void setIndices()
    {
        short[] table_INDICES = { 
7,0,0,4,0,0,5,0,0,
4,0,0,7,0,0,6,0,0,
5,0,1,0,0,1,1,0,1,
0,0,1,5,0,1,4,0,1,
7,0,2,1,0,2,3,0,2,
1,0,2,7,0,2,5,0,2,
6,0,3,3,0,3,2,0,3,
3,0,5,6,0,3,7,0,3,
4,0,4,2,0,4,0,0,4,
2,0,4,4,0,4,6,0,4,
15,0,0,12,0,0,13,0,0,
12,0,0,15,0,0,14,0,0,
13,0,1,8,0,1,9,0,1,
9,0,1,13,0,1,12,0,1,
15,0,2,9,0,2,11,0,2,
9,0,2,15,0,2,13,0,2,
14,0,3,11,0,3,10,0,3,
11,0,3,14,0,3,15,0,3,
12,0,4,10,0,4,8,0,4,
10,0,4,12,0,4,14,0,4,
23,0,0,20,0,0,21,0,0,
20,0,0,23,0,0,22,0,0,
21,0,1,16,0,1,17,0,1,
16,0,1,21,0,1,20,0,1,
23,0,2,17,0,2,19,0,2,
17,0,2,23,0,2,21,0,2,
22,0,3,19,0,3,18,0,3,
19,0,3,22,0,3,23,0,3,
20,0,4,18,0,4,16,0,4,
18,0,4,20,0,4,22,0,4,
31,0,0,28,0,0,29,0,0,
29,0,0,31,0,0,30,0,0,
30,0,1,24,0,1,25,0,1,
24,0,1,29,0,1,2,0,1,
31,0,2,25,0,2,27,0,2,
25,0,2,31,0,2,29,0,2,
30,0,3,27,0,3,26,0,3,
27,0,3,30,0,3,31,0,3,
28,0,4,26,0,4,24,0,4,
26,0,4,28,0,4,30,0,4,
35,3,0,34,2,0,32,1,0,
32,1,0,33,0,0,35,3,0,
39,2,5,37,1,5,36,0,5,
36,0,5,38,3,5,39,2,5,
42,2,1,41,1,1,40,0,1,
45,0,1,42,3,1,43,2,1,
39,2,2,46,1,2,33,0,2,
33,0,2,47,3,2,39,2,2,
50,2,3,49,1,3,48,0,3,
53,0,3,52,3,3,51,2,3,
55,2,4,32,1,4,54,0,4,
57,0,4,38,3,4,56,2,4
        };
        mIndBuff = fillBuffer(table_INDICES);
        indicesNumber = table_INDICES.length;
    }
    public int getNumObjectIndex()
    {
        return indicesNumber;
    }
    @Override
    public int getNumObjectVertex()
    {
        return verticesNumber;
    }

Replace Teapot with custom 3d-Model

January 23, 2015 - 1:04pm #34

Hi. Obj indices are 1 based, while openGL are 0 based. You need to substract 1. You can see you have not a index with 0 value anywhere.

Replace Teapot with custom 3d-Model

January 23, 2015 - 12:22pm #33

Thanks forr your reply 

i have tried severals .obj files of differnent 3d model and import the vertex, texture coordinate, normal and indices values respectively and replace it with the teapot vertex, texture coordinate, normal and indices values but the image could not seems to be the same.

the attached .obj file is of the table with

58 verticies

4 texture verticies

6 normals

didn't know what is the possible solution of it any help would be appreciated ...

my code:

 private void setVerts()
    {
        double[] table_VERTS = {
-46,33,20.5,
-42,33,20.5,
-46,33,23.5,
-42,33,23.5,
-46,-7.15256e-007,20.5,
-42,-7.15256e-007,20.5,
-46,-7.15256e-007,23.5,
-42,-7.15256e-007,23.5,
42,33,20.5,
46,33,20.5,
42,33,23.5,
46,33,23.5,
42,-7.15256e-007,20.5,
46,-7.15256e-007,20.5,
42,-7.15256e-007,23.5,
46,-7.15256e-007,23.5,
42,33,-23.5,
46,33,-23.5,
42,33,-20.5,
46,33,-20.5,
42,-7.15256e-007,-23.5,
46,-7.15256e-007,-23.5,
42,-7.15256e-007,-20.5,
46,-7.15256e-007,-20.5,
-46,33,-23.5,
-42,33,-23.5,
-46,33,-20.5,
-42,33,-20.5,
-46,-7.15256e-007,-23.5,
-42,-7.15256e-007,-23.5,
-46,-7.15256e-007,-20.5,
-42,-7.15256e-007,-20.5,
-50,33,-28,
50,33,-28,
-50,33,28,
50,33,28,
-50,35.2,-28,
50,35.2,-28,
-50,35.2,28,
50,35.2,28,
-50,33,-28,
50,33,-28,
50,35.2,-28,
50,35.2,-28,
-50,35.2,-28,
-50,33,-28,
50,33,28,
50,35.2,-28,
50,33,28,
-50,33,28,
-50,35.2,28,
-50,35.2,28,
50,35.2,28,
50,33,28,
-50,33,28,
-50,35.2,-28,
-50,35.2,-28,
-50,33,28
        };
        mVertBuff = fillBuffer(table_VERTS);
        verticesNumber = table_VERTS.length / 3;
    }
    private void setTexCoords()
    {
        double[] table_TEX_COORDS = {
0,0,
1,0,
1,1,
0,1,
};
        mTexCoordBuff = fillBuffer(table_TEX_COORDS);   
    }
    private void setNorms()
    {
        double[] table_NORMS = { 
        0,-1,0,
0,0,-1,
1,0,0,
0,0,1,
-1,0,0,
0,1,0
        };
        mNormBuff = fillBuffer(table_NORMS);
    }
    private void setIndices()
    {
        short[] table_INDICES = { 
8,1,1,5,1,1,6,1,1,
5,1,1,8,1,1,7,1,1,
6,1,2,1,1,2,2,1,2,
1,1,2,6,1,2,5,1,2,
8,1,3,2,1,3,4,1,3,
2,1,3,8,1,3,6,1,3,
7,1,4,4,1,4,3,1,4,
4,1,4,7,1,4,8,1,4,
5,1,5,3,1,5,1,1,5,
3,1,5,5,1,5,7,1,5,
16,1,1,13,1,1,14,1,1,
13,1,1,16,1,1,15,1,1,
14,1,2,9,1,2,10,1,2,
9,1,2,14,1,2,13,1,2,
16,1,3,10,1,3,12,1,3,
10,1,3,16,1,3,14,1,3,
15,1,4,12,1,4,11,1,4,
12,1,4,15,1,4,16,1,4,
13,1,5,11,1,5,9,1,5,
11,1,5,13,1,5,15,1,5,
24,1,1,21,1,1,22,1,1,
21,1,1,24,1,1,23,1,1,
22,1,2,17,1,2,18,1,2,
17,1,2,22,1,2,21,1,2,
24,1,3,18,1,3,20,1,3,
18,1,3,24,1,3,22,1,3,
23,1,4,20,1,4,19,1,4,
20,1,4,23,1,4,24,1,4,
21,1,5,19,1,5,17,1,5,
19,1,5,21,1,5,23,1,5,
32,1,1,29,1,1,30,1,1,
29,1,1,32,1,1,31,1,1,
30,1,2,25,1,2,26,1,2,
25,1,2,30,1,2,29,1,2,
32,1,3,26,1,3,28,1,3,
26,1,3,32,1,3,30,1,3,
31,1,4,28,1,4,27,1,4,
28,1,4,31,1,4,32,1,4,
29,1,5,27,1,5,25,1,5,
27,1,5,29,1,5,31,1,5,
36,4,1,35,3,1,33,2,1,
33,2,1,34,1,1,36,4,1,
40,3,6,38,2,6,37,1,6,
37,1,6,39,4,6,40,3,6,
43,3,2,42,2,2,41,1,2,
46,1,2,45,4,2,44,3,2,
40,3,3,47,2,3,34,1,3,
34,1,3,48,4,3,40,3,3,
51,3,4,50,2,4,49,1,4,
54,1,4,53,4,4,52,3,4,
56,3,5,33,2,5,55,1,5,
58,1,5,39,4,5,57,3,5
        };
        mIndBuff = fillBuffer(table_INDICES);
        indicesNumber = table_INDICES.length;
    }
.i have also changed  all respected files accordingly
AttachmentSize
Plain text icon table.txt2.57 KB

Replace Teapot with custom 3d-Model

November 22, 2014 - 9:31am #32

After exporting the 3D model with the script you obtain all vertices info.

You can do a simple program to read those values looking for smallest and biggest x, y and z.

Replace Teapot with custom 3d-Model

November 11, 2014 - 11:07am #31

hello

i have read the  post i want to know how to  get the vertices of a sofa that you have used as a model 

in your project 

means is it possible to retrive  the dimensions of 3D image.

any one please guide

Thanks

Replace Teapot with custom 3d-Model

August 27, 2014 - 8:15pm #30

Do any of you know who I can bribe to create a custom model??? I would like to use something other than a tea pot on everything. Thanks for helping!

Replace Teapot with custom 3d-Model

August 1, 2014 - 9:58pm #29

I guess you have to triangulate your 3D model before you generate it to .h file because opengl only supports traingle not quads.
 

Can refer to:

https://developer.vuforia.com/resources/dev-guide/replacing-teapot

Replace Teapot with custom 3d-Model

June 27, 2014 - 12:42am #28

Hi Samclapton,

I tried integrating your SofaA.h model into the Image Targets native sample and it can be rendered just fine.

I just slightly modified the OpenGL code in ImageTargets.cpp by replacing the teapot vertices, normals and texture coordinates with the ones of the sofa for rendering the mesh:


glVertexAttribPointer(vertexHandle, 3, GL_FLOAT, GL_FALSE, 0,
			  (const GLvoid*) &SofaAVerts[0]);
glVertexAttribPointer(normalHandle, 3, GL_FLOAT, GL_FALSE, 0,
			  (const GLvoid*) &SofaANormals[0]);
glVertexAttribPointer(textureCoordHandle, 2, GL_FLOAT, GL_FALSE, 0,
			  (const GLvoid*) &SofaATexCoords[0]);

glEnableVertexAttribArray(vertexHandle);
glEnableVertexAttribArray(normalHandle);
glEnableVertexAttribArray(textureCoordHandle);

glDrawArrays(GL_TRIANGLES, 0, SofaANumVerts);

glDisableVertexAttribArray(vertexHandle);
glDisableVertexAttribArray(normalHandle);
glDisableVertexAttribArray(textureCoordHandle);

 

and, FYI, I also disabled GL_CULL_FACE (using glDisable ( GL_CULL_FACE ) before rendering the mesh, as otherwise you would see a mesh with holes... but this does not seem to be your issue).

In my experience, the only reason why you would see those artifacts is if you use an incorrect number of vertices (see the function glDrawArrays(), i.e. for example if the size of the vertex array was different from the SofaANumVerts). Also, make sure you are calling glDrawArrays() like in the snippet above, and NOT glDrawElements.

Another possibility is that there is some additional OpenGL code in your App (not specifically related to the rendering of the Sofa mesh) which is possibly incorrect and altering the state of OpenGL in your rendering pipeline and thus causing this issue.  To validate that, you could try integrating the Sofa mesh in the Image Targets native sample as I did (instead of using your own App) and see if in that case things look right.

Other than that, this should work just fine. See screenshot attached.

See also this tutorial:

https://developer.vuforia.com/resources/dev-guide/replacing-teapot

 

 

 

AttachmentSize
Image icon device-2014-06-27-094415.png832.15 KB

Replace Teapot with custom 3d-Model

June 25, 2014 - 10:52am #27

Hi Experts,

I am trying to replace the teapot w/ a Sofa (original data in obj format).

I used the perl script to generate .h file. The teapot is replaced by the Sofa but I am seeing many lines. It seems that the vertex were not correctly calculated?

I am attaching the object, the header file. Could you please give me some hints on what could be wrong.

Thank you!

AttachmentSize
Image icon IMG_0587.PNG1.04 MB
Package icon SofaA.zip214.72 KB
Package icon SofaA.h.zip.zip497.55 KB

Replace Teapot with custom 3d-Model

March 20, 2014 - 4:39am #26

I change the teapot.h file with my H file and my 3d model display successfully but there is distributed lines about it

Replace Teapot with custom 3d-Model

December 27, 2013 - 12:28am #25

Hi strange99,

Thanks for your work. But I can't load a new texture 

example:

    NSString* dataPath = [[NSBundle mainBundle] resourcePath] ; // WITHOUT TRAILING SLASH !!

    NSString * m1 = @"Apple.3ds";

    model1 = new REVuModel([dataPath UTF8String], [m1 UTF8String]) ;

    if(model1->isValid)

    {

        NSLog(@"Model %@ loaded !",m1);

        NSString *fileName = @"Apple.png";

        model1->SetTexture([dataPath UTF8String], [fileName UTF8String]);

        model1->TranslateTo(0, 0, 0);

        model1->ScaleUniformTo(0.4);

        model1->RotateTo(0, 0, 0);

        model1->Alpha(1.0);

        model1->SwitchLight(true);

 

    }

 

Help me.

Thanks

Replace Teapot with custom 3d-Model

August 1, 2013 - 8:14am #24

Not sure how to guide you here as this engine is nothing to do with Qualcomm.

Integrating 3rd party engines is a complex task and really you need to be an expert in the engine and OpenGL.

There is some help here on managing states:

https://developer.vuforia.com/resources/dev-guide/opengl-state-changes-video-background-renderer

..and in this thread from someone who managed to get it working

https://developer.vuforia.com/forum/rendering-opengl-es/using-vuforia-our-own-custom-render-engine

 

HTH

N

Replace Teapot with custom 3d-Model

July 31, 2013 - 10:52am #23

 

Hi,
 
Could you please guide me how to integrate assimp android library to vuforia for 3d model rendering.
We are integrated your REVu IOS Render Engine for Vuforia (QCAR) and works fine for static 3d model. 
 
 
Thanks in advance,
 
P.Uthaman

Replace Teapot with custom 3d-Model

May 4, 2013 - 9:34pm #22

Ok, So exactly I need to do for it work at Android?

Replace Teapot with custom 3d-Model

April 22, 2013 - 2:45am #21

Hi Uthaman,

I have tried but still unsuccessful.

Thach

Animated 3d Model not loading & playing

April 20, 2013 - 6:52am #20

 

Hi strange99 & Huythach,

thanks for sharing this and I have tried to import animation functions like same as  huythach tried but only getting static model. Please provide steps in details for loading animated model.

Huythach did u load animated model successful? Please share your suggestions.

 

Thank you in advance,

P.Uthaman

 

Replace Teapot with custom 3d-Model

April 11, 2013 - 1:05am #19

Dear strange99,

I have tried to import animation functions from assimpExample (openFrameworks) to your code. I have event re-written loadGLResources(), added update(), playAllAnimations() as same as assimpExample, but animation still does not work.

When you wrote your program, did you try with animation? If yes, do you have any suggestion? If necessary, I will send you the modified source code.

Thank you in advance,

Huy Thach

Replace Teapot with custom 3d-Model

April 3, 2013 - 4:42pm #18

strange99,

Thank you very much for your suggestion,

HuyThach

Replace Teapot with custom 3d-Model

April 3, 2013 - 3:48am #17

take a look at 

 

http://www.openframeworks.cc

there is a  assimp-import-addon (don't remember the name, but you'll find it in the source-code). There is a part for animation (esp. astroboy.dae !!!)

 

Replace Teapot with custom 3d-Model

April 3, 2013 - 2:18am #16

Or if you know any plug-in/addon which supports animation in iOS, please introduce.

Thanks,

Replace Teapot with custom 3d-Model

April 3, 2013 - 2:10am #15

I would like to extend your code for Animation.

Do you have any suggestion?

Thanks,

Replace Teapot with custom 3d-Model

April 3, 2013 - 1:45am #14

Sorry,

there is no support for animations (yet)...

Replace Teapot with custom 3d-Model

April 2, 2013 - 7:40pm #13

In addition, please introduce how to add multiple textures to one 3D objects.

Replace Teapot with custom 3d-Model

April 2, 2013 - 6:32pm #12

It is great,

Could you tell me how to make AR 3D object animated?

For example, in your "astroBoy.dae", I can make it rotate but not animation.

 

Thanks,

Replace Teapot with custom 3d-Model

March 12, 2013 - 4:35am #11

... it seem's your storyboard-example uses an older version of Vuforia... (e.g. 1.5.x)

REVU works ONLY with Vuforia 2.x AND OpenGLES 2.0.

 

See the Transition-Guide at:

https://developer.vuforia.com/resources/dev-guide/migrating-your-ios-sdk-project

 

Regards

Replace Teapot with custom 3d-Model

March 12, 2013 - 1:23am #10

Thank you for sharing strange99.

Your REVU_IOS work very well.

 

But when I'm integrate it with Storyboard sample from https://github.com/Danchoys/ImageTargets-storyboard-sample

I have 2 errors  = Member access into incomplete type 'const QCAR::TrackableResult'

from these 2 lines

 

const QCAR::Trackable& trackable = result->getTrackable();

QCAR::Matrix44F modelViewMatrix = QCAR::Tool::convertPose2GLMatrix(result->getPose());

 

 

*** error mark at ->getTrackable(); and ->getPose());

 

How can I fix these errors?

 

Thanks

 

 

Replace Teapot with custom 3d-Model

February 5, 2013 - 6:12am #9

Nice. Would be good to see some feedback from Android users as well... 

Replace Teapot with custom 3d-Model

February 5, 2013 - 5:18am #8

Hi strange99,

Thanks for your work. I can confirm that it runs on my new iPad.

Best regards.

Replace Teapot with custom 3d-Model

January 31, 2013 - 6:44am #7

Thank you !

Replace Teapot with custom 3d-Model

January 31, 2013 - 6:30am #6

Cool !

Replace Teapot with custom 3d-Model

January 31, 2013 - 5:43am #5

I updated (and renamed) my Render-Engine:

You'll find it at 

 

https://github.com/DrNeuroSurg/REVu

 

along with a small description for installation and usage.

Added some functionaliy like materials (from model), custom materials, textures , light and, and and....

Added also libs for android - .... stay tuned...

Hope this will help...

Replace Teapot with custom 3d-Model

January 24, 2013 - 5:54am #4

Yes, if you make an Android version too, feel free to share it here, we also have many Android users looking around for good 3D engines.

Thank you.

Replace Teapot with custom 3d-Model

January 24, 2013 - 5:45am #3

Thank you, for your quick response...

Vuforia is a great SDK (and technology) and there are so many questions about custom models.

Hope, I can make the same for Android (it should be easy - only replace the used libraries...)

 

Replace Teapot with custom 3d-Model

January 24, 2013 - 5:33am #2

Hi strange99,

thanks for sharing this ! I had a quick look at the project, although I did not tried it out, but it looks really an impressive work.

Probably this may turn useful to other iOS OpenGL developers out there.

 

Log in or register to post comments