Waitrud Weber’s blog

things and reminders for memories

2021-01-01から1年間の記事一覧

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…

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…

windows-make: mp4:

We could find the numbers 0xFFD8 and 0xFFD9. --- we cound find the image: 0xFFD9: i=877458 65497 in 10.we cound find the image: 0xFFD8: i=907732 65496 in 10.we cound find the image: 0xFFD8: i=926280 65496 in 10.we cound find the image: 0xF…

windows-make:mp4

> .\winmain_001.exe0xA0:1600xB0:1760xC0:1920xD0:2080xCF:207 int main ( int argc, char** argv ) { printf("0xA0:%d\r\n", 0xA0); printf("0xB0:%d\r\n", 0xB0); printf("0xC0:%d\r\n", 0xC0); printf("0xD0:%d\r\n", 0xD0); printf("0xCF:%d\r\n", 0xCF…

windows-make: mp4: table for format of mp4.

- - - - mdat moov track leaf 4:size 4:type *recursive or not We are going to choose the way which steps back to from #FFD9. "#000B #XXXX <--- (10bytes) ----#FFD9" That thing is a reivsement for analysis. *Articles: are few now at 20210918.…

windows-make: mp4

We can belive the jpeg dat in mp4 in the line of bold at the most. ---> .\winmain_001.exe .\SANY6907.MP4 argc[i] filename = .\SANY6907.MP4int read_mp4 (char* filename ) starts.we cound find the image: 232 jpeg_count=0 i=27we cound find the…

windows-make: mp4:

We are going to care of the count of file and print, which make the process became slow.MP4 is very big and we can find the end of the 1st jpeg file. 100 X 100 = 10000:So, we have to use more large buffer.We use 30000 large buffer but it's…

windows-make: mp4: we believe the end of jpeg in mp4 files as.

The end of jpeg must be the below: 0xD9:256 - 32 = 224.so, 232. 0xA0 = 160 so, might be 159 (at 20210918). 0x0F = 15, so, I was wrong as recognition (at 20210918). 0xDF: 256 - 32 = 223. ---Tell the file end of image 0xD9 = 217 in 10.int re…

windows-make: read a file in C.

24 itself is not in the alphabet.We can read it by a character buffer. char c_memory_allocation[255]; //https://qiita.com/satken2/items/d14b4113fe3fb5f5597b //https://en.wikipedia.org/wiki/MPEG-4_Part_14 int read_mp4_005 (char* filename ) …

windows-make: read a file in C.

Check the functionarray_count:1. if the buffer is unsigned char,2. if the buffer is char all value, because a binary file has 0 so often in the function get_srring. Here is the function fread in C.fread ( g_dummy, 1, num, structure_fp.fp )…

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…

C_Analyzer: windows-make: we could think of and assume their lootin is like that.

1. Framework is for c_analyzer.2. The lootin should be for the seperated block.3. In 2, on the below example, after keyword of "include", we can find "\"" and "\"" but their situations are different although they are on the same line. So, …

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", …

sounds: the reason is different but their parameter are as same as each other.

If you have 3 speakers, you use 3 sounds devices.Base wave1 sounds and you should solve wave2 and wave3 as A.I.0 = wave1 + wave2 + wave3 (1) If you'd rather love to multiple wave2*wave3, you would have the elements of i*i confirmed even as…

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_…