hugoam / two

c++ toolkit for rapid development of live graphical apps and games
zlib License
1.68k stars 92 forks source link

Example 05_character renders incorrectly #12

Closed hoelzl closed 4 years ago

hoelzl commented 5 years ago

To compile example 05_character I had to modify the file name for the character model (the trivial patch is attached after the text.)

After doing that I get the following output instead of the expected animated character:

2019-01-09_18-39-54

(Built from the latest master (00fc8af) using VS2017 on Windows 10 Pro 64 bit with GeForce GTX 1080 graphics card, driver version 417.35, 4k monitor.)

05_example_file_name_fix.zip

hugoam commented 5 years ago

The missing character file is due to the files being out of sync, which I fixed in https://github.com/hugoam/mud/commit/f38fdcfc88ff00e51352977de1dd8e0f47d70085. I've had similar reports of the character skinning not working properly on GL, can you please send me the console/debug log of that one so I can check ?

hoelzl commented 5 years ago

Console and debug log for the OpenGL build are as follows:

05_character_console_output.txt 05_character_debug_output.txt

Just like example 3, the demo works when I switch do D3D.

hoelzl commented 5 years ago

When building from 6ed1f1c01595ca312dbe758bc05a19ee64834c05 the output no longer looks quite as random when using OpenGL:

05_character_d_2019-01-11_15-56-27

I'm not sure how clear this is from a still image, but you can now see the ground plane and the character's base circle, and you can move the character around, but the mesh looks as if it somehow explodes around the character's origin.

hugoam commented 4 years ago

It took me an incredibly long amount of time to figure this out, but I think this issue is now solved.