Creating a Cube Map?

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
spencerisin
Posts: 1
Joined: April 23rd, 2013, 5:10 pm

Creating a Cube Map?

Post by spencerisin » April 23rd, 2013, 5:13 pm

Does anyone have any ideas on how I could create a cube map that would render a cube whenever it hit a certain value..

for example if I were to create a vertex and wherever I placed the number 1 it would render a cube to screen.

Thanks.

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Creating a Cube Map?

Post by LuX » April 29th, 2013, 1:12 pm

Make an int array. Then loop the array and place the tile on the respective location depending on the value of the array.
ʕ •ᴥ•ʔ

Post Reply