Log in or register to post comments

How to render complex 3D models with animations

September 18, 2012 - 1:47am #1

Hi,

I just downloaded the vuforia ios example, and I've been playing around with the ImageTarget project. I've seen that the teapot is not a .FBX file or something like that, it seems to be a .h file with the definition of vertex primitives? Sealed

What I need to do is to load a complex 3D model, and 3D animations on the position of the detected target. Is that possible? Is it possible to change the 3D model on the ImageTargets iOS project?

 

Thanks!

How to render complex 3D models with animations

February 7, 2013 - 5:20pm #7

Considering you're using 3DSMAX  I'd go Unity4 all the way...  Do yourself a massive favour and try Unity.  

I create A.R apps in Unity wiht Vuforia for iOS.  Cyurrently you're limited to the polygon count.   for iPad2 its approx. 10,000 polys on screen.

 In Unity you have to make sure you use Occlusion culling.  Als make sure objects that are static have the "static" check box turned on. & also make sure after importing a 3D aset your turn it into a prefab.   This is just the beginning of optimisation techniques employed when developing in Unity4. 

Are you versed in C#   ?    that will help alot.. many unity users learn JavaScript but C# is the better language further down the track.  

 

ENJOY

 

 

 

 

How to render complex 3D models with animations

January 26, 2013 - 1:15pm #6

Hi, using Unity 3D brings many advantages when it comes to using comples 3D models;

let's say that, technically, there is nothing that prevents you from achieving good performances in handling/rendering comples 3D models using OpenGL (without using Unity); 

however, from a practical point of view, the use of pure OpenGL will usually require a very big coding effort and a large amount of code if you want to achieve high quality and high performance rendering of anything which goes beyond a very simple 3D mesh (and using .h files like in the ImageTargets sample only works well for simple models, while the approach becomes quite more challnging when it comes to composit models with multiple parts and multiple materials); 

Unity3D will handle those issues for you (high visual quality, handling complex 3D models, doing performance optimizations, etc.), so it is usually a preferrable option (it can probably save you a lot of development time) unless you have very strong and proven OpenGL background and skills.

 

 

How to render complex 3D models with animations

January 26, 2013 - 7:05am #5

Hi!

I want to develop the application in Eclipse - and think about whats the "better" way to include vuforia -> eclipse pure or with included Unity3D parts.

  1. Is there a difference between the applications performance on the device using Eclipse with h. files and using Eclipse & Unity3D  ?
  2. what about the usage of .h files with more complex models or "highpoly" models?

P.S There are no animations and i'm not able to export / testing the .h files yet ( using 3ds MAX )

How to render complex 3D models with animations

September 18, 2012 - 9:08am #4

Yes - understood, it would be great ;)

However many devs have had problems doing this in native which is why we encourage people to use Unity wherever possible, because changing models and adding animations is very easy.

Part of the reason is that OpenGL experience seems pretty rare...

N

How to render complex 3D models with animations

September 18, 2012 - 9:04am #3

Hi,

To what format I am supposed to export the FBX? In your example I only see a .h file with lots of vertices. You mean that I should find my own way to include the 3D model using OpenGL right?

an example would be greaat!

How to render complex 3D models with animations

September 18, 2012 - 2:46am #2

Hi plungint

One thing you could try is using the FBX Convertor and SDK that AutoDesk supply for free:

http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=17689241

Although I have not looked at it there are apparently some samples in the SDK that show how to load FBX files and display within OpenGL.

At present the Vuforia samples do not show any integration with 3rd party engines, so the above is a possible way to go.

 

HTH

N

 

Log in or register to post comments