Jump to content

Recommended Posts

Posted

I need some help figuring out how to render a placed block as a sprite, similar to how Thaumcraft's nitor is. I think it will serve my purpose better than a custom model, and I'd think, will be easier to implement. :P

Posted

Nitor isnt a block that renders as a sprite. It is an item that places a block.

 

The block that Nitor places is rendered as a sprite with accompanying particle effects. It's definitely what is going on there, but I don't know enough OpenGL stuff to figure out what to do to replicate the effect.

Posted

You need an ISimpleBlockRenderingHandler. (Whew, that is a mouthful.)

 

Thanks for the push in the right direction! Now I just need to figure out what the parameters are for rendering a sprite. :P

Posted

You can use ISimpleBlockRenderingHandler or if you're using a tile entity, you can extend from TileEntitySpecialRenderer (or you can use both at the same time). Thaumcraft doesn't use either of them though. It uses particles.

Posted

It uses particles.

 

So basically the main orb is a mostly static particle? I considered that idea, but I'm pretty inexperienced with particles, so I'll have to do some research! :D

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.