Jump to content

true portals mod


giacomo986

Recommended Posts

Hello everyone,

 

I was writing a mod for true portals in minecraft and I made a video of that:

 

 

I'm posting an incomplete work because I'm tired to fight against minecraft rendering and I'm waiting for 1.8 to see if it will be easier to code.

 

If there are people interested in how it works, I'll share and comment the code.

Link to comment
Share on other sites

ok, i'm posting the code.

 

https://github.com/giacomo986/trueportals

 

This code is uncommented but I'll try to explain here:

 

- the area is rendered multiple times.

- to render again the world i cloned some render function.

- to detect where to render i used opengl stencil functions

 

the best thing in that the portal works for all entity in game like mob or arrows.

 

If you need more explanations, ask here because it takes me a lot of time to write down all comments of the code

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.