Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3d help/tutorial needed: filled/textured polygons
#1
I won't ask this question in any of the directly QB related parts of
the forum since I will probably code it in c/c++ and with allegro.



Concerning wireframe 3D, I have a feeling on what's needed,
and what I can't remember I can quickly refresh with some tutorials.

What I wonder is:
Do anyone know or can point a link to information on how
to use filled/shaded/textured/whatever polygons in 3d
especially how to draw them in the right order?

EDIT: Please don't point me to openGL/directX stuff,
since I had a glance on a tutorial (which was said to be the best)
and I quickly decided to wait with that...
/post]
Reply
#2
This is what Rel posted yesterday http://rel.betterwebber.com/MyProgs/3dtute.zip
It is pure QB, but it demostrates different types of 3D rendering, including textures and lighting.
hrist Jesus came into the world to save sinners, of whom I am first.(I Timothy 1:15)

For God so loved the world, that He gave His only begotten Son,
that whoever believes in Him should not perish, but have eternal life.(John 3:16)
Reply
#3
OK thanks! I'll look into it when I come home, but I think
I've figured out a way to do it easily.

Thing I'm working on (in mind only so far) is some kind of world
like in GTA2
(
  • Fixed angle top view camera
    Different floor layers
    "Polygon houses with persopective"
)
The z order of the stuff will be easy to do because of the fixed
camera and use of layers like:
  • Render floor on layer 0
    Render walls that go from layer 0 to 1
    Render floor on layer 1
    Render walls that go from layer 1 to 2
    ...

I hope I have the knowledge and patience to put it in code,
because I want this to be something!

...Sigh...

Why won't my head have a USB interface?!
/post]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)