Jump to content

Recommended Posts

Posted

I am making a custom rendered block called a Blender. I used Techne for making the model.

However, as you can see here, the bottom of the block renders bad, plus the lighting's off.

 

width=800 height=449http://i1156.photobucket.com/albums/p580/electricx9001/2014-05-18_160051_zps089dafe4.png[/img]

 

Here is my code:

 

BlockBlender:

  Reveal hidden contents

 

 

ModelBlender:

  Reveal hidden contents

 

 

RenderBlender:

  Reveal hidden contents

 

 

ItemRenderBlender:

  Reveal hidden contents

 

 

I have messed around with this code, and tryed to base it off the vannila code as much as I could(mainy Brewing Stand) and it still doesn't work.

Posted

    @Override
    public boolean isOpaqueCube(){
        return false;
    }

in the block class should fix at least some of it.

 

Now that I look closer you seem to have tried-

   public boolean isOpaqueCude(){
      return false;
   }

Which should encourage you to use that Override annotation.

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.