Panda3D Manual: Texturing in CXX
Texturing in C++Panda's C++ interface to texturing is basically the same as it's Python interface, That's why it is very recommended to read the entire section including the Python examples. However, there are two major differences, which are explained in this page.
include "texturePool.h"
NodePath noiseplane; This short piece of code will result in a single polygon in the scene with the noise texture applied to it. If you need it in the 2d scene, you can use get_aspect2d() or get_render2d() instead of get_render(). © Carnegie Mellon University 2010 |