Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I got this idea after today's talk about Dinnerbone. I got this idea that it's probably quite easy to render something upside down. You probably wouldn't need a whole new renderer or to redefine lots of things on the one you have. I can almost bet it's just a matter of setting one or 2 GL11 thingies or whatever. And your model gets upside down. That would be useful under a lot of circumstances.

 

Does anybody know if I'm right, and if I am, what are the thingies to set to render something upside down?

GL11.glScaled(1,-1,1);

 

will turn the model upside down compared to current matrix origin

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

GL11.glScaled(1,-1,1);

 

will turn the model upside down compared to current matrix origin

I bet this will mess up the model. More exactly: player will see not outer sides of polygons, but inner.

P.S.

Yes, it does:

wYFG2Ox.png

 

So it's better to rotate the model upside down, like GL11.glRotatef(180f, 1f, 0, 0); or GL11.glRotatef(180f, 0, 0, 1f);

xRFaBOG.png

Yes, the model won't be mirrored, but it's only working way i can imagine.

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

yeah i guess, you could also switch the winding order

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.