2D and 3D on the same screen

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

2D and 3D on the same screen

Postby shraddha294 » Fri Sep 19, 2008 10:35 am

Can we have 2D and 3D graphics co-exist on the same screen?
From J2ME experience i know 3D takes the whole screen. In Android, is it possible to have both 2D and 3D on the same view?

Any help is appreciated.

Thanks
Shraddha
shraddha294
Freshman
Freshman
 
Posts: 4
Joined: Tue Sep 16, 2008 10:00 am

Top

Postby living_sword » Fri Sep 19, 2008 2:04 pm

Haven't tried it, but it would probably require you to divide the surface into seperate regions for 2d and 3d drawing. SurfaceHolder.setFixedSize() would be useful for that. But it might have severe impact on the performance as the engine has to switch between 2d and 3d drawings.
Image
living_sword
Junior Developer
Junior Developer
 
Posts: 23
Joined: Fri Nov 23, 2007 4:44 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests