Waitrud Weber’s blog

things and reminders for memories

3d

3d: windows-make: Display some Objects with Cursol.

Cusrol Controls: First Step: 1. Choose Cursol 8 with Arrows Up and Down.2, And, You can recognize the Ellipses on the canvas. Their process was very fast. Ellipses Cursol Contorols: 2nd Step: 3. You press the key "TAB" and can choose one o…

3d: windows-make: Using wCanvasContoroller.

When we use class wCanvasController, we might use the cursor interface very smooth because it is still allocated on the memories in C++.That is on 2 on the below. windows-thread function calls, 1. The function in C. 2. The member function …

3d: windows-make: we can print memories.

You press, "f" -> "h". you could see the 3 diplayed axex and print memories of points. line_num is from 3 to 12, lines: 12 * 2 = 24,lines_2D: 12 * 2 = 24, because they have 2 points and line_num start is from 0.And the other memories were …

3d: windows-make: Calculation on 3D is on the WM_KEYUP and the other cases doesn't matter here.

1 2 8/31 We couldn't print memories but it was O.K. on this test.We couldN7t display the axex but did it well unless we put the print memories lootin. https://github.com/WaitrudWeber/source_zip/blob/master/display-20210831-001.zip 3 9/1 Th…

3d: windows-make: Calculation is mistaken in 3D before converting it in 2D.

lines in 3D is wrong, at least, I could print it. --- execution 001 ---int vCalculation::subtract starts p1|007BA648| p2|007BA630| p3|0028FB50|p1->x 442.474457vCalculation::subtract:111 starts.|0028FB00|0028FB04|0028FB08||442.474457|310.71…

3d: windows-make: WindowsAPI: we can check axex on the 3D as coordinates.

function Approach_vAxex_2D doesn't change when their movement is small.And, we put CheckAxex() after the calculation of axex.But axex is not printed well at any time.So, we think, after converting the axex on the screen, is their calculati…

3d: 3 axex to the point.

In program, there is an inspection itself on the code.On riding machines like a train and an airplane, we must check if the lootin parameters and the results of the calculations and the situations are right or not so that we could shut dow…

3d: windows-make: windowsapi; We cleared the test of looting.

The lootin itself is well. download: https://github.com/WaitrudWeber/source_zip/blob/master/display-20210818.zip --- execution 001 ---n-02-03: i 11 line_index = 12 lines_001[11]=|003A9E58|/ lines_001 |003A9D80| lines_0012D[0] =|00000000| /…

3d: windows-make:Which function belongs to the place where we have to clear.

