High Resolution Rendering?

General discussion about Celestia that doesn't fit into other forums.
Topic author
tefeari
Posts: 5
Joined: 23.07.2007
With us: 17 years 3 months

High Resolution Rendering?

Post #1by tefeari » 23.07.2007, 04:19

Hey everyone, I'm not sure if this is possible already or if it would be easy to add-on, but I'd really like to be able to render perspectives in Celestia at a higher resolution than my screen can display, so that I can take a high resolution capture image.

By that I mean I'm looking for any way to render a image of my Celestia perspective as a high resolution file (Say if my monitor can display 1680x1050 I'm looking to render a 4000x4000 image of the scene).

Is there a way to do this or an easy way to mod it into possibility?

Thanks a lot,
Dave

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: High Resolution Rendering?

Post #2by rthorvald » 23.07.2007, 21:50

[quote="tefeari"]Say if my monitor can display 1680x1050 I'm looking to render a 4000x4000 image of the scene).

If you print it at 25%, you would get that - more or less. If you aren??t printing it, that kind of resolution is superfluous anyway. What is the problem?

- rthorvald
Image

Topic author
tefeari
Posts: 5
Joined: 23.07.2007
With us: 17 years 3 months

Post #3by tefeari » 23.07.2007, 21:57

I wanted to be able to color the GEOS 12 geostationary satillite images of the entire Earth uploaded every 30 minutes.

It's in the visible range but in Black and White. If I can generate images in Celestia at the same time and perspective to match the 2816x3248 resolution image taken by GEOS 12 then I can colorize it to make a high resolution color image of the entire Earth every 30 minutes.

Here's a sample of what I pulled off in about 15 minutes of tweaking in photoshop using what I had from the REALLY low resolution shot I could currently get from Celestia.

Image

Here is the original image:
Image

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #4by rthorvald » 23.07.2007, 22:05

tefeari wrote:I wanted to be able to color the GEOS 12 geostationary satillite images of
Here's a sample of what I pulled off in about 15 minutes of tweaking in photoshop using what I had from the REALLY low resolution shot I could currently get from Celestia.


Ok, but if you are scaling the Celestia screendump down to 4000x4000, the resolution goes up accordingly - as long as you scale the picture, not the "canvas" it is on, that is: scale the info in the picture but not the actual image file -which you just crop afterwards to fit the new scale.

It should be trivial to setup a macro in Photoshop that does this automatically via a "hot" folder.

- rthorvald
Image

Topic author
tefeari
Posts: 5
Joined: 23.07.2007
With us: 17 years 3 months

Post #5by tefeari » 23.07.2007, 23:45

I'm sorry, I don't understand what you're saying. I know how to use Photoshop. I know how to get an image from Celestia that matches the perspective of the GEOS 12 satallite.

I DONT know how to get an image from Celestia that will match the resolution of the GEOS 12 image. I don't want to scale the GEOS 12 image down because then I loose all it's beautifully captured details.

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #6by rthorvald » 24.07.2007, 00:47

tefeari wrote:I DONT know how to get an image from Celestia that will match the resolution of the GEOS 12 image..


Hm... I have misunderstood. You want to scale the Celestia shot UP, not down. That won??t work...

Your only option IS to scale the other one down, then. Sorry for the confusion; i read 400 px, not 4000...

- rthorvald
Image

Topic author
tefeari
Posts: 5
Joined: 23.07.2007
With us: 17 years 3 months

Post #7by tefeari » 24.07.2007, 03:41

Why not? Right now the program's resolution is limited to the display's resolution. If someone took that restriction off I could go ahead and put it into 2560x1800 or whatever resolution and then save the image file from it even if it wouldn't fit on my screen.

Is there any way to start the program up (maybe with a shortcut command line?) at a higher resolution? Or maybe change a little source code or script line somewhere that will let me choose a display setting way above my monitor resolution?

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 2 months
Location: NJ USA

Post #8by LordFerret » 24.07.2007, 06:02

NOAA already provides color enhanced GOES imagery.
http://www.nnvl.noaa.gov/

Topic author
tefeari
Posts: 5
Joined: 23.07.2007
With us: 17 years 3 months

Post #9by tefeari » 24.07.2007, 06:20

That's cool but I was looking for something a bit more realistic. Even my 15 minute tweaks looked better than NOAA's imagery :/. I was also looking for something that could show the entire world.

Being able to render these large images with Celestia would let me make an outside script to create super high resolution imagery simliar to what I posted previously every 30 minutes (in color and realtime).
Last edited by tefeari on 24.07.2007, 06:21, edited 2 times in total.

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 2 months
Location: NJ USA

Post #10by LordFerret » 24.07.2007, 06:21

I won't argue that! :lol:

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years

Post #11by dirkpitt » 24.07.2007, 15:25

