www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: bili on March 04, 2012, 02:58:39 am

Title: adding surrounding image
Post by: bili on March 04, 2012, 02:58:39 am
I seen two example project using an object on a plane look very nice but the surrounding still uses the background colour. If I want to add in a new background, does it meant I need to add in something like a cube or sphere so that the model is contained within it? Is there easier way to do this?

Cheers.

Edit: I see, I need to use a skybox. Any tutorial on how to use a sky box? I see none on wiki.
Title: Re: adding surrounding image
Post by: EgonOlsen on March 04, 2012, 08:30:13 pm
Yes, you can use the SkyBox for this. Usage is pretty simple:

Title: Re: adding surrounding image
Post by: bili on March 04, 2012, 09:26:57 pm
I got it. Thanks!