Log in or register to post comments

Unity3d Vuforia and 3D objects

September 4, 2015 - 9:43am #1
Hi,
 
I have implemented (starting from tutorials) a Unity3d  app that: 
 
- detects an image, 
 
- retrieves metadata
 
- extracts url of a 3d object (http://www.everyday3d.com/unity3d/obj/monkey.obj)
 
- downloads 3d object content
 
- parses content and creates object
 
- shows it
 
 
 
I found that, even object is 347KBytes, it takes 10 secs before download and render is
 
performed (in a WIFI LAN).
 
- Is it a common time or workflow should take a shorter time?
 
- Is there a smarter approach to retrieve  same result?
 
- Is there a specific tutorial with source code to manage this subject (download and render of 3d objects)?
 
 
 
Thanks.
 
 
 
Davide

Unity3d Vuforia and 3D objects

September 18, 2015 - 9:45am #3

Hello excuse me for delay...

 

I have some numbers about my example.

First thing it is based on this: http://www.everyday3d.com/blog/index.php/2010/05/24/loading-3d-models-runtime-unity3d/

 

Download with WWW of http://www.everyday3d.com/unity3d/obj/monkey.obj takes 1302 millisecs for 354474 bytes.

this obj file is composed by 10978 rows and parsing takes 4449 millisecs.

 

Download of mtl file and texture file takes few millisecs.

Build of 3D object after parsing of files takes 981 millisecs.

Total time from first download to object ready takes 7346 millisecs.

 

I used for my test Android 5.0.2 on a LG G2 mini.

 

What do you think? Does it take a lot?

Davide

 

 

 

 

 

 

 

 

Unity3d Vuforia and 3D objects

September 9, 2015 - 12:23pm #2

Are you saying that it takes 10 seconds to download the model from the external URL? If not, can you provide more specifics? You can place some Debug.Log() commands in your code along with using Time class to see length of processing at various stages.

Log in or register to post comments