1

Need Helps how to use GL11.glScalef(x,y,z)

LEOSAURE's Avatar LEOSAURE12/10/18 6:22 am
1 emeralds 389 5
1/8/2019 7:06 am
Toma1O6's Avatar Toma1O6
Hello everyone, I'm creating a mod, and some of the entities I’ve made are the wrong size I know it’s GL11.glScalef(x,y,z), but the problem I know where to use it for info I use MCreator on Minecraft 1.10.2.
                                     Thank everyone, LEOSAURE
Posted by LEOSAURE's Avatar
LEOSAURE
Level 51 : Grandmaster Ranger
143

Create an account or sign in to comment.

5

2
01/06/2019 9:37 am
Level 42 : Master Modder
Toma1O6
Toma1O6's Avatar
Put it in front of the code which is calling the render on the model
1
01/06/2019 10:42 am
Level 51 : Grandmaster Ranger
LEOSAURE
LEOSAURE's Avatar
Could you tell me more about the position of the code because, being that there are several lines of code dealing with the rendering of the model.
2
01/06/2019 11:22 am
Level 42 : Master Modder
Toma1O6
Toma1O6's Avatar
I'm not very familiar with MCreator code style, but since you said, you're creating entities I an sure you're using .java models. So you need to find the entity variable (not sure how it will be called, but it should definitely contain something like entityName.render(some parameters). So you need to find that and insert the scale function in front of that. Also maybe you will need to push and pop matrix if it hasn't been done (using GL11 or GlStateManager).
1
01/08/2019 4:45 am
Level 51 : Grandmaster Ranger
LEOSAURE
LEOSAURE's Avatar
After using the GL11.glScalef command should another command be used or not ?
2
01/08/2019 7:06 am
Level 42 : Master Modder
Toma1O6
Toma1O6's Avatar
If you have the model scaled the way you want to and you have it done correctly then you don't need anything else
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome