Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

3D interaction in flash?

Participant ,
Mar 02, 2013 Mar 02, 2013

Dear Friends,

Greetings! i need to show the 3D rotation of an object with interaction, i mean, user has to rotate and see the object, same time if they click on a part it has to open that portion and give some explaination. is it possible to do with flash? pls help me.

Already i used papervision 3d and created the rotation but i dont know how to get click and show the iternal parts. i used the following code:

import org.papervision3d.cameras.Camera3D;
import org.papervision3d.objects.parsers.Collada;
import org.papervision3d.render.BasicRenderEngine;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.view.Viewport3D;

var scene:Scene3D;
var vp:Viewport3D;
var cam:Camera3D;
var bre:BasicRenderEngine;
var collada:Collada;

setupPV3D();
addCollada();
addEventListener(Event.ENTER_FRAME, loop);


function setupPV3D():void {
scene = new Scene3D();
cam = new Camera3D();
cam.z = -15000;
vp = new Viewport3D();
bre = new BasicRenderEngine();
addChild(vp);
}
function addCollada():void {
collada = new Collada("mycollada.dae");
scene.addChild(collada);
}
function loop(e:Event):void {
collada.rotationY += 2;

bre.renderScene(scene, cam, vp);
}

pls advice me, whether ia using right technology flash, or should change. iam comfortable with AS3, so i used flash and did. pls help me to show the internal parts when user clicks. i need interaction.

Please refer the link below i want to do samle like this in flash:

http://www.bitmanagement.de/php-bin/ViewVrml.php?url=http%3A%2F%2Fwww.bitmanagement.de%2Fdemos%2Fair...

anybody can help me....

Thanks in advance,

syed

TOPICS
ActionScript
561
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 04, 2013 Mar 04, 2013
LATEST

I think Flash is fine, but Papervision is a poor choice for 3D. It's not even been developed in years... go to away3d.com, that's probably the leader of the pack right now for 3d engines in Flash. Here's a demo, with source, that seems appropriate to what you're looking for: http://clockmaker.jp/blog-en/2013/02/away3d_earth_and_moon/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines