Archived

This topic is now archived and is closed to further replies.

Null and Void

Basic 3D Engine Questions

Recommended Posts

Null and Void    1088
Well, now that I''m on my way to getting a 3D engine working, I had a couple of questions . How would you suggest I do a sky? Any good tools for warping a texture to make it display correctly if you use a sphere, or do I not need to? If I draw an object without rotating anything, can I be sure that it will always face the viewport? (I think this is true, but I haven''t had much time to test it) Thanks in advance, if it matters any I''m using OpenGL.
Null and Void
It is an inexperienced programmer who speaks of the length of his works.
It is an experienced one who speaks of the briefness.
http://www.crosswinds.net/~druidgames/

Share this post


Link to post
Share on other sites
Maximus    124
Quake1 didnt use skyboxes, just a flat scrolling texture (on faces of a box in some maps), although the released code had skybox support from when id started testing Quake2 features in there.

Share this post


Link to post
Share on other sites
Solarbeam    122
how exactly does a skybox work, anyway? I want to set one up for d3d...I suppose you just make a giant texture-mapped cube, but this seems sort of clumsy (i.e. it''ll clip walls that are farther away than the size of the box). Anyone have any ideas?

Share this post


Link to post
Share on other sites
md2ge    122
Hi,

Solarbeam ... you don''t need to make a "giant box" =) you simply turn off your zbuffer, render the box, turn it back on and draw everything else. So even if the box is 1x1x1 in size it will still "look" behind everything else.

Rick

Share this post


Link to post
Share on other sites