SkyBox like entities?

Advanced game related topics
GBeebe
Enthusiast
Enthusiast
Posts: 263
Joined: Sat Oct 09, 2004 6:52 pm
Location: Franklin, PA - USA
Contact:

SkyBox like entities?

Post by GBeebe »

Is there a way to make a SkyBox effect on an entity? Basically, what I want is a floating cube in a room, that when you look at the cube, it looks like a hole. Ofcourse the shape of the hole would seem to change as you look at it from different angles... I can put a "clouds" texture on a cube, but that doesn't make the effect I want.

Does anyone know if this is possible?

edit:
Another quick question. I'm not close enough, in the development of my game, to test this, so I thought I'd ask to see if anyone else has tested this:

When Using Ogre, to make 2D looking sprites, I'm just going to make flat entities for each character, but I have thought of 2 ways to "animate" the sprite. Which is faster?

a) Having multiple entities, one for each frame of animation, and using HideEntity to show the appropriate frame (would require moving them all at once, hiding the old one and showing the next one).

or

b) Using the EntityMaterial command to simply switch to the next material in the animation.

At first I thought that using EntityMaterial would be quicker because I would only have to worry about one entity per character, but then it might not because EntityMaterial would have to calculate the Mesh data and coordinates over and over again. Has anyone tried these yet?