Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / how do you do a space backdrop?

Author
Message
Cruise McClarren
20
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 19th Dec 2011 23:19
I was looking at ESF and want to know how they did the backdrop. EVery method I try doesn't work. For trial purposes I am using one of their image files to try to recreate the effect (I know I can't use it for anything else but for this purpose it is ok) I tried using a sphere and textured/culled it. But the image is so blurry that it looks horrid. Then I tried to just texture the backdrop with the image but that didn't work either. Then I added a camera and tried texturing that camera's backdrop to see if that would make a difference... and... nope. I would like to know how they made it so crisp and clear. In the game you can fly forever and never get closer to the actual backdrop but if you turn in any other direction you get a nice panorama of the whole image. Can someone please assist me in this? Thanks

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 20th Dec 2011 04:07
You have to add a big image and it must be seamless to appy to a sphere, then position the sphere in the same position of the camera. Example attached

Cheers.

bitJericho
23
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 20th Dec 2011 16:33
What's ESF?


Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Dec 2011 18:11
Google tells me ESF = Earth's Special Forces (dragon ball z game)

"You're not going crazy. You're going sane in a crazy world!" ~Tick
Blobby 101
20
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 20th Dec 2011 18:13
ESF is actually Earth Space Fleet, a space sim that Ermes (I think) made a little while ago

Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 20th Dec 2011 23:52
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 21st Dec 2011 08:03
Ermes is very helpful, I would ask him on his thread or send him an email.

You can make space skyboxes using my own tool "EnviroScope" which is free and add your own images to the scene as part of the backdrop. It can make skyspheres to but it takes an age to render and the effect is no better than a skybox: EnviroScope


Cruise McClarren
20
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 22nd Dec 2011 23:46 Edited at: 22nd Dec 2011 23:48
Quote: "
@ Chafari
"


I saw what you have done. I tried that method and it still comes out to be a very blurry mess. Plus at the poles of the sphere I get a warped image with everything coming together. ::see photo:: I want to make it look sharp and clear as if you were really there and I can't figure it out.

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd Dec 2011 00:02
Quote: "I saw what you have done. I tried that method and it still comes out to be a very blurry mess"


I was just showing you the method of a sky sphere. You can use a big resolution image 4096*4096 and a good sphere from 3DMax...or you colud use the free baxslash's program.

Cheers.

Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 23rd Dec 2011 00:48
Quote: "I saw what you have done. I tried that method and it still comes out to be a very blurry mess."


Mip-Mapping may be the cause of this blur. Your sphere needs to maintain pixel perfect rendering to be effective; MipMapping will use low resolution versions of your textures at long distances. A texture higher in resolution than your monitor display would not show up blurry for any other reason I can think of.

Anisotropic filtering can lower the mip-mapping blur. I cannot provide much knowledge on this topic.

Note that you can use as many spheres as desired; to create the effect of stars and planets at different distances, by rotating each sphere at different speeds. The sphere should have transparency enabled, along with somekind of shader or blendmode which enhances the composition with additive light.

I've not created a Spacesim myself, but a couple of star spheres, cosmic-dust spheres, halos and a few 3D planets and asteroids should look good.

Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Dec 2011 00:55
Is this what you are looking for?

Using my special method of applying an image to a sphere with very little distortion.

[b]
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd Dec 2011 01:42 Edited at: 23rd Dec 2011 01:42
@Diggsey

Great example !! I first I thought it was a sphere, but at the end I saw the trick

Cheers.

Login to post a reply

Server time is: 2026-07-11 10:23:55
Your offset time is: 2026-07-11 10:23:55