Ok,
but I 've red somewhere that you need to define 4 sets of coords per triangle - is this true? Or is your point that I only need to define one set per vertex?
Search found 8 matches
- Sat Sep 25, 2004 4:14 pm
- Forum: Game Programming
- Topic: Texture mapping
- Replies: 3
- Views: 1919
- Sat Sep 25, 2004 3:21 pm
- Forum: Game Programming
- Topic: Texture mapping
- Replies: 3
- Views: 1919
Texture mapping
Can anyone help me with texture mapping?
Do I understand it correctly that:
- you need to define new UV-coords for every triangle?
(which does not sound entirely stange to me)
- you need to define 4 sets of coordinates per triangle?
(Why is that? Why not just three)
So if I have four triangles ...
Do I understand it correctly that:
- you need to define new UV-coords for every triangle?
(which does not sound entirely stange to me)
- you need to define 4 sets of coordinates per triangle?
(Why is that? Why not just three)
So if I have four triangles ...
- Thu Sep 23, 2004 6:09 am
- Forum: Game Programming
- Topic: 3D Ball
- Replies: 2
- Views: 1888
- Tue Sep 21, 2004 6:21 am
- Forum: Game Programming
- Topic: 3D Ball
- Replies: 2
- Views: 1888
3D Ball
Does anyone have some code to create a 3D ball out of triangles?
If possible: Complete with normals and UV coords to map one image on it...
Thanks
If possible: Complete with normals and UV coords to map one image on it...
Thanks
- Sun Sep 05, 2004 1:18 pm
- Forum: Coding Questions
- Topic: Image not displayed
- Replies: 8
- Views: 1843
- Sun Sep 05, 2004 1:00 pm
- Forum: Coding Questions
- Topic: Image not displayed
- Replies: 8
- Views: 1843
- Sun Sep 05, 2004 11:42 am
- Forum: Coding Questions
- Topic: Image not displayed
- Replies: 8
- Views: 1843
- Sun Sep 05, 2004 10:55 am
- Forum: Coding Questions
- Topic: Image not displayed
- Replies: 8
- Views: 1843
Image not displayed
Somehow I don't get this image displayed:
InitKeyboard()
InitSprite()
OpenScreen(640,480,32,"")
test=LoadImage(#PB_Any,"test.bmp")
FlipBuffers()
StartDrawing(ScreenOutput())
DrawImage(test,0,0)
DrawText("This was a test")
StopDrawing()
FlipBuffers()
Repeat
ExamineKeyboard()
Until ...
InitKeyboard()
InitSprite()
OpenScreen(640,480,32,"")
test=LoadImage(#PB_Any,"test.bmp")
FlipBuffers()
StartDrawing(ScreenOutput())
DrawImage(test,0,0)
DrawText("This was a test")
StopDrawing()
FlipBuffers()
Repeat
ExamineKeyboard()
Until ...