Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
tease tricks

tease tricks

2004-01-23       - By Brian Robbins

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

I agree with Barry on this one.  When I first started doing this sort of
thing, I would create dummy models exactly like you did Colin.  At some
point though, I realized that groups are really what you'd want to use
instead of the models.

I'm not sure how it would be messy though.  Right now you're probably:

1) creating a modelResource (box?)
2) then creating your dummy models, using that box as their resource,
3) then setting them to visibility = #none.
4) Positioning each box appropriately

In order to switch to groups, you'd simply need to change the code to
1) Create a new group (same as step 2)
2) Position the group appropriately (same as step 4)

Additionally, you will have a performance improvement.  For this demo, that
performance difference is probably unnoticeable, but in complex scenes with
lots of dummy objects, switching from a visibility=#none to a group will
speed things up, as the renderer does less work.

To conclude, in this demo there's probably very little reason to switch from
dummy models to groups, as the performance benefit will be minimal.
However, in the future, I'd encourage you to use newGroup() instead of a
model with visibility=#none.  There shouldn't be any change to your code,
other than the differences between creating a group and creating a
modelResource, model, and setting the visibility.

 Brian Robbins
 Senior Creative Technologist, Fuel Industries
 <http://www.fuelindustries.com/>

> >>just out of curiousity, why are groups better than invisible models?
>
> And another thing, if I did use groups to allow the vane to swing
> relative to the group's node, how would I set the group below to be
> located at the position it needs to be? I guess I would have to set
> it to the position of the previous group, and then translate it some
> amount? Sounds messy.
>

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l