in HelloAR android example the BoxRenderer renders a box on the target. but I want to render cusom .OBJ files.
i parsed the obj file and extracted vertices and faces successfully.
i replaced my own renderer with the BoxRenderer and received projection and trans matrices(from HelloAr class just like BoxRenderer) and calculated the position of the vertex (in vertex shader) like this :
gl_Position = proj*trans*coord;
where coord (i assume is the current vertex (x,y,z)?)
but it renders nothing when finds the image target.
please share some code for rendering custom .obj files.
thanks in advance.