Jump to content
3DXChat Community

Recommended Posts

Posted (edited)

Is there a good way to version-control your objects?  If not, how do you all keep track of your changes?

EDIT: To clarify, I'm looking for something that is git-like where file changes are retained in a repository that also has the ability tag and mark commits so that you can revert/branch/release based on these changes.

Edited by GlacierBridge
Posted

I normally save my larger projects every day with a new number, e.g. "[name] 1", "[name] 2",...
If I make larger changes during the day, I use the next number then. Sometimes I put the name of the added object in the filename, e.g. "[name] 23 Brooklyn Bridge".

Posted

World files are simply json formatted objects.

Nothing prevent you to set up a git over the directory you save thoses in.

I have been doing it in the past for collab over some map, splitting it by buildings / area.

You just have to commit at the end of the day or something.

I have destroyed enough map in the past to have some saving policy as well, like i always save on 2 files, then do some weekly backup elsewhere. Just in case. But a git somewhere is definitely a good alternative.

Posted

Personnaly i use Cobian Backup for save my rooms every 10 min with a retention of 50 copies. 
But you can use a versionning software (like GitKraken or other) for follow your room changing with full detailled commit, versionning, collaboration branch etc. World is basicaly JSON file, it should work perfectly.

I think the builder need some others things before, like Alignement tools - precision rounded to 4 decimals (1/10mm max) - Face snap - Multi-clone tools - Map snap - Objects locking - Axis locking - Full group repositionner - ...

An easy idea to implement would be to display the date and time of the file as a signature, in my opinion this is the simplest and quickest with little code to implement.

like many, I date my files : Room.YYMMDD.HHMM.world

And the reflex to always go to the room in exploration mode to cache the latest version.

  • 1 month later...
Posted
On 8/18/2024 at 4:35 AM, GottaGo said:

World files are simply json formatted objects.

Nothing prevent you to set up a git over the directory you save thoses in.

I have been doing it in the past for collab over some map, splitting it by buildings / area.

I didn't realize that!  When I tried to use git, I would often get these huge diffs that made me assume that they were binaries.

Thanks!  It looks like the JSON is all in one line so breaking apart to different sections makes a ton of sense.

  • 1 month later...

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
×
×
  • Create New...