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.

Newcomers DBPro Corner / skyspheres

Author
Message
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 2nd Feb 2003 09:02
what is a skysphere or skycube? What do they do?

Bishop
"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Misanthrope
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location:
Posted: 2nd Feb 2003 09:13
Skyspheres and skycubes are 3D models with inverted normals textured to look like a sky, and they usually envelop the entire game level. Skyspheres are, well, spherical. Skycubes are boxes.

Both have advantages and disadvantages...the skyspheres tend to look smoother and more "correct", but they also use a lot of polygons and have glaring texture problems at the poles. Skycubes use far less geometry and can do a pretty good job of representing basic skies, but they also have some slight perspective errors at the corners when using overly detailed sky textures.

Basically it's a cheap way to do skies.

-Misanthrope
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Feb 2003 12:50
geospheres dont suffer that problem Misanthrope.

Misanthrope
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location:
Posted: 2nd Feb 2003 13:46
Indi,

Yep, geospheres have the texturing artifact problem too. Wanna see for yourself? Fire up Ultimate Unwrap3D, make a new geosphere, and assign a checker map to it. You'll see some major texture artifacting not just at the poles, but along the "seam" as well.

Standard spheres only have artifacting at the poles, and that's easily compensated for by not having any detail at the poles.

Either way, you still have to do some UV and/or image editing to get rid of the artifacting.

Or if you mean geospheres have fewer polygons than a conventional sphere...well, the difference is trivial and still greater than the 12 triangles in a cube.

-Misanthrope
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Feb 2003 15:12
maybe its the program your using to acheive it.

I never saw this issue in a milkshape geosphere.

Misanthrope
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location:
Posted: 2nd Feb 2003 15:35
Maybe. I've never seen a Milkshape-generated geosphere...

-Misanthrope
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Feb 2003 17:14
try this hemisphere and use lithium to wrap it if u want a nice texture on it.

I saved polys by making a hemisphere that overlaps the center halfway point.


http://www.dbtoolz.50megs.com/tutorials/skyball/

the alternative is a skybox and a tute is found here

http://www.darkbasic.net/modules.php?name=News&file=article&sid=80

Hilmi2k
21
Years of Service
User Offline
Joined: 29th Nov 2002
Location:
Posted: 2nd Feb 2003 20:23
What is the maximum texture size you can use for a skybox without your graphics card keeling over?

I read that there are limitations on texture sizes. if the limit is lets say 500X500, thats a seriously limited skybox... it would look very pixelated at the size required to cover the whole sky
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 3rd Feb 2003 01:19
thanx all

Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Epidemicz
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 3rd Feb 2003 03:05
@ Hilmi2k:

I don't think there is a limit to the size of the texture...

I use a 1024x512 .jpg for the game I am working on right now. I think it actually looks good - not much slow down either, only when my comp has been pushing other memory eating programs.

I am the very disease you pretend to be.
Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 3rd Feb 2003 03:21
actually geopheres make problems for skyspheres
plain spheres work best

If His Sword Falls And Gaurdian Lies Slain,
His Blood Was Not Spilt On Dirt In Vain,
So Let That Be a Lesson And Rest For The New Day
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Feb 2003 03:28
plain sopheres with capped ends? I think not mate.

Arrow
21
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 5th Feb 2003 11:04
I think their is a limit to texture size, but it has to do with your graphic card, nor DB.

Am I a butterfly dreaming I'm a man?
Or a bowling ball dreaming I'm a plate of samishi?
Never assume that what you see or feel is real.
Arrow
21
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 5th Feb 2003 11:05
I wish I could edit these posts.

...card, not DB.

There, is it just my or is all text here in italics?

Am I a butterfly dreaming I'm a man?
Or a bowling ball dreaming I'm a plate of samishi?
Never assume that what you see or feel is real.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 5th Feb 2003 12:09
It's not all italics here. And you're right, texture size is controlled by graphics card, not DB. My card can do 1024x1024 textures, others only 256x256.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
actarus
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: 32 Light Years away
Posted: 5th Feb 2003 17:02
-My card can do 1024x1024 textures, others only 256x256

Mine 2048x2048,beat you rich(oh great who's got a Wildcatvp now??)

Just remember that you're standing on a planet that's evolving
And revolving at nine hundred miles an hour!
Arrow
21
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 5th Feb 2003 18:34
I got 2048x2048 too, but no volume shading or anti-aliasing, go figure.

Am I a butterfly dreaming I'm a man?
Or a bowling ball dreaming I'm a plate of samishi?
Never assume that what you see or feel is real.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 5th Feb 2003 20:08
What card do you have? I have to admit I've never tried a 2048x2048 texture on mine, but I'll be fascinated to see what it makes of it. Hell.. time to try it

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
The Scorpion
22
Years of Service
User Offline
Joined: 12th Oct 2002
Location: United States
Posted: 9th Feb 2003 16:16
I have this same kind of thing. High resolutions are excepted but I don't have those features. I am using a nVidea TNT2 . That is the reason.

Who ever loved that loved not at first sight?
- William Shakespear (genious)
Pyromaniac
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: United Kingdom
Posted: 9th Feb 2003 23:39
do sky spheres follow the player? or do they just stay still?

ive seen this effect in half-life where the sky kinda "moves, but doesnt," it looks realistic and gives some depth. anyone know what im on about?

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 10th Feb 2003 04:10
The sphere itself could be set so that the texture rotates (or animates) very slowley on it which is probably what you're talking about. Another thing to bear in mind is that the sphere doesn't have to cover your whole map, just the player and his visible area (draw distance).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming

Login to post a reply

Server time is: 2024-11-24 01:17:27
Your offset time is: 2024-11-24 01:17:27