Jump to content

Eisenpaulchen

Members
  • Posts

    37
  • Joined

  • Last visited

Eisenpaulchen's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Ok that worked I now exclude both the glass box and the cube inside from the depth buffer and it looks well enough. Thanks again for the key-word. Did not had a clue what to look for.
  2. By the way the problem with the rest of the cubes block was, that i set its render layer to (due to the glass part in it) to translucent. Ill just have to render the glass box in the renderer too
  3. Okay thx for the key-word. I red something about the matter and what i can get from it, is that my current code does render both water and cube because i do not let the cube write to the depth buffer and thus the water is not occluded (And translucent and opaque triangles seem to be handled differently since the opaque blocks are never occluded by the cube). But still I do not sort the alpha triangles correctly so that in the current state water is rendered over the cube but does blend in a bit with the cubes color. Is that somewhere near the truth?
  4. In case the full repo is usefull: https://github.com/Orothuin/Forge-Forum-Version
  5. Here would be my renderer. By disableing the depthTest or depthMask I can achieve what I initialy wanted but it still seems a bit off (And i am not sure its the right way) and the rest of the block (the cube is just a part of one) is always rendered before the cube so that if looked at through the tinted face of the cube the rest does not seems to be affected. https://pastebin.com/gXS6m7iP
  6. I am trying to render a cube that varys its tranperency (starts by alpha=0 to alpha =1) that is working but if i look through the cube i cant see things that use transperency themself. Like water, glass blocks or so. While blocks like Ice or tinted glass do not have this issue. Is there an OpenGl option that fixes that? Or if not another solution?
  7. Is the forum a bit buggy? I always write my msgs twice or so
  8. I will take this as an motivation to look deeper into the eclipse debugger and its functionalities. Still thank you helping me even though I am apparently stupid . (I just did not knew I could achieve more detailed Informations since in the past the IDE printed the stacktrace without extra work)
  9. I knew the breakpoints but not the other stuff thx for the information
  10. Thanks for the information. But what debugger do you mean? (I only knew the debug tool from my IDE which did not post that information I think) and thx for the advise.
  11. Hope this works. I never used GitHub before 😅 https://github.com/Orothuin/Magiccards
  12. The first thing was there from the beginning before I wrote something, and how shall I provide all of my code ?
  13. I am writing a mod and wanted to test it on a server, but it prevents other players from joining. I can not really get something out of the exception since it is just a nullpointer with no clue where it is thrown. What I did to test it was to start a Lan-World in eclipse and tried to join from a real client that had the same version of the mod. I deleted the file scans in the debugServer.log to make the file smal enough. If someone has an Idea of what I did wrong pls help me out. debugClient.log latestServer.log latestClient.log debugServer.log
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.