alloystorm / dvvr

A versatile character model viewer and motion player that supports a range of model and motion formats including PMX (MMD) & XNALara/XPS models, as well as VMD/BVH motion formats.
http://vrstormlab.com/
71 stars 2 forks source link

Save & Load Scene Issues #311

Closed Judas87Swiff closed 5 months ago

Judas87Swiff commented 6 months ago

Describe the bug Two problems:

### In-Ground Camera Issue 1A. When saving a new scene and then immediately loading it the Free-Fly Camera appears under the "ground" floor, then if reloaded again the camera appears at the correct height.

### Model Height, Y-Axis Issue 2B. When moving a model vertically along the Y-Axis specifically a model raised higher than the floor, upon saving then loading the scene at a later time the model(s) will magically be moved on to the floor instead of keeping their "saved" height. Is Y-Axis not being saved? Or just reverting to on the ground as a default? Save then load scene, end up below floor +++ Load a Scene that should have a model set to a specific Y-Axis value other than 0 resets it to zero or it simply never saves the Y-Axis Value in the first place.

==============================|| To Reproduce

### In-Ground Camera Issue 1A. Steps to reproduce the behavior:

  1. Load a SCENE file that has a "stage model" file and the camera will be underneath the GROUND.
  2. This usually only happens after starting up DanceXR from a cold boot (Not a fresh install), and only the first time each DanceXR session, the second load in a session is often fine.

### Model Height, Y-Axis Issue 2B. Steps to reproduce the behavior:

  1. Apply motion data to a model.
  2. Save Scene Data.
  3. Load Scene Data.
  4. Witness Model not saved at the proper height. Model should be on the floor (feet to floor) or barely above the floor.

==============================|| Expected behavior To save then load a scene and have the camera stay at a preset or default player height. To have a model's saved distance from the floor load properly when a model's feet aren't touching the floor.

==============================|| Desktop (please complete the following information):

==============================|| Additional context N/A