Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Cache Scene or a Scene Text File?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Irlan Robson   Crossbones+   -  Reputation: 3278

Like
0Likes
Like

Posted 05 February 2014 - 10:05 AM

It's legal to cache big strings of data? eg.:
 
Shader Text File
Scene Text File
 
etc...
 
If I need to cache the objects itself I would have:
 
map<key, Scene>
 
I think is good to have just one Scene and a function inside to load it from a stream/source.

Fondly,

Irlan Robson


Sponsor:

#2 cozzie   Members   -  Reputation: 3433

Like
1Likes
Like

Posted 05 February 2014 - 01:38 PM

Hi.
Not sure if I understand the question, but how would you handle the data of the scene if you load it in one mega string?

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me


#3 Irlan Robson   Crossbones+   -  Reputation: 3278

Like
0Likes
Like

Posted 19 February 2014 - 12:31 PM

Hi.

Now I'm thinking...what a stupid question I did.

We need to cache the scene objects and the generated shader's programs not the code to generate them.


Fondly,

Irlan Robson


#4 cozzie   Members   -  Reputation: 3433

Like
1Likes
Like

Posted 20 February 2014 - 12:30 PM

Ok. Good that you solved it :)

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS