Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nileshlg

Pages: [1]
1
Support / dynamic texture loading
« on: February 04, 2015, 12:37:13 pm »
Hi,
In my Vuforia + Jpct-AE app I have to download the 3d model (.obj, .mtl, .jpg) from remote server upon Image detection and render / replace with current 3D object  and respective texture in jpct scene. Until this point it works fine; However my problem is some times some 3D models will have multiple textures (jpegs). How can I add those textures in the texture manager and apply to object dynamically.
For example, Initially I have box model in scene, upon first scan I download and replace Box with table (2 textures) but in next scan I might use Room.obj which contain 4-5 textures. Now I don't know How many texture images are there in folder until I scan the folder and check for no. of jpegs programmatically.  but then how can I replace 4-5 textures with previous 2 textures.
Honestly, I am little confused about texture manager and handling it. I would really appreciate if some one help me with logic or source code wise.

2
Support / 3D object not rendering properly in nexus 4
« on: December 09, 2013, 08:09:57 am »
Hi,
I integrated Vuforia and jpct-ae properly in cloud based AR application. on marker detection it downloads 3d model (.obj) in zip file and extract it in external storage and renders it from there. It works fine on Nexus one and Samsung Note one. But when I am testing it on Nexus 4 and Sony xperia z6603 3D model is not rendering properly, I cant see anything or sometimes just a flicker. So I checked the if path is correct but log doesn't show any Nullpointer exception, and it shows all the models and texture built properly. I am using texture in 512*512.
I am not sure if it is the problem of new OS not supporting some texture?? or the fact that external storage path is different in those later two phones, but in this case as I mentioned there is no error shown. Did anybody face similar problem before? As far as I know am using latest version of jpct-ae.

[attachment deleted by admin]

Pages: [1]