Furniture texture data. Table design and loading
#3

Second method completely defeats the purpose of relational databases.

It is true that it is rather annoying if each house can have multiple pieces of furniture and each piece of furniture can have multiple textures. You will need to join the tables regardless. In the loading code, you may check if the current furniture id equals the last one that was loaded. If it isn't, create the object. Then apply the textures.
Reply


Messages In This Thread
Furniture texture data. Table design and loading - by dusk - 12.02.2015, 20:35
Re: Furniture texture data. Table design and loading - by dusk - 14.02.2015, 21:45
Re: Furniture texture data. Table design and loading - by Vince - 14.02.2015, 22:39
Re: Furniture texture data. Table design and loading - by Kar - 14.02.2015, 23:23
Re: Furniture texture data. Table design and loading - by PaulDinam - 15.02.2015, 00:19
Re: Furniture texture data. Table design and loading - by dusk - 15.02.2015, 07:11

Forum Jump:


Users browsing this thread: 2 Guest(s)