-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More samples #2
Comments
Right now I sadly don't have the means to add these examples myself, however, I'll gladly assist you with these tasks, regardless whether you'll create a PR or not. First of all, an OBJ-model can be loaded via In it's current state, this library doesn't support skeletal animation. You could, however, use frame-based model-animation. For that you will want to use For custom shading, you can provide a shading-function to the two draw-functions of For a skybox, this isn't a primitive-feature of the library, so you would need to implement it yourself. You could simply draw a |
I had figured out how to load models yesterday on my own but I hadn't seen the t_shadingFunction parameter yet thanks! I'll have to play around with displaying on both screens and I'll put together a couple examples in a PR for that. I've also kind of figured out a skybox using a similar method to As for animation, I'd rather put together an example that actually performs well. In which case it seems like I should figure out how to add skeletal animation to the library and open a PR there before adding an example :) I really appreciate all the help! |
Yes, skeletal animation definitely is the better approach. If, back when I made this, I had known how to do it, it would already exist :P The problem right now is that it would need a big restructuring of the |
@StuntHacks I've got the model loading PR open and another WIP for the toon shading. I wouldn't mind some help with that one as I'm very lost when it comes to PICA200. Some pointers to a good tutorial/language reference or two would be appreciated. I'll likely work on the skybox next. |
I'm having trouble figuring out how to properly implement toon shading. I've figured out how to load my own shader and bind it, but I'm not able to override the values that |
Hi, sorry for not replying earlier, I just now saw this. In theory, |
Sure, here is what I have currently: https://github.com/Eeems/m3dctr-examples/blob/toon-shading/graphics/3d/toon-shading/source/main.cpp I think I may have some uncommitted changes that I'll push up later. |
It looks like I don't have any uncommitted changes. I likely gave up trying to get it to work and didn't think any of my code was worth keeping. |
I am looking into it, although I'm currently rather busy with other stuff, sadly. However, I will definitely come back to this from time to time during the next days, if you still want to do this one. It may be that this is an actual issue with the library itself, in which case I will definitely create a hotfix. |
I'd like to see a couple more samples include. I'd be happy to open a PR with them myself after getting some help figuring them out.
The text was updated successfully, but these errors were encountered: