forum Forumsplay_arrow Minecraft fiber_manual_record Mods

1

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

1 emerald5 replies66 views
created 12/10/2018 6:22 am by LEOSAURE
last reply 01/08/2019 7:06 am
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 avatar
LEOSAURE
Level 25 : Expert Ranger
27

5 replies

2
01/06/2019 9:37 am
Level 22 : Expert Modder
Toma1O6
avatar
Put it in front of the code which is calling the render on the model
1
01/06/2019 10:42 am
Level 25 : Expert Ranger
LEOSAURE
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 22 : Expert Modder
Toma1O6
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 25 : Expert Ranger
LEOSAURE
avatar
After using the GL11.glScalef command should another command be used or not ?
2
01/08/2019 7:06 am
Level 22 : Expert Modder
Toma1O6
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

Search

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome