KorGE

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Some questions regarding KorGe3D

    General
    2
    4
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LuxxorOne last edited by

      I know that KorGe3D is in preview/experimental but I still got some questions:

      1. Is it possible to assign a color to a material without applying a texture?
        I tried to find out how to do that but I couldn't make it work.

      2. Is there already any way to check for overlaps? (Not physics, just general overlaps)
        I think this probably can be done in code directly but I only know how to do this in Haxe, not in Kotlin/KorGE.

      3. Mipmapping?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • L
        LuxxorOne last edited by

        Also I tried to track a 'cube' which moves in 3D space with a drawn 'rect' in 2D space.

        val cube = box().position(1, 1 ,1)
        val rect = solidRect(50, 50, Colors["#6d95ff3d"]).xy(10,10)
        
        rect.addHrUpdater { rect.xy(cube9.x, cube9.y) }
        
        tweenAsync(cube::x[10], time = 3.seconds, easing = Easing.EASE_IN_OUT)
        tweenAsync(cube::y[5], time = 2.seconds, easing = Easing.EASE_IN_OUT)
        tweenAsync(cube::z[400], time = 10.seconds, easing = Easing.EASE_IN_OUT)
        

        Obviously this didnt't work so well...
        Any idea how this can be done? (That way I could fake clickable 3D objects for now...)

        1 Reply Last reply Reply Quote 0
        • soywiz
          soywiz last edited by

          Unfortunately at this point, it is super experimental and more a proof of concept. @dhakehurst is making some contributions in korge-next related to KorGE3D: https://github.com/korlibs/korge-next/pull/23 but since that's a contribution I'm not sure how far that will reach on KorGE 2.0. The official plan is to work on the 3D part on KorGE 3.0 but since 2.0 is not released yet, it is a bit early for that

          1 Reply Last reply Reply Quote 0
          • L
            LuxxorOne last edited by

            I see, no problem. I was expecting that this might be pretty far out there.
            Thanks anyways!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post