C++ tutorials are ready to be released!
I have written almost all the classical sample programs, listed in the catalog of panda3d.org/manual/index.php … stribution
, with c++. Of course, because python classes have more functionalities than c++ classes do, I have ignored some advanced features in python codes, such as OOBE, bufferViewer, CommonFilters, and etc.
The c++ tutorials are translated from python codes with certain conditions:
- We are not going to reinvent new algorithms, so we copy almost all the program structures, variables, functions and control flow directly from python programs.
- For some python library functions, they are mapped into c++ library functions.
- For simplicity, some c++ classes are just given in skeletons. However, they do work! You can provide refinements for those c++ classes by yourselves.
- For comments, you can look up in python codes.
- We do not pay attention to code optimization, we only do simple translations.
We have rearranged the order for c++ tutorials, they are listed below:
Tutorial 1 – Solar: it is a c++ map of Sample Programs: Solar System panda3d.org/manual/index.php … lar_System
Tutorial 2 – Actor: it is a c++ map of Sample Programs: Boxing Robots
panda3d.org/manual/index.php … ing_Robots
Tutorial 3 – Joint: it is a c++ map of Sample Programs: Looking and Gripping
panda3d.org/manual/index.php … d_Gripping
Tutorial 4 – Lighting: it is a c++ map of Sample Programs: Disco Lights
panda3d.org/manual/index.php … sco_Lights
Tutorial 5 – Fog: it is a c++ map of Sample Programs: Infinite Tunnel
panda3d.org/manual/index.php … ite_Tunnel
Tutorial 6 - Bump Mapping: it is a c++ map of Sample Programs: Normal Mapping
panda3d.org/manual/index.php … al_Mapping
Tutorial 7 - Texture Movies: it is a c++ map of Sample Programs: Texture Swapping
panda3d.org/manual/index.php … e_Swapping
Tutorial 8 - Texture Movies II: it is a c++ map of Sample Programs: Texture Swapping
panda3d.org/manual/index.php … e_Swapping
Tutorial 9 - Toon Shading: it is a c++ map of Sample Programs: Cartoon Shader
panda3d.org/manual/index.php … oon_Shader
Tutorial 10 - Glow Filter: it is a c++ map of Sample Programs: Glow Filter
panda3d.org/manual/index.php … low_Filter
Tutorial 11 - Task: it is a c++ map of Sample Programs: Asteroids
panda3d.org/manual/index.php … _Asteroids
Tutorial 12 - Carousel: it is a c++ map of Sample Programs: Carousel
panda3d.org/manual/index.php … :_Carousel
Tutorial 13 - Render-to-Texture: it is a c++ map of Sample Programs: Teapot on TV
panda3d.org/manual/index.php … apot_on_TV
Tutorial 14 - Media Player: it is a c++ map of Sample Programs: Media Player
panda3d.org/manual/index.php … dia_Player
Tutorial 15 - Distortion Effect: it is a c++ map of Sample Programs: Distortion
panda3d.org/manual/index.php … ction=edit
Tutorial 16 - Fireflies using Deferred Shading: it is a c++ map of Sample Programs: Fireflies
panda3d.org/manual/index.php … _Fireflies
Tutorial 17 - Musicbox(sounds): it is a c++ map of Sample Programs: Music Box
panda3d.org/manual/index.php … _Music_Box
Tutorial 18 - Making a Cube Procedurally: it is a c++ map of Sample Programs: Procedural Cube
panda3d.org/manual/index.php … dural_Cube
Tutorial 19 - Shadow: it is a c++ map of Sample Programs: Shadows
panda3d.org/manual/index.php … s:_Shadows
Tutorial 20 - Procdurally Making a Tree: it is a c++ map of Sample Programs: Fractal Plants
panda3d.org/manual/index.php … tal_Plants
Tutorial 21 - Roaming Ralph (Walking on Uneven Terrain): it is a c++ map of Sample Programs: Roaming Ralph
panda3d.org/manual/index.php … ming_Ralph
Tutorial 22 - Collision Detection: it is a c++ map of Sample Programs: Ball in Maze
panda3d.org/manual/index.php … ll_in_Maze
Tutorial 23 - Mouse Picking: it is a c++ map of Sample Programs: Chessboard
panda3d.org/manual/index.php … Chessboard
Tutorial 24 - FPS Simulation
Tutorial 25 - Motion Trails: it is a c++ map of Sample Programs: Motion Trails
panda3d.org/manual/index.php … ion_Trails
As for c++ map of Sample Programs: Particles, you can find them in my previous posts.
During the coding, our forum has given me a lot of help.
Now, the c++ tutorials for Panda3D are ready to be published. However, I ask for your helps to release these codes…“deleted by author”