Skip to content

syaifulnizamyahya/3dAssetEncryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3d asset encryption by obfuscation

Simple project encrypting 3d assets. Using GLTF as 3d model format. The encrypted object can still be rendered.
Useful if

  1. Your application must fetch data from public server
  2. You dont have control to the public server
  3. You want to manage access control to your data hosted in public server

Original 3d assets (Duck.gltf from gltf sample model)

There are 3 encryption method in this example :

  1. Obfuscating the vertices by applying XOR operations against random number.


  2. Obfuscating the vertices by shuffling the vertices index.


  3. Obfuscating the vertex component by shuffling the vertex component index.


Although encrypting 3d assets secure the assets, user can still rip the assets using tools that can extract the data in GPU memory (which we have no control). Its like, if you show a video, people can still record it.

All is not lost though. There are ways to protect 3d asset from ripping tools. You can refer to how industries protect their video, audio, software from piracy.

You can view GLTF models using https://gltf-viewer.donmccurdy.com/

About

Simple example on how to encrypt 3d assets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published