Richard Simpson Posted February 14, 2010 Share Posted February 14, 2010 I'm Not sure if this question has been asked before.. But I would love a screenshot button in the Editor, where I can set the image size too, so I can get an ultra high res screenshot, with ease Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
Masterxilo Posted February 15, 2010 Share Posted February 15, 2010 That would indeed be cool. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
L B Posted February 16, 2010 Share Posted February 16, 2010 That's the feature Michael Betke has been requesting for a long time. Feature requests are often the same, but they seem to get forgotten over time. Sad. Quote Link to comment Share on other sites More sharing options...
macklebee Posted February 16, 2010 Share Posted February 16, 2010 Here is a small entity script that will allow you to take a screenshot of your current rendering screen in the editor: screenshot.zip The picture size is based on the current size of your editor window. You can set the screenshot key, the path, the filename, and the file type in the properties dialog. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
ESP Posted February 16, 2010 Share Posted February 16, 2010 Thanks macklebee, Is is possible to take this one step further and render a 32,000 x 32,000 image? I have some very large printers and would love to output some hi-res renders. What is the maximum we can render? I cam not worried about how long the frame takes or the file size Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
Canardia Posted February 16, 2010 Share Posted February 16, 2010 HiRes renders can be taken quite easily: 1) Make a graphics window of 1000x1000 2) Set camera zoom to 32x (or whatever the correct factor is) 3) You can now make a loop which rotates the camera to each of the 1024 (=32x32) sectors which each are 1000x1000 pixels, and save the BackBuffer() to disk 4) Now you have 1024 png files, which you can merge into one huge 32000x32000 pixel png file I just realized, that you can use the same technique for extreme good looking anti-aliasing, which works also with deferred rendering. You can have 4x, 9x, 16x, 25x, 36x, 49x, 64x, 81x, 100x, etc... HRAA (=HiRes Anti-Aliasing) Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ESP Posted February 16, 2010 Share Posted February 16, 2010 Hmmmm, seems a bit long-winded, but I'll try anything. Is there a way to run this outside of the editor? e.g. in EXAMPLE01.LUA? It seems to allow me to create any size image, but it is off the screen. I've tried SaveBuffer(BackBuffer(),"C:\esp.png") but that does not seems to do anything. My lua skills suck at the moment Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
macklebee Posted February 16, 2010 Share Posted February 16, 2010 The backbuffer will be the size of your current graphics screen. You could create a new buffer at the size you wanted then render then use the SaveBuffer(yournewbuffer, "c:\esp.png") but there is an issue. A new buffer for some reason is inverted, so your resulting picture would be flipped... which might not make any difference to you if you dont have any text on the screen or are willing to flip the resulting picture yourself in a image program. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
ESP Posted February 16, 2010 Share Posted February 16, 2010 I get mixed results upto 2048 x 2048 then nothing after that (no errors just no files). The inverted file is not a problem Is this buffer held in RAM or video RAM? Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
Michael Betke Posted February 16, 2010 Share Posted February 16, 2010 Yes I really need such a function too and talked to three coders here but noone seemed to be able to deliver an app. Someone started and had luck rendering the bufer but for some reasons the skybox was rendered black. For I wont be able to take high-res pics for print or resizeing them to get a good AA effect like in CE2. This little script is nice and handy. Only a option "Size" is missing. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
Richard Simpson Posted February 16, 2010 Author Share Posted February 16, 2010 Yes I really need such a function too and talked to three coders here but noone seemed to be able to deliver an app. Someone started and had luck rendering the bufer but for some reasons the skybox was rendered black. For I wont be able to take high-res pics for print or resizeing them to get a good AA effect like in CE2. This little script is nice and handy. Only a option "Size" is missing. Yeah I would really like a size function too I'm so bad at coding its unbelievable. Thanks for this script though Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
Josh Posted February 17, 2010 Share Posted February 17, 2010 Here's a script. You need tomorrow's sync to take screenshots bigger than the program window size: http://leadwerks.com/werkspace/index.php?app=downloads&showfile=117 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Richard Simpson Posted February 17, 2010 Author Share Posted February 17, 2010 Ah, that's perfect. Thanks! Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
L B Posted February 28, 2010 Share Posted February 28, 2010 I just tried your script in C#. It saves a large image, but it's only stretched. Here's the code: if (Input.KeyHit == Key.Numpad0) { int width = 2560; int height = 1600; Buffer buffer = new Buffer(width, height, (int)BufferType.Color); Buffer buffer2 = new Buffer(width, height, (int)BufferType.Color); Buffer.Current = buffer; Framework.Render(); Buffer.Current = buffer2; Drawing.Image(buffer.GetColorTexture(0), 0, 0, buffer.Width, buffer.Height); Buffer.Current = Buffer.Back; buffer2.Save(@"C:\test.jpg", 100); } Quote Link to comment Share on other sites More sharing options...
Michael Betke Posted February 28, 2010 Share Posted February 28, 2010 A nice addtiotn would be a screenshot sequence. So if Screenshot.png is already tere it shoud save screenshot_001.png or so Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
Canardia Posted February 28, 2010 Share Posted February 28, 2010 Using Josh's screenshot script, I can only make 3840x2160 (= 1920*2 x 1080*2) screenshots, since it's depending on GPU memory. I think I'll try to make the mosaic screenshooter next, which combines for example a 19200x10800 pixel screenshot from seperate screenshots. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ESP Posted February 28, 2010 Share Posted February 28, 2010 I would pay for such a feature What do you drink Lumooja? Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
Canardia Posted February 28, 2010 Share Posted February 28, 2010 Any drink which costs 9€ Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ESP Posted February 28, 2010 Share Posted February 28, 2010 What's that in real money? Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
Canardia Posted February 28, 2010 Share Posted February 28, 2010 That would be 8.09 English pounds. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ESP Posted February 28, 2010 Share Posted February 28, 2010 Sixty litres of cider then Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS Link to comment Share on other sites More sharing options...
Canardia Posted February 28, 2010 Share Posted February 28, 2010 It seems to be possible, I've tested it a bit with a Lua script. To make the mosaic seamless you need really big resolutions, because at lower resolutions the turning of the camera causes nasty distortions. Currently I'm testing with a 9000x3000 virtual screen resolution, and it looks pretty cool, but I still see some few pixel distortion. I think when I try 18000x6000 it will look pretty smooth, and then 36000x12000 will be no problem either. Finally 36000x24000 or 36000x36000 should be good enough for most exhibitions. 9000x3000 scaled to 1200x400: 1200x400 unscaled: Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.