Code Talk
Coders and would-be coders alike, this is the place to talk about programming.
28 topics in this forum
-
I need some help regarding the c++ script i wrote it reads normal data as floats from obj file then convert it into byte and inject it into the binary game file but some how the normals data mess will vertices data and in game the vertices explodes without normal injection the mesh works fine in game. Also that normal data is within the vertices section. I have provided pic of the AXE mesh reaper u can see normal starting offset in file as well as face count vertices every info in the image also i have provided the model file as well and my c++ code which only inject normals from obj into the binary file you can check the script and see where my mistake and correct it i w…
-
-
- 10 replies
- 2.7k views
- 1 follower
-
-
-
Hello there There's a way to load DDS image directly from bytearray, without use temp files? Looks like the rapi method "deferToOtherHandler" should do this job, but its returns None and not preview textures, so something wrong I suppose. This called once from LoadRGBA method. ................ Found what I needed. Its the method rapi.loadTexByHandler. The Readme file formatting is very intuitive 😄
-
- 0 replies
- 1.6k views
-