-
Eclipse Debug Mode
Just encase anyone stumbles upon this later, I downloaded lwgl 2.9.4 (Same version that's in the build path for my project) and extracted it to a 'lwgl' folder in my project. I then added -Djava.library.path=/path/to/extracted/zip to my run configurations, and it's now working as intended. I must have another version of LWGL somewhere it found/was using.
-
Rendering Chunk Outline
I already translate to the xyz params - still doesn't work. I'll take a look at that DebugRenderChunkBorder thing see if I can get it from there.
-
Rendering Chunk Outline
@Matryoshika Implemented that (pretty much exactly as written) but swapped out the PseudoPoint list for BlockPos as it's handled the same way. What should this list contain exactly? The points to draw the line between? If so, still isn't working for me. It must be my implementation somewhere. Do you have any suggestions?
- Rendering Chunk Outline
-
Rendering Chunk Outline
I've been trying to render a border on a chunk - I'm using RenderGlobal#drawSelectionBoundingBox to try to achieve this, but it's not working as intended (Can't actually see the box). Code is as follows - The AABB min and max positions are correct (the lower and upper boundaries of the chunk) but presumably I'm missing something stupid here. Can anyone point me in the right direction? public void renderChunkBorder(TileEntityElemental te){ GlStateManager.pushMatrix(); { GlStateManager.enableBlend(); GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO); GlStateManager.glLineWidth(2.0F); GlStateManager.disableTexture2D(); GlStateManager.depthMask(false); Chunk c = te.getWorld().getChunkFromBlockCoords(te.getPos()); AxisAlignedBB chunk = new AxisAlignedBB(c.getPos().getXStart(), 0, c.getPos().getZStart(), c.getPos().getXEnd(), 255, c.getPos().getZEnd()); RenderGlobal.drawSelectionBoundingBox(chunk, 1f, 0f, 1f, 0.5f); GlStateManager.depthMask(true); GlStateManager.enableTexture2D(); GlStateManager.disableBlend(); } GlStateManager.popMatrix(); } Edit: Calling this in a TESR.
-
Armour Models
Yeah it was just an extra step to my laziness (Having to install a new version). I'll go with Qubble though. Thanks!
- Armour Models
-
Armour Models
Howdy, I'm trying to create a custom armour model - I've got the implementation sorted, but, I need to actually create the model. From what I can tell, Techne has been discontinued, and there's no real replacement as of yet (Not that Techne was fantastic anyway). Does anyone know of a model creator for entities/armour? (Yes I'm lazy and want a GUI). Any suggestions would be appreciated.
- Item Model Rendering Question
-
Item Model Rendering Question
@Choonster Model JSON (Long): http://pastebin.com/42Uunai5 // When rendered: http://prntscr.com/ef7cg1 There should be a coloured sphere within that transparent sphere. It's simply not rendering. As I said, it renders in the model creator (Using Cubik)
-
Item Model Rendering Question
I have a custom model that I'm using for an item. It doesn't seem to load properly in game, even though it looks perfectly fine in the model creator. The issue is that I have a solid, coloured shape inside a semi transparent cube - the semi transparent bit works just fine, but the coloured shape doesn't render. Do I need to be rendering this in a special way? I've tried moving the textures from two files into one etc, but still no success. Has anyone managed to do this before? If so, how? Thanks in advance.
-
Eclipse Debug Mode
Regardless, updating drivers didn't seem to work either. Thanks for the suggestion, though.
-
Eclipse Debug Mode
Wasn't what already fixed?
-
Eclipse Debug Mode
Still having this issue, does anyone have a solution?
-
Eclipse Debug Mode
No worries, thanks anyway.
IPS spam blocked by CleanTalk.