Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ProNoob

Pages: [1]
1
Support / Rotate camera around some point.
« on: March 11, 2011, 08:50:27 pm »
So, I wanted just to rotate camera around some certain point. (using mouse drag)
I don't know how can I accomplish that as I don't know muych about matrixes etc. I'm not good at math yet.

I do not want to rotate camera around itseft, but around some point. I just want to view one 3d model from diffent angles.

Could anyone post some example code with some explanation?

2
Support / 3d tiles, cubes with different textures on each side
« on: September 23, 2010, 06:15:38 am »
First of all I must say that my knowledge about 3d graphics is really really poor => total newbie.

I want to have such cube, so I can change texture of each side separately, becouse...

I need to create world made of 3d tiles. (like one in minecraft game)

Also there are gonna be multiple tiles with same but moving texture - for example water.
Texture's moving animation must be same on all cubes (ie for water to look like it flows in desired direction) so i thought objects should share texture matrix, but what if some tiles must have only one side rotated  or only texture on it rotated (but then it cannot share texture matrix)  not the whole cube

Also each side must be controlled separately, so if i put two half-transparent cubes next to each other(touching), i want them to "act as one" (the side that is "touching" i want not to display)

I would be thankful for any suggestions or hints.

Pages: [1]