delta3d
 Forum Index >  > delta3d Support New Topic Post Reply
 Method TakeScreenShot()
Prev Topic Next Topic
   
Horn
 04/21/2008 03:13PM (Read 1310 times)  

Junior

Status: offline
Forum User

Registered: 03/17/2008
Posts: 17
Hi, I need to take some screenshots. Right now I am using the method TakeScreenShot() in dtCore::Camera. It stores the frames in jpg, but I need to do some processing on the images, which would be easier in a format like bmp. Is it possible to store the images in bmp?

Cheers
Horn
 
Profile Email
 Quote
ErikJohnson
 04/21/2008 09:34PM  

Moderator

Status: offline
Forum User

Registered: 11/08/2004
Posts: 2851
Its hard-coded right now to save as a .jpg, but it would be real easy to change that code to save as whatever.

I'll see if we can open that up a bit to allow control over which file type to save.

Thanks,
Erik
 
Profile Email
 Quote
Horn
 04/24/2008 09:40AM  

Junior

Status: offline
Forum User

Registered: 03/17/2008
Posts: 17
Hi Erik, sounds great.

Cheers
Horn
 
Profile Email
 Quote
energonQuest
 02/21/2017 10:33PM  

Full Member


Status: offline
Forum User

Registered: 08/31/2006
Posts: 125
I have been away for a while, but i am now back. has this change been made? i wrestled with this and it would have been so much easier if i could have just added the extension. since it has been a while, where is the source being kept. i would love to add this little gem is possible.
 
Profile Email
 Quote
banderegg
 04/24/2017 09:43PM  

Admin

Status: offline
Site Admin

Registered: 05/17/2005
Posts: 568
Hi, The screenshot mechanism still works in dtCamera, it is also now possible to grab screens with osg PPU UnitOutCapture. Good to hear from you, hope all is well, Brad
 
Profile Email Website
 Quote
Content generated in: 0.53 seconds New Topic Post Reply
 All times are UTC. The time is now 08:39 AM.
Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 

About delta3d

delta3d is a game and simulation engine appropriate for a wide variety of simulation and entertainment applications. delta3d uses best-of-breed open source technologies to create a fully integrated game engine and with content creation tools.MORE

Twitter

User Functions





Don't have an account yet? Sign up as a New User!

Lost your password?