Ticket #928 (closed task: worksforme)
soy.scenes.Planar
| Reported by: | ArcRiley | Owned by: | DavidCzech |
|---|---|---|---|
| Priority: | Medium | Milestone: | beta3 |
| Component: | soy.scenes | Version: | Trunk |
| Keywords: | Cc: |
Description
This class will inherit from soy.scenes.Scene and add a ODE collision plane rendered as a large plane of the same size. It is important to note that the plane is a part of the scene itself, not a body.
The plane faces up in the direction of scene gravity, or in the Y axis if no gravity is used, and will have a size parameter accepting two elements.
The center of the plane will always be (0,0,0) unless a simple property allows otherwise.
The plane will have a .material property for changing the material. A second property may allow the texcoords to be something other that (0.0,0.0,1.0,1.0).
The plane will be a poly grid (triangles, quads, etc) such that specularity and other effects work as expected.
Lastly, a simple example should be written to render spheres on it with one of the spheres controlled by the keyboard, or a similarly basic example of how a plane works.
