Objects in Space¶
All objects in W3D projects are created using the W3DObject class. You should
think of W3DObjects as containers for whatever content you’re trying to add to
virtual space. To be more specific, if you want to put an image in space, you
create a W3DObject to specify a name, a position, and a few other basic things,
and then specify that the W3DObject contains “my_awesome_selfie.jpg” or
whatever image you want. If you later decide that selfies are lame, and you’d
rather just put your name in giant block letters at the same point in space,
you can swap out “my_awesome_selfie.jpg” for a pyw3d.W3DText
object. See
W3DContent for more details on this.
You can also interact with W3DObjects by adding a W3DLink to them.
TODO: Sample
Content of Objects¶
The W3DObject class is used to specify the name, position, and other attributes common to any object you might add to a Writing3D project. The W3DContent class (and its subclasses) tells you what “kind of thing” that object is: text, image, model, lighting, etc.
Warning
Stereo images are not yet fully implemented
Warning
Particle systems are not yet fully implemented
Object Links¶
In order to interact with an object, you may add a clickable link to it. This link is implemented using the W3DLink class and may trigger a series of W3DActions.