View Full Version : How to get input from .txt file
03-10-2005, 05:59 PM
I was trying to get some data file from a .txt file, was it possible to do so in OpenGL ES?
03-12-2005, 08:43 PM
What has opengl es got to do with I/O of files ? It should be possible with regular file I/O.
03-13-2005, 03:40 AM
you mean regular I/O can be done? well, i not so sure about that, coz 1 of my friends says that, it cant be done... anyway, thankx for your info
03-13-2005, 06:53 AM
They are correct, OpenGL (ES) does not define a file format similar to DirectX's .X file that you can use to load various assets diretly into the driver.
You can, however, easily write functions that load the asset into memory, and then transfer it down the driver using a corresponding API call.
03-14-2005, 01:33 PM
I meant that you need to use regular file I/O routines to load,read, write etc from and to files respectively.
03-20-2005, 04:34 PM
Forgotten to mention that, i am doing it for Pocket PC...... not for PC version.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.