Replies: 6 comments
-
Beta Was this translation helpful? Give feedback.
-
With some more debugging, Looks like an issue with the gpu cmd buffer but im not sure whats messing with it or what is missing still |
Beta Was this translation helpful? Give feedback.
-
I don't know much about how the citro3D stuff works, but it would be helpful to have a link to the C code you're trying to port. |
Beta Was this translation helpful? Give feedback.
-
This example is based off of https://github.com/devkitPro/3ds-examples/tree/master/graphics/gpu/normal_mapping New Sources (Not the best) |
Beta Was this translation helpful? Give feedback.
-
I noticed your https://gist.github.com/hYdos/2d6b85539e0602bc0479098ef26f5fb0#file-new_utils-rs-L54-L63 Generally, I think it's recommended to use I also noticed an It looks like you skipped the Otherwise, I don't see anything obvious that jumps out, but I am by no means a c3d expert, still learning how to use it myself, but maybe one of these things puts you on the right track? |
Beta Was this translation helpful? Give feedback.
-
I've debugged the last second thing you mentioned and found out it works without tangents on the C example but ill take a look into |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble porting the Normal Mapping example from C to Rust to test the new bindings. The only difference is in image and shader loading and I can't really put my finger on whats wrong. For some reason the 3ds freezes at
C3D_FrameBegin
https://gist.github.com/hYdos/c260e0afe72200a4872e7f9000ddae5d - main.rs
https://gist.github.com/hYdos/8f4c4bea934714be008d7157b1512c79 - util.rs
Wondering if you guys would have more knowledge to whats going on
Assets should not be the issue as i use the command from the bitmap example in
rust3ds/citru-rs
to generate textures and use picasso to generate the shader bytesBeta Was this translation helpful? Give feedback.
All reactions