• Advertisement
  • Popular Tags

  • Popular Now

  • Advertisement
  • Similar Content

      basically I want to learn more about Creating music for video games. I am not asking for payment but a chance to make some custom music for your project.
      I don't mind working on something short like a trailer or even up to a 1hour of gameplay. Rather than just making music without any project in mind I want to work on something custom.
      My instagram is @nickMakmusic
      I am open to any genres and want to find my style and such.
      I put my Soundcloud and Pond5 Links Below
    • By MoreLion
      Project Name:The Legends Gate:Battle Of Sorrugar
      Studio: Inbound Entertainment.
      Engine: Unreal Engine 4
      Platforms: PC And Mac(Steam) & Xbox One/PS4 (Very Very Far Future)
      Team Size:3
      Compensation: Royalty/Payback After Funding
      Roles Required:Environment Artist/3D Animator/Level Designer And Unreal Engine Programmer And Any Others!
      Project Length: Hoping For Release In 2020/2022
      [3D ANIMATOR/ENVIRONMENT ARTIST] - Realistic Assets/Textures - GUI Creation - Environment Asset Creation - Create Animations
      [PROGRAMMER REQUIREMENTS] - Fluent Programming - Work With Other Programmers And 3D Artists - Must Be Able To Create Combat Systems And NPC AI Systems
      About Me: I’m A Game Designer With A Bit Of Experience, I’ve Been Working On This Project Game Design Wise For Nearly 4 years.
      The Project Has Changed So Much, especially Story And GamePlay Wise.
      Project Description: Hello! Me And A Concept Artist Are Looking To Start Up This Team, You Can See What We Are Looking For Above, The Game Is A First Person RPG And Is Also Open World, This Is An Ambitious Project That I’ve Been Working On For 4 Years Game Design Wise And Story Wise. I Will Tell You More About The Story When You Apply Below. Also We Welcome Any Other Skills You Want To Offer As The Game Is Currently In Pre Production And Building A Team Is Very Important.
      Apply:DM Me On Discord riobio55#1958 or email me at liondude12@gmail.com
    • By elect
      ok, so, we are having problems with our current mirror reflection implementation.
      At the moment we are doing it very simple, so for the i-th frame, we calculate the reflection vectors given the viewPoint and some predefined points on the mirror surface (position and normal).
      Then, using the least squared algorithm, we find the point that has the minimum distance from all these reflections vectors. This is going to be our virtual viewPoint (with the right orientation).
      After that, we render offscreen to a texture by setting the OpenGL camera on the virtual viewPoint.
      And finally we use the rendered texture on the mirror surface.
      So far this has always been fine, but now we are having some more strong constraints on accuracy.
      What are our best options given that:
      - we have a dynamic scene, the mirror and parts of the scene can change continuously from frame to frame
      - we have about 3k points (with normals) per mirror, calculated offline using some cad program (such as Catia)
      - all the mirror are always perfectly spherical (with different radius vertically and horizontally) and they are always convex
      - a scene can have up to 10 mirror
      - it should be fast enough also for vr (Htc Vive) on fastest gpus (only desktops)

      Looking around, some papers talk about calculating some caustic surface derivation offline, but I don't know if this suits my case
      Also, another paper, used some acceleration structures to detect the intersection between the reflection vectors and the scene, and then adjust the corresponding texture coordinate. This looks the most accurate but also very heavy from a computational point of view.

      Other than that, I couldn't find anything updated/exhaustive around, can you help me?
      Thanks in advance
    • By ANIO chan
      Hi, I'm new here and would like to get some help in what i should do first when designing a game? What would you consider to be the best steps to begin designing my game? Give resources with it as well please.
    • By RoKabium Games
      While looking out for that pesky Terrator, our little alien is doing a bit of relaxed mining down on the new gas planet "Lelantos" this weekend.... 
      #gamedev #indiedev #madewithunity #screenshotsaturday
  • Advertisement
  • Advertisement

Artemis ECS + Kryo network sync

Recommended Posts

I'm using artemis-odb for my prototype. I have managed to get the "KryoArtemisSerializer" to work and serialize my world (or just a few selected entities). I now want to transmit this data to another peer (I am doing this with Kryonet). The de-serialize is working, the only problem I ran into is, that I can't seem to tell the "WorldSerializationManager" to update my entities instead of always creating them.

I use

world.getSystem(WorldSerializationManager.class).load(inputstream, SaveFileFormat.class);

to load the data from my byte input stream that was created by Kryo. Is there another way to de-serialize the entities and process them manually?!

Any insights highly appreciated!!

Share this post

Link to post
Share on other sites

Hi, a bot twitter account retweeted this under jobs ;)

There's unfortunately no straightforward way of deserializing entities without creating new ones. It could *probably* be done with a custom serializer based on the Kryo one, but I'm not sure how much work it'd entail + might require some changes to the underlying artemis code.

The culprit is the EntityPoolFactory - which always creates new entities when deserializing; but even if entities are matched against existing ones, new components would be instantiated during each deserialization, which may be somewhat costly in terms of performance/GC - depending on how frequently entities are updated.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement