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

two small newbie questions. cheers :)

2004-03-31       - By James Carrington

 Back
Reply:     1     2     3  

Thanks :)



-- --Original Message-- --
From: Lucas Meijer [mailto:lucas@(protected)]
Sent: 31 March 2004 09:47
To: dir3d-l@(protected)
Subject: Re: [Dir3d-l] two small newbie questions. cheers :)

> Could someone explain what the difference between these two lines of
> code are?
>
> Scene.model[1].transform.rotate(10,10,10)
>
> And
>
> Scene.model[1].rotate(10,10,10)

The latter is a shortcut for the first.

> I'm trying to get my head round the transform object and don't get
this.
> They both appear to do exactly the same thing.

They do.

> Another thing I puzzle over is the fact that I can type scene.model[1]

> and scene.model("mybox") and refer to the same object.
>
> How does this model[1] / camera[1] thing work???

You can access model objects (or
shaders,cameras,modelresources,motions,textures) either trough their
name, or trough their index. Almost always you access them by their
name, unless you loop trough all of them.

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


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