some questions (texture create 3d and more...)

Started by necromancer, March 29, 2006, 10:43:30 PM

Previous topic - Next topic

necromancer

Done! You should now be able to post.
Thanks Helge.

Let's dance:
1 when create TextureInfo
new TextureInfo(id, uv0.x, uv0.y, uv1.x, uv1.y, uv2.x, uv2.y);
so id - texture id from TextureManager thats correct and understand
but other "magic" digits still confuse me. Please can you provide some docs (with examples and pictures) for people who only start (like me) work with 3D engine.
2 when i'm create own 3D Object (add polygons) method setTexture not work. It's correct?
And for end: what is "animation" and how it's can be useful?
how i'm understand animation cretated by rotate some 3D obj in thread.
but what correctly "animation in you Object3D" do?
PS: 4 simle question =) what be faster rotate groud above center or rotate camera on circle?

Thank's for attention.

EgonOlsen

1.) That are the texture coordinates. This may help to understand it better: http://nexe.gamedev.net/directknowledge/default.asp?p=texture%20coordinates

2.) It does work. It's just that when you don't supply proper coordinates for u/v (see 1.)) and are setting all to 0 for example, the texture won't show. Understand 1.) and you should be able to solve 2.)

3.) It's about keyframe animations. Google for that topic and you should be able to understand what it is about.