-
Notifications
You must be signed in to change notification settings - Fork 17
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
Ability to render mobs. #12
Comments
Just to add on to this, this would be awesome for us at the FTB Gamepedia who don't have time to create advanced renderings :O |
Would like an update on this! |
I've been busy with work and haven't really had time to work on any of my mods. |
Since mobs can come with different NBT and such, I would say pressing the render key while looking at the mob should render that specific one. |
@unascribed I figured out how to render entities like this:
Need a whole GUI with options and stuff like to flip axis' because some mobs like Ender Dragon are backwards. |
It seems that the renders will have to be manually sized, because the bounding boxes are not accurate on lots of mobs. |
Cant you just increase the scale by 1 until it exceeds 512 pixels? |
You can't just ask the GPU how big something is. That isn't how it works. |
I did it myself. I just start from scale 0 and add 1 to the scale until the longest part of the read image reads more than 512 pixels, and then scale it down by one and that is the final image. |
readPixels is an extremely slow operation and this would make bulk renders unacceptably slow.
…-------- Original Message --------
On Jul 18, 2019, 06:32, Michael wrote:
I did it myself. I just start from scale 0 and add 1 to the scale until the longest part of the read image reads more than 512 pixels, and then scale it down by one and that is the final image.
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#12), or [mute the thread](https://github.com/notifications/unsubscribe-auth/ABPGATMEFHEKSCKGKGDWNATQABWFTANCNFSM4CYI4ERQ).
|
Yes the game lags for a second, but usually you want to do renders for mobs on-demand, because there are many variables you might want to render, like dye, armor, etc. |
Due to the usage of the DataManager for entities, all permutations of entity properties can be iterated automatically. The game lagging for "a second" is extremely expensive when you start thinking about hundreds or thousands of renders. If you were to PR this I'd probably merge it, I've stopped caring about Minecraft. Trying to present my concerns and explain why I think this is a bad approach. |
This is the feature that will complete the mod. We have these nice block renders for wikis but mob pages are lacking nice renders. This will even help the vanilla wiki because the new 1.11 mobs are lacking good renders as the people who made the good ones in blender have dropped off the face of the earth.
The text was updated successfully, but these errors were encountered: