Jump to content

Recommended Posts

Posted

I know but,

1) wouldn't that be a waste if gpu power? (not that I think my gpu can't handle it but.)

2) how? if we use

list.add(faceBakery.makeBakedQuad(new Vector3f(6.0F, 10.0F, 10.0F), new Vector3f(10.0F, 10.0F, 16.0F), face, redstoneTexture, EnumFacing.UP, modelRot, null, true, true));

we specify 2 points not 4. or can we create our own BakedQuad? and if so how?

Posted

Opposite corners are enough to define a quad which is axis-aligned.

 

BakedQuad's constructor is public. An example of constructing BakedQuads is here:

 

https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe15_item_smartitemmodel/ChessboardSmartItemModel.java

 

Not sure why TGG doesn't use FaceBakery. Maybe because #makeBakedQuad wants a BlockPartRotation and BlockPartFace, which in turn wants a BlockFaceUV ...

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.