![]() |
|
|||||||
| Add-on & Script Development Creating add-ons and scripts for World Wind. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Bull recently droped to me the idea of a 'panorama' plugin for WW, and after giving it some thoughts i decided to simply make a plugin that takes bigger than the screen screen shots.
So if you want a panorama, just squiz vertically the WW window into a wide panorama and shoot it at twice - or more that size. And of course, there are many other use for such a tool (print size screenshots, antialiased rendering...). After gathering code here and there, i have something working but there is a ZBuffer (depth) issue. See this shot here. The actual version simply ask for a file name and try to save the current view at twice the current window size (sizeFactor = 2 in the source). When using same screen size (sizeFactor = 1) it works, but as soon as it is bigger, it seems that the ZBuffer stay smaller or is not used at all... Here is BigScreenshot plugin 0.1 alpha 1 (Zip 248k) with the ZBuffer bug... if anyone can help on that ![]() Note : i first did the rendering in the onClick menu handler and then moved it to a renderable layer Render() method with a different approach (without RenderToSurface helper). Same results though... Last edited by patmurris; 11-23-2006 at 10:08 AM. |
|
|
|
|
|
#2 |
|
Needs a life
Join Date: Dec 2005
Posts: 698
|
I'm not sure if this is related to the zbuffer but, me for, it only has a quarter image, the other three fourths are black. Here's the screenshot.
http://forum.worldwindcentral.com/at...1&d=1163372281
__________________
I don't spread the word, I spread the world! Road Map for World Wind development and release I do not know .Net or DirectX. |
|
|
|
|
|
#3 | |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Quote:
![]() http://www.alpix.com/3d/worldwin/BigScreenshot_17.jpg EDIT: more screenshots : Zbuffer not really involved : http://www.alpix.com/3d/worldwin/BigScreenshot_19.jpg Zbuffer badly needed here : http://www.alpix.com/3d/worldwin/BigScreenshot_20.jpg. Modern art ?! Last edited by patmurris; 11-13-2006 at 01:29 AM. |
|
|
|
|
|
|
#4 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
I fixed the ZBuffer bug and it works up to a certain size...
Here is BigScreenshot plugin 0.1 (Zip 5k). 2X screenshot magnifier. Some panoramas (click for full size) : ![]() Nice and the French/Italian Riviera ![]() San Francisco bay On my cheap and dated GeForce 4 MX it fails if i try to go beyond 2048 x 2048 pixels. There is a limit to how big a texture can be. Can we go above with other video boards ? Edit: it now checks the hardware capabilities and down scale the resulting image if necessary to match the maximum allowed. Above link updated. Last edited by patmurris; 11-13-2006 at 08:40 AM. Reason: No more beta, updated links |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Aug 2006
Posts: 100
|
I haven't spoken to Bull so I don't know for sure what he meant by "panoramic" but to me it doesn't mean widescreen. Panoramic to me would be to stand in the middle and "pan" around me in 360 degrees. I've been hopeing for such a feature that would allow me to glue myself to a position and release my mouse to "freelook" in any direction left, right, down or up. This could open up a whole new possibility for viewing the night sky, it could even allow for a planetarium plugin. That's not to say that what you have done isn't great because it is. Thank you very much for your hard work.
|
|
|
|
|
|
#6 | |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Quote:
![]() As for rotating freely the camera in WW... it has been on the community wish list for a long time... but never made it. I think Punt has it. |
|
|
|
|
|
|
#7 |
|
Bored Explorer
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,737
|
Another issue:
![]() 2 suns in the screenshot (no, it's not Tatooine) But still very good plugin - just mix it with the Movie Recorder and we can create HD movies ![]() |
|
|
|
|
|
#8 |
|
Needs a life
Join Date: Dec 2005
Posts: 698
|
Found another bug, although this one probably isn't that important. If you take an image that has the measure tool in it the line is in the right place but the lenght isn't. Here's the screenshot.
http://forum.worldwindcentral.com/at...1&d=1163455705
__________________
I don't spread the word, I spread the world! Road Map for World Wind development and release I do not know .Net or DirectX. |
|
|
|
|
|
#9 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Fixed the two above bugs... here is BigScreenshot plugin 0.2 (Zip 5k)
Does anyone manage to go above 2048x2048 ? |
|
|
|
|
|
#10 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|