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 have a wavefront model loaded using a tileentityspecialrenderer and I would like to animate the texture. Is this even possible? I know that the tesr is rendering the model every second, so that means it is doing the same for the texture, right? I tried using a mcmeta with the texture like you'd animate a block, but it just garbles the texture, which I should have guessed would happen. Would I have to switch to a ISBRH instead, and can I even use an obj with that method?

Hi

 

You can certainly use a TESR to change the texture.  Your wavefront is rendered fresh every frame, you just need to reassign the texture before each call to the wavefront renderer.

 

this.bindTexture(myTextureForThisFrame);

 

Check out TileEntityBeaconRenderer for example.

 

Make sure you set up the textures for the different frames once and swap between them each frame, don't create a fresh one every frame or it will be unnecessarily slow..

 

-TGG

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.