Flex - Written by Niels on Monday, February 25, 2008 20:11 - 7 Comments
Rotating arround 3D object in Away3D
Here’s a nice alternative to all the Flex 3.0 and AIR 1.0 posts today. Today I was experimenting with the HoverCamera3D class from Away3D. With the HoverCamera3D you can “hover” the camera arround the target object. This is much easier than when you do it with the standard Camera3D. Of course I made an example so you can try this out for yourself.
This example will find his way into the Flex Away3D Explorer i’m building. Hope this wil give you a clear image of the capabilities of Away3d and the HoverCamera3D class. I added a simple track mouse function, so you can even explore it better! ![]()
Don’t forget, right click on a Away3d object, and you get a nice debugger. The little camera on top got some useful information when playing with the HoverCamera3D.
2 Days ago, Away3D version 1.9.4 was released. Take your time to look at an amazing sample made with it, the Away3D temple. I’m keeping it basic for know, hehe. Have fun!
Popularity: 82% [?]
7 Comments
Jeroen
Nicolas
Hello Niels !
I just want to know wich component you use to integrate Away3D into a Flex project ?
I’m currently using UIcomponent but i have some difficulties to define a size to this sprite.
Thx for help,
Nico
@Jeroen: I’m using Away3D because I don’t know any better ;). Yes I did look at Papervision3D, but I get free service, when using Away3D. Fabrice Closier is one of the main developers @ Away3D, and also working at
@Nicolas: I’m using UIComponent too. Can you explain your problems?
Could you please post flex project. I can’t get an idea how to integrate away in flex, not just in flash or Action Script project. 8-(( need an assistance
p.s. Thanks for this great example !
Hello Niels
Very cool example, it really helped me getting the hang on the HoverCamera3D class.
However, I’m facing a limitation : whenever I want to change the target of the camera (like in your example when you click on “Pane 2″ for instance), I would like the camera to make the new target its pivot for rotation. I tried to stop calling the “hover()” method on the camera, change its position and then call “update()” on each frame, but no change was visible. I’m clueless as how to realize that, do you know if it’s possible to do so, or is an HoverCamera3D instance’ pivot point always locked on the origin point of the scene ?
The only workaround I could think of is to move all the scene to make the targeted object the new origin point… And I don’t like that !
Thanks for your help,
Cheers
vurentjie
thanks for this example, it helped explain some of the properties, kinda different to an opengl cam in some ways so have been trying to figure out and play with the away3d api and was also searching some of the very rare examples, yours helped a LOT!
Hello, nice example. Helped a lot. But can’t this hovercamera3d rotate around the object vertically full 360 degrees as it does for horizontal. As we see that the max tilt angle can be 90 degrees. Can’t it be increased? or any method to do this?
Thanks
Leave a Reply
Most Popular Content
- NabAIR v0.1: Update to AIR 1.0
- Rotating arround 3D object in Away3D
- Away3D explorer for Flex
- Exploring Away3D in Flex
- 10 Great articles about RIA (Flex) usability
- i always watch online movies from Vimeo or Youtube, it is low resolution but mos...
- Yeah, it’s really weird. I think they will try to get this as popular as they ...
- online movies are cool but i wish the quality were better.".-...
- i changed port of usb and it run ok :D...
- this example is run ok on IE but not good on Firefox
i have 2 webcam. sirius us...
- Hello, nice example. Helped a lot. But can't this hovercamera3d rotate around th...
- As an ex-joox uploader, here are two sites I discovered that are equivalent to j...
- For all those who like shows like entourage check out premiumtvshows.com
...
Flex - Feb 25, 2008 20:11 - 7 Comments
Rotating arround 3D object in Away3D
More In Technology
- Away3D explorer for Flex
- Exploring Away3D in Flex
- The Flex community have closed their eyes for quality and perfection
- Login tutorial Ruby on Rails -> WebORB -> Flex 2 basic communication, now translated in English
- Noorderslag.nl: Flex is not application only
Usability - Feb 6, 2008 17:39 - 5 Comments
10 Great articles about RIA (Flex) usability
More In Interaction Design
- Busy with reading
- Rich Interactive Experience with Microsoft Surface
- Who needs a Wii when you’ve got Soap?
- Presentation about “Getting Real”
NabAIR - Feb 27, 2008 2:04 - 5 Comments
NabAIR v0.1: Update to AIR 1.0
More In Projects
- NabAIR v0.05: Update to AIR 1.0 beta 3
- NabAIR v0.04: View and listen to your Nabaztags inbox
- NabAIR v0.03: New skin, more voices, get info and sleep
- NabAIR v0.02: Position his/her ears, voice selection and save settings
- NabAIR v0.01: Control your Nabaztag on your desktop

Awesome. Keep up the good work.
You find working with Away3d better/easier in comparison to working with Papervision 3d? Are their any major differences?