Open Manyaarvadiya opened 2 months ago
Could you tell me your Forge version?
It's the latest one 1.20.1
Plz tell me you understood what I want..
I wana render your rendered objects even if render distance is set to very low
Also wana mention. I removed all the fog as fog was interrupting the render at long distances. But still it wouldn't render at long distances
this is the difference and thats what i dont want
i want it so no matter the render distance . the render always stays on screen i hope you will change it
It's not possible to render objects beyond the render distance.
Objects at long distance should be rendered like the sun and the moon.
But I wana like render it on screen. So like not in world.
It has been done before
![Uploading Screenshot_20240506-202341.jpg…]()
Ik you will be able to make it. Pretty please make it. It's the only thing that's in the way of finishing my space mod
Ik I am asking too much. But you are the only person I found who was good enough to even make a renderer like this.
So like I just wana rendered them so they are always on screen. Not necessarily in the world
Ik I am asking too much but can you plz also add a method or procedure to know if the entity is inside a render
Please again and thx for making such an amazing mod. It's where I got the idea of even to begin the mod . But as I said there are two problems
Bro you adding so many different things can you please 🥺 add what I mentioned above in 4 comments
Also check the screen shot I sent
I tried looking for classes and methods to do it, but I couldn't find them. It is difficult.
Ok I'll try to explain. Better. It's ok if you can't do it I just really wanted it and found you as the only smart man.
Two things..
1.Render models on screen . And do maths for position. It's aldready done before.
2 Check is player is inside of a rendered model
I'll be super happy if you can do it plz. Atleast one of them.ik you are the only one who can do it
It is possible to keep a object position with global variables, and check if a player is inside an object.
But the planet renders in my mod are tilted. You get it. And what about the 1st thing I mentioned
Sry, I don't know the screenshot. please tell me more.
I should be sry for not telling you more info. It was my idea on how it was suppose to work but it got taken into create aeraunautics and since they haven't released it no examples are there.
How it works is. You ender the models separate from the world that means a new world overlaps the origional one. The new world is never loaded but the models are rendered there. That's means a model placed at 0 9 0 will be rendered in the new world and will be over lapped in the origional world. So it world pretty much result in models at certain coordinates without them being rendered in the original world
Other method You render the models on client screen and then change their size based upon the coordinates you decide on world . That means if a models coordinated are 500 blocks far away from player. The model would render on players screen with a small size but if player gets near the coordinates in world like say 20 blocks away the size displayed would get bigger. Basically 3d on 2d Minecraft screen
2 option is much easier as it only requires little math. But ig both are easy for someone like you
Just try something. Ik you'll do it
![Uploading Screenshot_20240507-222747.jpg…]()
Method 2 as I explained
Plz try something.
Dude you are literally a true chad. Seeing the changelog I can see where this is going I am sure you will do it and finally my mod will be finished. It will be a grand mod. I'll even mention you in the title screen
So what are you basically adding
Are you gonna add what I asked for 😀??
Yes it works butt not the way I wanted. It is displayed on screen. But like i want it so it changed size based on my world coordinates. Plz integrate that and integrate model support in local coordinates.i also have one question.
Are the shapes rendered in local coordinates visible to others.
But I basically I don't wana drag the model with me. I wana be able to freely roam around it. So like
You are actually able to visit the sun in the pic.
Bro why you not reply here
I still can't understand your screenshot completely. Could you send me more screenshots?
Rendering objects in the outside of a render distance: It is difficult to do it with models, but it is possible with shapes. On an event trigger "Render shapes", render scaled shapes in the sky so they all fit on the distance.
Here is an example for rendering a cube at (10000, 10000, 10000).
You realise you are a god? .why don't you add it as a template.can you also tell what I need to change if I wana change the coordinates of the render .You are so so smart.
But .I got one question. Are the rendered shapes visible to other players
Also can you make this work for models. As I kinda was doing this thing with rendering a block model 😁
It is difficult to do with block, item and entity models.
If the positions of objects are synchronized on the client and server side, it will be visible to all players.
I don't know what is considered synchronised and what's not. Also add this for rendering modles and templates. Btw you are literally a god for coding this lol
In order to synchronize the positions, save them to global variables. The variables should not be set or changed on the client side. The variables are not synchronized from the client side to the server side.
In order to change the position, set the variables "Cube X/Y/Z".
K .rest all will happen automatically?. Also you are adding model support right?
I'm trying it, but still don't know whether it is possible.
K but plz try it would make it so much easier . Ive 19 solar systems/centauries
Did you do it for models? 😀
You added so many things above my head . Just explain me later how to achieve what I want
I think what he is trying to achieve is to render an object on the skybox, so it would always be visible. Like moon or the sun, but more of the third object that doesn't move. I assume this is supposed to be a planet in the distance. If it is, then it should be rendered on the skybox.
Don't worryvman. Sumeshi knows what I want. He already implemented it. Just for shapes while previously I was using render blocks to achieve it. But I am fine with it. It just needs to work
1.5.4 amazing. Just tell me how to render a cube how I want with a texture :)
Plz look here ...
See a procedure template "Graphics - Shape - Render a head"
Your plugin is really really nice. I am about to complete my space mod. It's a really big mod and a bangger.
Idk if I am dumb but can you please implement a method to always render the models on screen. So like even when I get thousands of blocks away from the models they still stay instead of disappearing after a distance.
Plz help me. I just wana make it so the whole solar system can be displayed at once but even at a greater distance you can look at all planets