O'Reilly logo

Introduction to Computer Graphics by Marco Di Benedetto, Sumanta Pattanaik, Massimiliano Corsini, Fabio Ganovelli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A

NVMC Class

We have already seen in Section 2.5.1 how the framework is structured and showed a few examples of access to the element of the scene. Here we will give a more detailed description of the framework to serve as reference.

A.1 Elements of the Scene

NVMC.Race.prototype = {…
 get bbox   : function …
 get track   : function …
 get tunnels  : function …
 get arealigths  : function …
 get lamps   : function …
 get trees   : function …
 get buildings  : function …
 get weather  : function …
 get startPosition  : function …
 get observerPosition : function …
 get photoPosition  : function …
};

The class Race contains all the elements of the scene except the participants to the race (that is, the cars). These elements are: the bounding box of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required