View topic - say I know a file name how to I save that file to the hd?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 26 Sep 2010, 20:27 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Like say I want to write some custom code to export an image out of gundam into a file via lua? like say a model, how would I do this?


Top
 Offline Profile  
 
PostPosted: 27 Sep 2010, 07:00 
P.U.R.E. Developer
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
For writing image data, use gl.SaveImage.

In terms of details, a good method is to render the Unit to a FBO, then save the results. See jK's unit-icon creation script for an example.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: knorke and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.