jaznar
04-25-2001, 03:38 AM
Hi,
I need to draw a virtual swimming pool for an experimental simulation, but I've two doubts:
1) I tried to model the pool by: glBegin(GL_POLYGON); glVertex3f(...), ..., ...., glEnd(), but I wonder if it's possible by auxSolidCylinder(...) .
2) And, how to make impenetrable walls (so that the user can't go through them).
3) In order to navigate into the pool, which is the best way. For example, using gluLookAt(...) or exist other methods?
Any suggestions and help will be welcome.
Thanks.
I need to draw a virtual swimming pool for an experimental simulation, but I've two doubts:
1) I tried to model the pool by: glBegin(GL_POLYGON); glVertex3f(...), ..., ...., glEnd(), but I wonder if it's possible by auxSolidCylinder(...) .
2) And, how to make impenetrable walls (so that the user can't go through them).
3) In order to navigate into the pool, which is the best way. For example, using gluLookAt(...) or exist other methods?
Any suggestions and help will be welcome.
Thanks.