From 4cf7baaf0c2cbc14e487af75b99e995afe7e7e02 Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 02:45:05 +0100 Subject: [PATCH 1/6] Clarified how to setup the environment --- introduction/running-your-program.rst | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/introduction/running-your-program.rst b/introduction/running-your-program.rst index 0ba1a131..d263f79b 100644 --- a/introduction/running-your-program.rst +++ b/introduction/running-your-program.rst @@ -65,9 +65,11 @@ Running your Program ~~~~~~~~~~~~~~~~~~~~~~ When creating a new project in Visual Studio, be sure to select the template - for a "Win32 Console application" under the Visual C++ templates category. We - recommend disabling "Precompiled headers" for now. (Don't worry, you can - still change these things later.) + for a "Win32 Console application" under the Visual C++ templates category. If + you can't see this then make sure you've downloaded *Mobile Development with + C++* workload from the Visual Studio Installer. We recommend disabling + "Precompiled headers" for now. (Don't worry, you can still change these + things later.) When you created your project, the first thing you'll need to do is change "Debug" to "Release" below the menu bar, as shown in the image below. This is @@ -79,9 +81,11 @@ Running your Program .. image:: msvc-2015-release-x64.png - Now, open up the project configuration pages. Change the "Platform Toolset" + Now, open up the project configuration pages. These can be found by going to + Project -> *project name* Settings. Change the "Platform Toolset" in the "General" tab to "v140_xp" (if you wish your project to be able to - work on Windows XP) or "v140". + work on Windows XP) or "v140" - If it's set to this by default then there's + no need to do anything else. Furthermore, we need to go to C/C++ -> "Preprocessor Definitions" and remove the ``NDEBUG`` symbol from the preprocessor definitions. This was @@ -93,6 +97,9 @@ Running your Program following paths to the appropriate locations (replace the path to Panda3D with the directory you installed Panda3D into, of course): + The Include Directories can be found in *C/C++ -> General* while the + the Library Directories can be found in *Linker -> General*. + .. rubric:: Include Directories :: From 90211feebfd28dec890d69ff1078f7a883ff7139 Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 02:58:28 +0100 Subject: [PATCH 2/6] Added Image for the explanation of coordinates --- introduction/tutorial/loading-the-grassy-scenery.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/introduction/tutorial/loading-the-grassy-scenery.rst b/introduction/tutorial/loading-the-grassy-scenery.rst index f6d343da..cd4bcdfe 100644 --- a/introduction/tutorial/loading-the-grassy-scenery.rst +++ b/introduction/tutorial/loading-the-grassy-scenery.rst @@ -33,6 +33,10 @@ as X, fingers as Y, and palm as Z facing toward you; then tilt backward until your hand is level with the fingers pointing away and palm facing up. Moving "forward" in Panda3D is a positive change in Y coordinate. +This is demonstrated in the diagram below: + +.. image:: coordinatesPic.png + The Program ----------- From d182a3321275520e5e8f6652d2d90b532a8a05d7 Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 03:00:17 +0100 Subject: [PATCH 3/6] Added Image of Coordinates --- introduction/tutorial/coordinatesPic.png | Bin 0 -> 2235 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 introduction/tutorial/coordinatesPic.png diff --git a/introduction/tutorial/coordinatesPic.png b/introduction/tutorial/coordinatesPic.png new file mode 100644 index 0000000000000000000000000000000000000000..03941b0d324eb83f26ded31cad3e4080dd70ca08 GIT binary patch literal 2235 zcmdT`e^8QV9Dgy=(DS^5yDVoy^Od?bnwSk&QP!GB2s*FM0xP1H!!0E7E~7HCt{bg1 zq!h*Ab}F5=(8`+F{Ly*~t%()a%4C7dWSpc|QP}2>y{{ne+h4o=Iqu$j?)kpY^Z9FL0*j6Ds*mbBJvNaLvQ zk4>qx3YrN7Qd5EyAmbdwuMZUxDtw6s4QkEn6g4>e$DTM`asm+mO|H%*z7FYB z&4X8{0LuRB;-*LaT){4CUJ3?3%6(P~l-%(Xi1qRK9}V(1FV(Jh18qg#-E#iO&3>|>E|=BLWq_Rg3T)y0jjgrFEdY?(GVpTv@tLy1M_ zh`(KJ@!7u%bO=|U*E&nD9^@tWl37=7*(=_l<~UwZ-(LPA*ObF=Xgq9r6hGNVTdnW+ z?*$p*gVYh1TUl>=>2#O-nq>)he1qX zFsVxMR!)bWXuT9TMB#%5^FsQKRhSxGPeAHs3ufQeQV9PO)}BWc`VBdThjl+YttlKs zpkOJH^ldK&Vu2pQd!J)!Dq)L?Cop~(o}Jb>=3z10L26PA7V|KX6s_e1DR#jfkZ(cimYbL)dsw1kSw5zXhRZaLaV+KwklHdAgXu{ilCmo>m{sYbVzUFovpo$CV9l6J zg#*~;Em}m!^`c2itF<82(TkQALu0VhI;T*K!ecg&j^m&!j8({%Ius-84wp!33Jwsx z(I-gSkaVvB-Gpn!f&S&}l1 zq6WpZEkiKpqnOt$FfHk)C?*X)9{B3YfPTV@2(7GvfPO7;jES*fuhlAt$>gCM>yX?= zw8!EXA*o`~9@~g;VWAB(4-o+N#SsSIE8;6Q&t3Zzoq5h|pPbOU#LP8Q!~HIT(9|(G z+F`Y>_AAL>4x@IcH42(rrSr$+T?oY-kb#pfhHnv1Ji^4nlLR?3U}V>Wj_b(WG71Np ze5sl%vet|zGA}x{9pf^2F8OJ@UI!TceOJpFG_(<|sgfXLmru!B>yRN9G^lL&Y?WV_ z^LMxc&`@eW#DssoZ!4TIu;HfDaFK*ST#I+=d5{0jDvtC!A46qq5=C`$JDHn~H+Y&^ z*Zk(V9+pGlGTrS3{yY(mYgj;IiKO6x23*LI; HI$`lY^+-H& literal 0 HcmV?d00001 From 6f60e49bf7a7b6f28bc49e514ace8ac8d6f57f28 Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 03:05:56 +0100 Subject: [PATCH 4/6] Rollback to get rid of image --- introduction/tutorial/loading-the-grassy-scenery.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/introduction/tutorial/loading-the-grassy-scenery.rst b/introduction/tutorial/loading-the-grassy-scenery.rst index f6d343da..cd4bcdfe 100644 --- a/introduction/tutorial/loading-the-grassy-scenery.rst +++ b/introduction/tutorial/loading-the-grassy-scenery.rst @@ -33,6 +33,10 @@ as X, fingers as Y, and palm as Z facing toward you; then tilt backward until your hand is level with the fingers pointing away and palm facing up. Moving "forward" in Panda3D is a positive change in Y coordinate. +This is demonstrated in the diagram below: + +.. image:: coordinatesPic.png + The Program ----------- From c1743f1b9b29a36edab201ff9a2404410e88e6de Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 03:07:29 +0100 Subject: [PATCH 5/6] Remove Image --- introduction/tutorial/loading-the-grassy-scenery.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/introduction/tutorial/loading-the-grassy-scenery.rst b/introduction/tutorial/loading-the-grassy-scenery.rst index cd4bcdfe..f6d343da 100644 --- a/introduction/tutorial/loading-the-grassy-scenery.rst +++ b/introduction/tutorial/loading-the-grassy-scenery.rst @@ -33,10 +33,6 @@ as X, fingers as Y, and palm as Z facing toward you; then tilt backward until your hand is level with the fingers pointing away and palm facing up. Moving "forward" in Panda3D is a positive change in Y coordinate. -This is demonstrated in the diagram below: - -.. image:: coordinatesPic.png - The Program ----------- From 24c96fe472467865429c46d50f883a38078db847 Mon Sep 17 00:00:00 2001 From: LSlayer123 Date: Thu, 28 Apr 2022 03:07:35 +0100 Subject: [PATCH 6/6] Remove Image --- introduction/tutorial/coordinatesPic.png | Bin 2235 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 introduction/tutorial/coordinatesPic.png diff --git a/introduction/tutorial/coordinatesPic.png b/introduction/tutorial/coordinatesPic.png deleted file mode 100644 index 03941b0d324eb83f26ded31cad3e4080dd70ca08..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2235 zcmdT`e^8QV9Dgy=(DS^5yDVoy^Od?bnwSk&QP!GB2s*FM0xP1H!!0E7E~7HCt{bg1 zq!h*Ab}F5=(8`+F{Ly*~t%()a%4C7dWSpc|QP}2>y{{ne+h4o=Iqu$j?)kpY^Z9FL0*j6Ds*mbBJvNaLvQ zk4>qx3YrN7Qd5EyAmbdwuMZUxDtw6s4QkEn6g4>e$DTM`asm+mO|H%*z7FYB z&4X8{0LuRB;-*LaT){4CUJ3?3%6(P~l-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