3D Skyboxes.

3D Skyboxes.

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

3D Skyboxes.

Post by Argh »

Nope, not asking how to make one. Just had an idea, though... why not implement a skybox as a S3O? Then you get scaling control, lighting effects, etc. Been thinking it might kick major booty to make a night map with a huge, 3D moon in the back ground, centered where the lightsource is, among other things.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

that sorta defeats the point of a skybox, in that the skybox is so far away you couldnt see any perspective effects, you couldnt tell if it was a 3D model or a bitmap.....
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

I welcome any changes to the skybox. DDS's are so unneccesarily huge in filesize.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Gnome did this a long time ago. He made a moon that was a 3D object on a map in the background. I don't know whether he ever posted his results though, I'll have a search through the forum.
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

I've never seen a skybox outside of map screenshots and i'd wager 99% of players dont look at them at all either :/
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

that sorta defeats the point of a skybox, in that the skybox is so far away you couldnt see any perspective effects, you couldnt tell if it was a 3D model or a bitmap.....
He probably means that the model is always centered at (0,0,0) in view space and drawn before everything else.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Post by PicassoCT »

Me wants Unreallike Skyboxes were the Players can run around ther Boiz in and show up as Giants ;)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Argh, this would be nice, but we need shader effects to make out clouds move in the sky box and we have no translucency for s3o which means the clouds would have hard edges. Then best we can do is come up with some bryce prerendered cubemaps. :|


af, he is talking about this:
Image
The sky in the distance is a series of 3d objects rendered on a portal around the level. Btw, this shot is from a game made in 1998's map format so it is old.


argh, if you want some cubemaps that I have done, I can toss them on unknown files and you can use them all you want.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

PS: Shogo rocks!
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

S3O? Na, lua with shaders.
Why lock yourself into a limited model format?

- draw an accurate star model into a display list, use os.time() to orient them correctly
- lua has translucency for clouds, and has enough access to allow for some fairly
advanced shader tricks (true 3D clouds and ground fog can be done)
- i haven't added support to generate cubemaps, but you can just draw 6 quads
(although the reflective and specular cubemaps should be accessible in shaders)
- lua has texture matrix control, allows for easy texcoord shifting
- lua can do "true" skyboxes that track the view origin
- lightning, rain, snow, rainbows, whatever
- etc...
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Post by PicassoCT »

rattle wrote:PS: Shogo rocks!
Curse you Rattle! You reminded me that they at Monolith said they would make Shogo 2 - and i am still waiting - again ...

;)

Praise to Shogo!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

don't get me started. I am an elder member of that dead community.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

In the mean time we have the dynamic clouds setting.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

I have requested it before but I will say it again, it would be nice if we could have an option to still render clouds and the sun along with our cubemaps.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Ishach wrote:I've never seen a skybox outside of map screenshots and i'd wager 99% of players dont look at them at all either :/
I see them, Isaac. I play with the camera from time to time.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

trepan wrote:S3O? Na, lua with shaders.
Why lock yourself into a limited model format?

- draw an accurate star model into a display list, use os.time() to orient them correctly
- lua has translucency for clouds, and has enough access to allow for some fairly
advanced shader tricks (true 3D clouds and ground fog can be done)
- i haven't added support to generate cubemaps, but you can just draw 6 quads
(although the reflective and specular cubemaps should be accessible in shaders)
- lua has texture matrix control, allows for easy texcoord shifting
- lua can do "true" skyboxes that track the view origin
- lightning, rain, snow, rainbows, whatever
- etc...
Wait, realtime sun-motion across sky... day/nmight cycle that potentially changes terrain over time

zomg

tides anyone?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

As I was trying to correct the perspective to make my dump moon round on my CPIA & Peripheral Consciousness map, I was under the impression that if it was round when cented on the screen, it became skewed when on the corner of screen. And I came to wonder if a cubic skybox has really no perspective effect that would make it appear as different under certain angle than let's say a spherical skybox. But trying to figure if a sphere can be mapped unto a cube with no visible difference from an observator who can use any angle but has to remain in the center makes my headsplode before I find the answer. Can someone with a better sense of 3D geometry answer me?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

http://spring.clan-sy.com/wiki/Skyboxcreation

I use bryce3d, if you want any of my source files I can upload the raw images for you to look at.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Dragon45 wrote:
trepan wrote:S3O? Na, lua with shaders.
Why lock yourself into a limited model format?

- draw an accurate star model into a display list, use os.time() to orient them correctly
- lua has translucency for clouds, and has enough access to allow for some fairly
advanced shader tricks (true 3D clouds and ground fog can be done)
- i haven't added support to generate cubemaps, but you can just draw 6 quads
(although the reflective and specular cubemaps should be accessible in shaders)
- lua has texture matrix control, allows for easy texcoord shifting
- lua can do "true" skyboxes that track the view origin
- lightning, rain, snow, rainbows, whatever
- etc...
Wait, realtime sun-motion across sky... day/nmight cycle that potentially changes terrain over time

zomg

tides anyone?
I see some MTR fulfillment in the future.
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

weird

Post by rcdraco »

I got shogo too, really screwy game, I didn't like it. :!:
Post Reply

Return to “Map Creation”