How do you save your 3D models?

Everything related to 3D programming
r7mk4
User
User
Posts: 13
Joined: Tue Aug 02, 2005 2:23 pm

How do you save your 3D models?

Post by r7mk4 »

Hi,

It's really easy with

Code: Select all

  Add3DArchive("Data/Packs/Desert.zip", #PB_3DArchive_Zip)
  Add3DArchive("Data/BIN", #PB_3DArchive_FileSystem)
to access to mesh-files etc.

But how to restrict the access to the costumers who use the distributed software to access to the raw model data?
It's quite easy to open a zip-file and if you buy models e.g. at turbosquid you are not allowed to redistribute the 3D-files as data...

Is there a possibility to use a password for the PB_3DArchive_Zip?
Or can somebody post me a workaround?

Cheers
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: How do you save your 3D models?

Post by PMV »

r7mk4 wrote:It's quite easy to open a zip-file and if you buy models e.g. at turbosquid you are not allowed to redistribute the 3D-files as data...
I don't know the license-restrictions from turbosquid,
but every 3d-model is just "data", regardless what format you are using. :)
The most games doesn't encrypt there models, because it is
never impossible to get that, if you invest enough time.
(and this time is not that much, if you know what you are doing :lol: )
Because of copyright, there is no need to encrypt them. :D

But thats not the thread-title, so to be short:
PB-OGRE3D needs to have the data in its own plain mesh-format.
No other way is provided to load data as to load plain *.mesh
files from disc, no possibility to get them from memory.
Maybe it could be possible to write something with AddMeshFace(),
AddMeshVertex(), ... and make your own loading-routine for
encrypted 3d-models.

MFG PMV
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: How do you save your 3D models?

Post by Comtois »

Here they suggest renaming resources, it is the easiest solution.
http://www.ogre3d.org/forums/viewtopic.php?f=5&t=48025

Extract
The best thing to do would to simply put stuff in a ZIP archive with a different extension. That'll keep out most of the newbies. Even Crysis did this, they just used a renamed ZIP archive.
Please correct my english
http://purebasic.developpez.com/
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: How do you save your 3D models?

Post by IdeasVacuum »

No other way is provided to load data as to load plain *.mesh
files from disc, no possibility to get them from memory.
I have never done it, but if you set up a virtual disc in RAM, wouldn't that work?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: How do you save your 3D models?

Post by PMV »

As my understanding is, it would need to register this
virtual disc in system ... and thats the time where
it is possible for someone else to get the plain file. :)


But sorry, renaming is a common way ... should have
mentioned that, too. :)
r7mk4
User
User
Posts: 13
Joined: Tue Aug 02, 2005 2:23 pm

Re: How do you save your 3D models?

Post by r7mk4 »

Extract
Quote:
The best thing to do would to simply put stuff in a ZIP archive with a different extension. That'll keep out most of the newbies. Even Crysis did this, they just used a renamed ZIP archive.
That's funny. This is the way I did, but I thought it's a really bad idea.
I thought that's such a bad idea that I didn't want to mention that in my first post... :P

Doing such a cool engine like the crytek one and just renaming zip-files is... strange :!:

Maybe it's a little improvement to make a renamed zip incl. password and extract it to a renamed zip into the temporary folder and load from there....
The purebasic native packer seems to be useable...

Really, I'm little bit confused that just renaming is the common way... :?
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: How do you save your 3D models?

Post by Shield »

Java's JAR Files are also just renamed ZIP files. :wink:
Usually it doesn't matter if you encrypt game files or not. If your game gets popular,
someone will write an extractor to get models / sounds / textures.

If you game doesn't get popular, nobody really cares to actually do that.
It's a waste of time to figure out a way to encrypt something to prevent access. It's just not possible.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Thade
Enthusiast
Enthusiast
Posts: 266
Joined: Sun Aug 03, 2003 12:06 am
Location: Austria

Re: How do you save your 3D models?

Post by Thade »

Look for Enigma Virtual Box (it's free) - or MoleBox (costs money - is much easier to use)
They work very good with PureBasic.
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Post Reply