Die Suche ergab 23 Treffer

von PicoJr
21. Jan 2018 19:29
Forum: Archiv
Thema: Kore Mipmap and Graphics
Antworten: 4
Zugriffe: 442

Re: Kore Mipmap and Graphics

Hallo/Hello,

Thank you for your reply,

Best regards,

PicoJr.
von PicoJr
21. Jan 2018 15:47
Forum: Archiv
Thema: Kore Mipmap and Graphics
Antworten: 4
Zugriffe: 442

Re: Kore Mipmap and Graphics

Hallo/Hello, Thank you for your reply, I know mipmapping was discussed during the lectures, I was just wondering if the mimap mechanism could be used to efficiently switch between texture resolutions in Exercise 10. We could load mimap texture once (+33% memory consumption), and avoid disk I/O and n...
von PicoJr
21. Jan 2018 15:08
Forum: Archiv
Thema: Kore Mipmap and Graphics
Antworten: 4
Zugriffe: 442

Kore Mipmap and Graphics

Hallo/Hello, I have several questions regarding the Kore lib: What does the numbering mean for Graphics(1,2,3,4,5) and Audio(1,2,3), is it an abstraction level? Texture.h contains: void generateMipmaps(int levels); void setMipmap(Texture* mipmap, int level); What are those methods used for? Could th...
von PicoJr
17. Jan 2018 18:38
Forum: Archiv
Thema: Exercise 10 solution
Antworten: 4
Zugriffe: 666

Re: Exercise 10 solution

Artistic freedom ^^
artistic freedom
artistic freedom
artistic-texture.png (40.68 KiB) 648 mal betrachtet
Best regards,

PicoJr.
von PicoJr
17. Jan 2018 18:17
Forum: Archiv
Thema: Exercise 10 solution
Antworten: 4
Zugriffe: 666

Re: Exercise 10 solution

Hallo/Hello, Thank you! I believe there might be an index swap ^^ It looks like this: texture-color-0.png data[i] = preImage->data[i + 2]; # i+2 should be i data[i + 1] = preImage->data[i + 1]; data[i + 2] = preImage->data[i]; # i should be i+2 data[i + 3] = preImage->data[i + 3]; When the correspon...
von PicoJr
17. Jan 2018 17:13
Forum: Archiv
Thema: Exercise 10 solution
Antworten: 4
Zugriffe: 666

Exercise 10 solution

Hallo/Hello,

I am looking forward reading the solution for P10 Practical Task: Coarse Texture Streaming =)

In exchange here is my P11 ^^
P11 multiplayer
P11 multiplayer
multiplayer-small.gif (168.85 KiB) 666 mal betrachtet
Best regards,

PicoJr.
von PicoJr
12. Jan 2018 13:45
Forum: Archiv
Thema: Exercise 10 Kore::Image, Kore::Texture, threads
Antworten: 8
Zugriffe: 859

Re: Exercise 10 Kore::Image, Kore::Texture, threads

Hallo/Hello,

Thanks for your reply =)

Understood, I'll give it more thoughts.

(Update 0)
memcpy and textures
memcpy and textures
memcpy.png (10.77 KiB) 737 mal betrachtet
(Update 1)
texture streaming almost
texture streaming almost
texture-streaming-4.gif (296.59 KiB) 728 mal betrachtet
Best regards,

PicoJr.
von PicoJr
12. Jan 2018 13:43
Forum: Archiv
Thema: Exercise 10 Textures inside out?
Antworten: 2
Zugriffe: 444

Re: Exercise 10 Textures inside out?

Hallo/Hello,

Thanks for your reply =)

Best regards,

PicoJr
von PicoJr
12. Jan 2018 12:53
Forum: Archiv
Thema: Exercise 10 Textures inside out?
Antworten: 2
Zugriffe: 444

Exercise 10 Textures inside out?

Hallo/Hello,

It looks like the textures are displayed inside out.

texture loaded:
64x64 texture as provided
64x64 texture as provided
64x64.png (839 Bytes) 444 mal betrachtet
texture displayed:
64x64 texture as displayed
64x64 texture as displayed
64x64_displayed.png (1.64 KiB) 444 mal betrachtet
The texture is displayed correctly inside the cube ^^.

Best regards,

PicoJr.
von PicoJr
11. Jan 2018 21:33
Forum: Archiv
Thema: Exercise 10 Kore::Image, Kore::Texture, threads
Antworten: 8
Zugriffe: 859

Re: Exercise 10 Kore::Image, Kore::Texture, threads

Hallo/Hello, Thanks for your reply =) I was doing the lock/unlock inside the stream thread. I tried doing the lock/unlock in the update method (main thread). It works better: std::memcpy(pointer, darmstadt16.data, (size_t) (darmstadt16.width * darmstadt16.height * darmstadt16.sizeOf(darmstadt16.form...
von PicoJr
11. Jan 2018 15:07
Forum: Archiv
Thema: Exercise 10 Kore::Image, Kore::Texture, threads
Antworten: 8
Zugriffe: 859

Re: Exercise 10 Kore::Image, Kore::Texture, threads

Hallo/Hello System: .-/+oossssoo+/-. `:+ssssssssssssssssss+:` ---------- -+ssssssssssssssssssyyssss+- OS: Ubuntu 16.04.3 LTS x86_64 .ossssssssssssssssssdMMMNysssso. Host: Compaq 15 Notebook PC 096C110000405F00050660180 /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 4.4.0-104-generic +ssssssssshmydMMMMMM...
von PicoJr
11. Jan 2018 14:49
Forum: Archiv
Thema: Exercise 10 Kore::Image, Kore::Texture, threads
Antworten: 8
Zugriffe: 859

Re: Exercise 10 Kore::Image, Kore::Texture, threads

Hello/Hallo, Thank you for your reply =) I now understand why .lock() returns u8* . However I don't understand how memcpy can be used to supply a bigger image: memcpy(pointer_to_16x16_image, pointer_to_64x64_image, size_of_64x64_image) will segfault isn't it? The following code snippet segfaults. //...
von PicoJr
11. Jan 2018 00:01
Forum: Archiv
Thema: Exercise 10 Kore::Image, Kore::Texture, threads
Antworten: 8
Zugriffe: 859

Exercise 10 Kore::Image, Kore::Texture, threads

Hallo/Hello, I have several questions regarding Exercise 10 instructions: reload darmstadt.jpg for every box,... What does reload mean here? I guess it does not mean reload image from disk ... ...pretend that every box has a different texture Does it mean each image should be loaded once for each cu...
von PicoJr
20. Dez 2017 20:24
Forum: Archiv
Thema: Solution 8 Linux fix?
Antworten: 2
Zugriffe: 374

Re: Solution 8 Linux fix?

Hello,

Thanks for the fix, it now compiles successfully =)

(Solution 8 commit 3d3935c6bce5f014b23cd8a892b2d1682a09f35a)
(Kore commit 2185462bd4eaf3c3339c330b826c4e187fdae7df)

Best regards,

PicoJr.
von PicoJr
20. Dez 2017 18:46
Forum: Archiv
Thema: Solution 8 Linux fix?
Antworten: 2
Zugriffe: 374

Solution 8 Linux fix?

Hello, On Linux, solution 8 sources did not compile: (Solution8 commit 415935feccfeb169b462384e66c81d5850921cfc) (Kore commit 93120a701bc464d7d89c712c2ff2437989caf19e) [ 41%] Building CXX object CMakeFiles/Exercise8.dir/Solution8/Kore/Backends/System/Linux/Sources/Kore/Input/HIDManager.cpp.o Solutio...

Zur erweiterten Suche