We are going to settle the functions on the table like the below. Table1. Thread work architecture 1 thread type function type file 2 keyup a = spin_screen(); 3d Calculation display_threeD.cpp 3 keyup int b = convert_model_lines_002( (vLin…

3d: windows-make: we cleared the simple test of lootin.

Calculation is set to the base lootin well. --- execution 002 ---...free_point starts. |0003AF30| dummy_vPoint_index|2|free_point ends. |0003AF30| dummy_vPoint_index{1}free_point starts. |0003AEA0| dummy_vPoint_index|1|free_point ends. |00…

3d: windows-make: Before ataching winmm.lib, there is a source code.

I found free_point was an error.We could process the work of the previous error which means recover of it and the test result is O.K. void free_point ( vPoint* p ) { printf("free_point starts. |%p| dummy_vPoint_index|%d|\r\n", p, dummy_vPo…

3d: sound: windows-make: with mmcompilation we can test by use uf debug_console.

It doesn't work well. And we'd rather love to use more "printf" without mmcompilation only for the sound.url: https://waitrudweber.hatenablog.com/entry/2021/08/13/220225download: https://github.com/WaitrudWeber/source_zip/blob/master/displ…

linux: memorization is stable, we can think. threre is no any other way.

#include #include #include "Axex.h" int main () { //x Axex** axex = nullptr; Axex** axex = NULL; axex = (Axex**) malloc (sizeof(Axex*) * 10); for( int i=0; i<10; i++ ) { axex[i] = (Axex*) malloc (sizeof(Axex) * 10); printf("axe[%d]=%d\n", …

3d: windows-make: WindowsAPI: memorization well and display of 3 axes.

Buffer indexes are wrong, I'm sorry for that.Anyway, I also change the axes buffer array to the fixed one. 3 axes is displayed well. int nDisplayControls_wmpaint_display_threeD_proc ( HWND hWnd, HDC hDC, PAINTSTRUCT* ps, UINT uMsg, WPARAM …

3d: windows-make: WindowsAPI: memorization well and display of 3 axes.

Memorization is solved if we use the fixed memories array of classes.And something wrong happened as calculation of axes for their display. an axes is wrong displayed. *axex -> axes

3d: windows-make: WindowsAPI: We give up caring of allocation.

On the code:1. if lines[i] is null.*i equals index.And, we are going to use another buffer fixed because we can care of if we know the line after.We put the m_thread_sleep after new allocation and would give it up that allocation.m_thread_…

3d: windows-make: Compilation with Keyword "new".

Typical pattern, we cannot allocate memories. as a typical pattern, we cannot allocate memories. One of the answers is using "new".The thread doesn't wait for the next line as a process well even in for-loop.--- Execution 001 starts. ---- …

3d: windows-make: WindowsAPI: Bubbling:

We create the bubbling which affects us cool and smooth.(image)

3d: music: WindowsAPI: windows-make: it sounds wave files well.

We can put the sound-lootin in cg_schema.We can sound the wave file in this interface. download: (image) if you press "b", it sounds well. Debug console is necessary for this compilation with wimm.dll. (20210727)Creating a system wave is v…

3d: WindowsAPI: windows-make: initialization is changed.

We modified and created new lootin : iDisplayControls_wmpaint_display_threeD_proc ( HWND hWnd, HDC hDC, PAINTSTRUCT* ps, UINT uMsg, WPARAM wParam, LPARAM lParam )and booked it as case 14 cg_schema. download: https://github.com/WaitrudWeber…

3d: WinAPI: windows-make: memorization error is true or not and we can skip it.

We can skip this problem.lines memories address|00828020| is always allocated. Scanning the pointer in the for-loop failed. |00828350| is still hold on the memories, but at the lines[0] it doesn't exist. ---WM_MESSG 000: hWnd 721456: uMsg …

3d: WinAPI: windows-make: memories are allocated well.

We ensured that axes were memorized well on the below. --- execution 000 ---baselootin_025: starts.dummy_vLine[0] = |003A8350| / 8L|003A8350| p|003A1108|( 0.000000, 0.000000, 0.000000)p|003A10F0|( 500.000000, 0.000000, 0.000000)dummy_vLine…

3d: windows-make: memorization error happened and we can put the observer of memorization error, so, it works at the least we think so.

We can print the memorization pointer, so, it works well.The below is if lines[i] equals 0 ( which means lost the address of pointer), the program print memories and exit(-1) as an error. // int hDisplayControls_wmpaint_display_threeD_proc…

3d: windows-make: windows-make is very good as considered.

In windows-api, the program can have a lot of user messages in one windows-thread, which is very good for us.Considered: Command Assembling, which is very good on Windows thread.Cursol + EnterCursol + Key "p"Key "p" table 1. Command interf…

3d: windows-make: We also have the check of 3D lootin as traditional not modern.

1. Spin can initialize all displayed parameters. 2. If we push "right arrow", all lines are displayed. 3. So, first, we stop calling modeling lines and recognize spinning axes. 4. We are going to check if 1) Model doesn't change in the 3D …

3d: WindowsAPI: windows-make: cursol doesn't work only on the 3rd menu.

Cursol on the 3rd menu from top as p_evt->main_mode, we wrote on a windows thread and doesn't change that cursol if we push UP=38.baselooti_002 ends safely, sp, we think in the wBuuttonController.And, we modified the wButtonController and …

WindowsAPI: user message is changed after call the WM_PAINT.

We can not consider that lootin if we write the code block of case in WM_PAINT. We have the Controler wButtonControler and wCanvas and after we call them we relased all painted work resources and uMsg is changed and Consider code blocks. W…

3d: which side where you are:

If you were on side of cones, we could catch you. Actually, we try to catch spreading particles in the space. vUtil.cpp Wed Jun 09 18:57:02 2021 1 :#include 2 : 3 :#include "vPoint.h" 4 :#include "vLine.h" 5 :#include "vTriangle.h" 6 :#inc…

3d: windows-make: carry on cg_lootin.

We prepared 30 schema as the window lootin of tanion so that we could't be confused to execute lootin.And, in the lootins for protection of resource on the memories we have the procedurelike initialize or start and release at the end.And, …

3d: windows-make: Code Block 001 trouble in the source text file.

There is a compilation error of one of Code Blocks, Code Block 001 below. Code Block 001: .\display_threeD.cpp Fri Apr 02 11:27:05 2021 ... 229 : // step base vector, cross_step is up of spining which doesn't change. 230 :// if ( croos_ste…