Jump to content

  • Log In with Google      Sign In   
  • Create Account

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   Members   

3961
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.


#2   Members   

4633
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   Members   

3961
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.



#4   Members   

4633
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.