Unfortunately none of the current versions of Celestia on any platform offer command line switches for selecting an arbitrary window size. One hack to get around the resolution limit is to use multiple monitors and stretch the window to span multiple screens.
Disclaimer: This hack works on the Mac, but the Windows version does not seem to let you overstretch the window. Bug? :(

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #12by John Van Vliet » 25.07.2007, 20:59

i seam to remember that x-earth / xplanet dose a cloud update every 3 hours
http://xplanet.sourceforge.net/clouds.php
is this what you want to do

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #13by Chuft-Captain » 27.07.2007, 03:02

dirkpitt wrote:Unfortunately none of the current versions of Celestia on any platform offer command line switches for selecting an arbitrary window size. One hack to get around the resolution limit is to use multiple monitors and stretch the window to span multiple screens.
Disclaimer: This hack works on the Mac, but the Windows version does not seem to let you overstretch the window. Bug? :(

Unfortunately with the multiple monitor approach, we would still be limited by the maximum resolution of the graphics card. (and yes the windows version just displays black on the second screen, so I guess it's a bug...or windows "feature". :roll: )

As the BMP, PNG file format specifications are widely published, (eg. http://www.martinreddy.net/gfx/2d/BMP.txt ) I would have thought that it would be a fairly straight-foward task for the devs to render the 3D-scene to a "virtual screen" and/or use file-io to output to a file with all the appropriate headers, tags etc.. (I'm of course assuming that the rendering layer was originally written by Chris, and not just plugged-in, so DEVs have access to it)

There would be a few issues when the file aspect-ratio does not match the screen aspect, but as long as it rendered more of the scene, rather than cropping, then I wouldn't be complaining. (In other words, to avoid cropping: match the smaller dimension of the file-render to the FOV of the screen image, and extend the other dimension if nescessary to produce a wider or longer file-image.) ie. when the aspects don't match, the file-render would show objects which are outside the FOV of the display window.

Hell, maybe there's even an opportunity for a new Lua-Hook, so the actual file-rendering of the scene could be done in LUA.
Hank/Vincent, is this possible???... or is this just a little too low-level for LUA? :wink:

So come on guys.. let's think outside the rectangle... I'd love to be able to produce poster-sized high-res images for my wall. :) :D :lol:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #14by selden » 27.07.2007, 03:45

Celestia's OpenGL rendering is handled by the graphics hardware and its drivers, which is what limits the size of the image. Other 3D programs can render images which are limited in size only by whatever the graphics hardware supports, which usually is larger than the resolution of the display device. It'd be nice if Celestia provided that functionality.

Also, in principle anyhow, one could link to a software OpenGL library which wouldn't have the size limitations of the hardware drivers.
Selden

Kolano
Posts: 125
Joined: 15.02.2005
With us: 19 years 9 months
Location: New Jersey

Post #15by Kolano » 27.07.2007, 05:01

selden wrote:Celestia's OpenGL rendering is handled by the graphics hardware and its drivers, which is what limits the size of the image. Other 3D programs can render images which are limited in size only by whatever the graphics hardware supports, which usually is larger than the resolution of the display device. It'd be nice if Celestia provided that functionality.

Also, in principle anyhow, one could link to a software OpenGL library which wouldn't have the size limitations of the hardware drivers.


A tiled approach could also achieve this (i.e. 4 outputs from the graphics card are combined into one final image)
System:
Asus A8N-SLI Premium nForce4 SLI
AMD Athlon 64 X2 4200+
2xeVGA GeForce 7800 GTX 256MB
2gb Dual Channel DDR (400) 3200

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #16by Chuft-Captain » 27.07.2007, 06:54

selden wrote:Celestia's OpenGL rendering is handled by the graphics hardware and its drivers, which is what limits the size of the image. Other 3D programs can render images which are limited in size only by whatever the graphics hardware supports, which usually is larger than the resolution of the display device. It'd be nice if Celestia provided that functionality.
This however, would still be limited by the hardware.

selden wrote:Also, in principle anyhow, one could link to a software OpenGL library which wouldn't have the size limitations of the hardware drivers.
Are you aware of any axctual libraries being available Selden?
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #17by selden » 27.07.2007, 10:13

The "obvious" one is Mesa.
http://www.mesa3d.org/
Selden

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #18by Chuft-Captain » 27.07.2007, 11:12

selden wrote:The "obvious" one is Mesa.
http://www.mesa3d.org/
Thanks Selden,

Has anyone looked into integrating this with Celestia?
The downside (from my perspective at least) is that it looks like Mesa is more likely to work in a UNIX environment than in WIN.
Last edited by Chuft-Captain on 09.01.2008, 01:30, edited 2 times in total.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years

Post #19by dirkpitt » 28.07.2007, 08:47

OpenGL framebuffers limits are not necessarily the same as the size of 1 monitor. For example, on my Radeon 9700 it appears to be 2656x2656 pixels, which is more than twice as large as my laptop's screen. But yes, there is still a hardware-dependent finite limit. Using multiple, tiled contexts could be interesting and maybe somebody has already achieved this? -- to make a CAVE-compatible Celestia for example.

glcanon
Posts: 11
Joined: 24.08.2007
With us: 17 years 2 months
Location: Houston

Post #20by glcanon » 24.08.2007, 05:53

Good idea, I hope it will be able to be implemented in Celestia one day. Kinda reminds me of that idea Al Gore had... to put a satellite in near-geosynchronous orbit, just staring back at the Earth, with the idea that anyone could look at our planet in hi-res detail, in color, at any time of the day, from space. I think Al Gore is a loopy fellow, but of course he did invent the internet. Of course if you can colorize the GOES images that are posted every so often, and overlay them on the Celestia Earth globe, you wouldn't need to spend a bundle to launch Al Gore's satellite, you could create the same thing virtually, especially if you got a good PS filter applied to the GOES image. That would be uber cool.

Image


Return to “Celestia Users”