Where does the light come from, using Maya/Panda3D?
- by Aerovistae
Total noob to Maya. Total noob to Panda3D. Planning on becoming really good at both as soon as I have free time to do so, but right now I have an assignment due in a few hours which requires this:
(The part which confuses me is bolded.)
Model and texture a vehicle and two different obstacles
Build a scene graph in Panda with a plane, the vehicle, several copies of each of the obstacles, and (at least) a direction light
Program vehicle movement, constrained to a plane (no terrain)
Working headlights
Vehicle collides with obstacles
How do I attach a light source to a model? I'm assuming this is done in Panda3D but I'm sufficiently new to this that I wouldn't be astonished to hear it's part of the model.