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.

Author
Message
TinTin
20
Years of Service
User Offline
Joined: 16th May 2006
Location: BORG Drone Ship - Being Assimilated near Roda Beta (28)
Posted: 8th Oct 2010 22:40
Hi Guy's it's been a while, but I'm working on a new project and need a little help.

I am trying to create a 3D skybox, not the usual type, an inside out cube with a picture on each face, but a more believable one.

I got the idea from some of the 3d games currently out there. 1st I have a small cube skybox as above which is centered on my skybox camera somewhere of game space. I also have a very simplistic model of a city scaled down to fit in the above skybox. when the player moves in the high detail game area, the skybox camera moves a scaled distance within the low detail city which I intend projecting as a backdrop on the main camera before rendering the high detail game area to it.

Q) Any idea how I can use the output from skybox cam as a backdrop to main cam?



Cyberspace was becoming overcrowded and slummy so I decided to move. These nice chaps gave me a lift.
Image All
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 8th Oct 2010 22:50
well now that u75 re-introduced DBC's texture backdrop command, i think all you would need to do is

haven't tried it though.

i've also got an idea on how to use only 1 camera. i think i read somewhere a command that could make sure an object was rendered first, putting it behind everything else, useful for skyboxes and the like. if you made it render first, then you could have a really small skybox just around your primary camera and have it look like it's engulfing everything. then you could just position it in relation to your camera the way that you were going to move the secondcam in the skybox in your first method.


Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
TinTin
20
Years of Service
User Offline
Joined: 16th May 2006
Location: BORG Drone Ship - Being Assimilated near Roda Beta (28)
Posted: 8th Oct 2010 22:53 Edited at: 8th Oct 2010 23:28
Thanks Image All, didn't realise that the texture backdrop command was back, I'll go give it a try.

Edit: Did a quick test and it's working.


There are 20 light coloured objects being rendered to the main camera and 20 darker smaller objects being rendered to the skybox camera. with proper tinkering I'm sure I'll get the scaling and movement working seamlessly. woohoo!


Cyberspace was becoming overcrowded and slummy so I decided to move. These nice chaps gave me a lift.

Login to post a reply

Server time is: 2026-07-22 03:52:01
Your offset time is: 2026-07-22 03:52:01