Waitrud Weber’s blog

things and reminders for memories

3d

3d: windows-make: PPM start is better.

We are going to use buffer anyway for the sensitive work so that we could start to use simple format and start the PPM format. .\vDisplayController_002.cpp Sat Mar 26 16:01:16 2022 ... 40 :// 41 :int vDisplayController_002::write_ppm_002 (…

3d: Thinking of gravity with Bones.

The suggestion point is the below. 1: stable distance2: each gravity3: for ( i = 1; i < max -1; i+=2 )4: step speed int Display_Controller :: Approach_Bones () { double stable_distance = 10.0; double distance[2]: vPoint each_gravity[2]; vP…

3d:windows-make: Using Microphone.

I placed the kind of dll for the microphone in the program folder. - compilation execute vfwwdm32.dll -lvfw32 o (nothing) -lvfw32 o -lvfwwdm x -lvfwwdm32 x -lvfw x * The include in the source code is #include <vfw.h>. (20210112) C:\MinGW\include\</vfw.h>…

3d: windows-make: Print the circulation from kind of classes

We could print the schema for the purpose.Like from 10 to 1, We could share the classes as ring. int print_function_002 ( int i ) starts.#ifndef _WORK_010_H_#define _WORK_010_H_class WORK_010 { public: WORK_001 *iWORK_010=nullptr; public: …

3d: windows-make: Print Working thread which is a class

We'd rather like to depend on the able to print the scheme.Wroking classes should be shared as connected in any program. int print_function_002 ( int i ) starts. #ifndef _WORK_000_H_ #define _WORK_000_H_ class WORK_000 { public: WORK_001 *…

3d: windows-make: Parameter we can get by the use of character array.

I choosed that way on the title, which is going to be values and TCHAR. int record_well () { WAVEINCAPS wave_in_caps_value; LPWAVEINCAPS param; char apram[255]; // // // apram[0] = '\0'; err_msg_001("INI:LPWAVEINCAPS=|%s|.\r\n", (LPWAVEINC…

3d: windows-make: Reading the device of Microphone.

Recognision of Microphone is well.We can use the windows-api by use of mingw. --- Tue Jan 04 14:50:10 202 INI:LPWAVEINCAPS=||. Tue Jan 04 14:50:10 202 waveInGetNumDevs() return 0. Tue Jan 04 14:50:10 202 waveInGetDevCaps( 0, (LPWAVEINCAPS)…

3d: windows-make: Parameters were effected so that memorization were well.

1. Cursol 8.2. Press "u" -> "v". Parameters were changed well.---WM_MESSG 003-02-01: 257 *(p_evt->uMsg):257WM_MESSG 003-03-01: 257 *(p_evt->uMsg):257wCanvasController::WM_KEYUP: 257void wCanvasController::ProcessWmKeyup () starts.wCanvasCo…

3d: windows-make: Skip a way away.

1. Press "l" -> "n","n","n","n","n","n" and "n". Memorization can not keep their values in instance as defined winmain_001.cpp.We could skip this solution, the compiler doesn't allow us the memorization. ---depth=320.001308vPoint* vInterse…

3d: windows-make: memorization error occurs in C++.

Error: memorization and their work. 1. https://github.com/WaitrudWeber/source_zip/blob/master/display-20211222-001-02.zip 2. https://github.com/WaitrudWeber/source_zip/blob/master/display-20211223-001.zip 3. We are supposed to memorize in …

3d: windows-make: Move Operation.

1. Press "l" as an arbitary operation.2. Press "a" to select the point which you'd rather love to move like by use of cursol.3. Press "n" to run "MoveSelectedPoint" for the move operation. is centered is centered. ---int vDisplayController…

3d: windows-make: Our operation is delete.

operation delete 1. Curosol on the 8 Display Object.2. Press the "l" for creation of bones.3. Press the "a" for the choose of any joint as red colour selected.4. You press the "m", so that you could delete the red joint. *

Solution:

Solution:// 1: bones -> global points// 2: We create input selected number from wCanvasController// 3: We set call of vDisplayController at the start to wCanvasController.//

3d: windows-make: We can draw a snake line.

If you press the "l", create a snake line.You change the cursor to 8 with an arrow up and down and press "a " and can select the Point. With Vector w1 and w2, we calculate dot( w1, w2 ) which is an inner called.If the dot is under 0, we fl…

3d: windows-make: It displayed well the triangles which are going up (rising up).

Triangles It displayed well the triangles which are going up (rising up). And I'm very sorry for the increase of the point of the index which is a code error.

Our operation step image is like the below.

Our operation step image is like the below.1. set Cursol1 Point and focus on the Points.2. set Cursol2 Box and focus on the Box image for selecting the Points. 3. set Cursol3 Select and select the Points inside the box.4. set Cursol4 Move …

3d: windows-make: Mixing Window params and 3d-calculatin on the class.

1. 3d-calculation: it doesn't have any set of windows params at all. 2. Required the class: it has the above 1 and a set of windows thread params. * 1. Press "I". 2. Cursol it on the 8 "Display 3D - 3 -". 3. Press "a". box and cursol downl…

3d: windows-make: We reassemble the calculation of the coordinates.

We reassemble the calculation of the coordinates.It worked well and next we can use it for the models. download: https://github.com/WaitrudWeber/source_zip/blob/master/display-20211007.zip int v3dCalculation::calculation_thread_029() { flo…

3d: windows-make: Errors on the table.

- types date 1 https://github.com/WaitrudWeber/source_zip/blob/master/display-20211004-001-03.zip work. 10/5 - 2 - - - 3 https://github.com/WaitrudWeber/source_zip/blob/master/display-20211010-001.zip work 10/10 - 4 https://github.com/Wait…

3d: windows-make: We modified the param as a pointer.

We modified the param as a pointer like the below bold part. All errors relating to this is cased the above. > .\winmain_001.exemain starts.v3dCalculation:: calculation_thread_025 () starts.memorizevPoint starts: -10.000000 10.000000 0.000…

3d: windows-make: Print it well.

We prepare the Function in C++, And can print "HowFarFromEye" well on the layer of v3dCalculation-class ---> .\winmain_001.exemain starts.v3dCalculation:: calculation_thread_024 () starts.memorizevPoint starts: -10.000000 10.000000 0.00000…

3d: windows-make: Their print is wrong.

After setting 320.f to the value, it is not changed. %d is mistaken in print. I'm very sorry for that. Choosing scale function is wrong I'm very for that. And It's going to work well if you modify them( at 29211004 ). int v3dCalculation::c…

3d: windows-make: The allocation in C is not working well now.

We would consider the C++ coding for the screen allocation. - Function name Date BASE allocation 1 int display_threeD_screen_initialize (); 9/30 C new vScreen() 2 int display_threeD_screen_initialize_004 (); 9/30 C new vScreen() 3 C define…

3d: windows-make: The C function memorized the class parameter as new, But the memorization was changed in the function C++ class.

1 The C function memorized the class parameter as new, But the memorization was changed in the function C++ class. 2 int display_threeD_screen_initialize () { vPoint* eye = nullptr; printf("display_threeD_screen_initialize:memorized_CurveL…

3d: windows-make:

- object eye C result - 1 0.0f, 0.0f, -100.0f 1000.0f, 1000.0f, -1000.0f 1038.488770, 699.077576, -1260.701538 -39.086060, 300.325134, 261.239075 2 3 4 5 6 7 *error |0028FD94|0028FD98|0028FD9C||0028FD94|=-1000.000000 |0028FD98|=-1000.00000…

3d: windows-make: intersection is a little blured.

static vPoint p1( 50.0f, 50.0f, -50.0f );---vPoint* vIntersection::Intersect ( vTriangle tri, vPoint eye, vPoint ray ) ends.intersection_001 = p|009BC148|( 999.422607, 999.422607, -999.422607)--- static vPoint p1( -300.0f, -300.0f, -50.0f …

3d: windows-make: the point is centered.

vCalculation::subtract:111 starts.|0028FE04|0028FE08|0028FE0C||999.422607|999.422607|-999.422607|1038.488770|699.077576|-1260.701538||0028FE04|0028FE08|0028FE0C||0028FE04|=-39.066162 |0028FE08|=300.345032 |0028FE0C|=261.278931vCalculation:…

3d: windows-make: out of the screen, we should be missing.

eye( 1000.000000, 1000.000000, -1000.000000)C( 1038.488770, 699.077576, -1260.701538) The point ( 200.000000, 0.000000, 100.000000) is not on the other side from eye but out of the screen obviously. ---|482.851715|381.033752|0.000000|488.0…

3d: windows-make: Calculation itself sometimes is not so O.K.

We are on the task which is the assemble and coordination of window-toolkit and meet the error and we must solve it on the more light way if we can.Of course, in the main program for only the print parameter and result for the test, which …

3d: windows-make: What does the windows thread in C call.

On the windows thread. We carry on( ride on and execute ) the functions in C and in C++.In C++, we usually use the class object like the following.1. Set parameters.2. Execute.3. Get the result.So, the program example is like the following…