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 / How do you put a skybox around a matrix?

Author
Message
Robert The Robot
17
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 12th Jan 2007 09:46
Whenever I load one of the skyboxes supplied in DarkMatter, I can never get it big enough to cover the matrix I've created. Not only that, I can't get it exactly over the matrix - there's always seems to be a bit of black between the matrix edge and the start of the skybox.

Can anyone help me?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Jan 2007 14:27
You don't ususally make a skybox as big as the world it's covering. You make it slightly smaller than the camera range, and move it with the camera so that it is always centred, and you never reach it.

The skybox will also drop below ground level, solving the problem of fitting it exactly. The edge of your world needs to be designed to fix any remaining problems. For example, your user shouldn't see the straight edge of a matrix, disguise it with buildings, hills, popcorn or whatever is appropriate.



TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 12th Jan 2007 15:24
As well as what BatVink says, remember that you also have the Scale Object command to make the box bigger if you need to.

TDK_Man

Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 13th Jan 2007 02:52
i have a tutorial on skySPHERES which in my opinion look better

its called "a tutorial to get started" (in the newcomers corner) go to part 3 of the tutorial

Robert The Robot
17
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 15th Jan 2007 09:48
Thanks for all your help, guys!

The tutorial was fantastic, Kieran, but I couldn't quite get my head round the code for the camera position. Can you modify it so that the camera isn't quite so close to the blob character?

Login to post a reply

Server time is: 2024-11-26 03:38:37
Your offset time is: 2024-11-26 03:38:37