Thanks Juan, I'm glad you are finding Awaybuilder so useful!

If you could contribute tutorials for it that would be fantastic and much appreciated. It would be nice to also put any tutorials you make on the Away3D site and you would of course be fully credited for all the work. Those Maya scripts you sent me are also very useful and I think they should go in the public trunk, with your permission of course. They are excellent time savers :)

Cheers for all your help weeding out issues and suggesting improvements. Looking forward to having a look at integrating the improvements into the public trunk.

.andreas



On 31 Mar 2009, at 19:52, Juan Bonfante wrote:


Hi Andreas,

I will continue to plow through and post questions =D I really dig
AwayBuilder, since it's making my workflow a dream... Learning curve
on the other hand... But I will make some tutorials myself to share
with the community along with some of my python scripts for Maya. I've
been tackling some of the other issues I've been finding and I'll send
you my dirty hack code so you can better find implementations for it.
Custom Classes, Lights, and now I'm also trying to also include
containers into the mix =)

Thanks again for your help
-Juan

On Mar 30, 7:03 pm, Andreas Engstrom <[email protected]>
wrote:
Hi Juan.

This problem happens due to an internal multiplier that affects the
position and size of all objects for only Maya scenes used with
Awaybuilder. With the introduction of camera lenses this has become
redundant and will be changed in a future update but until then you
can use the following workaround by applying the position and size
multiplier manually.

var sphere:Sphere = new Sphere();
sphere.radius = radius * world.precision;
sphere.x = x * world.precision;
sphere.y = y * world.precision;
sphere.z = z * world.precision;
world.worldView.scene.addChild(sphere);

The default multiplier for Maya is very high and the reason you
couldn't see manually added objects was because they were reduced in
size and position by a factor of one million compared to the other
content :)

Adding a new scene on top and syncing the cameras unfortunately won't
work as the camera from the Awaybuilder scene will also have the
multiplier applied to it's position values and end up way in the
distance. Again, thanks for pointing these things out so they can be
fixed!

Cheers,
.andreas

On 30 Mar 2009, at 16:32, juanBon wrote:

After having AwayBuilder build my Maya world file, I try to add other
objects to the scene but nothing shows up.

this.world.worldView.scene.addChild(someChild);

I'm inserting that in the event handler for worldComplete Event.
Should I instead layer a new Scene on top?
(i.e this.world.worldView.addChild(someScene)?)

Thanks.

Reply via email to