Waitrud Weber’s blog

things and reminders for memories

2021-09-01から1ヶ月間の記事一覧

:: the code in the table.

1 2 int display_threeD_screen_initialize () { vPoint* eye = nullptr; printf("display_threeD_screen_initialize:memorized_CurveLines=%d starts.\r\n", memorized_CurveLines ); if ( call_once_display_threeD_initialize == 0 ) { call_once_display…

: :

Codes displayed well, and we are going to consider the layout so that we could use it well.

: :

int display_threeD_screen_initialize () { vPoint* eye = nullptr; printf("display_threeD_screen_initialize:memorized_CurveLines=%d starts.\r\n", memorized_CurveLines ); if ( call_once_display_threeD_initialize == 0 ) { call_once_display_thr…

: :

1 int display_threeD_screen_initialize () { vPoint* eye = nullptr; printf("display_threeD_screen_initialize:memorized_CurveLines=%d starts.\r\n", memorized_CurveLines ); if ( call_once_display_threeD_initialize == 0 ) { call_once_display_t…

::

int display_threeD_screen_initialize () { vPoint* eye = nullptr; printf("display_threeD_screen_initialize:memorized_CurveLines=%d starts.\r\n", memorized_CurveLines ); if ( call_once_display_threeD_initialize == 0 ) { call_once_display_thr…

: :

1

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…

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 …