Archived

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

Need help making a nurb translucent

This topic is 5648 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a series of nurbs that need to be transparent or translucent. I am not sure what the difference is but I was wondering if their is a built in NURB function to make this happen? If not, is there another way of going at it? I am still new to OpenGL so hopefully it is not to complicated to where I can''t understand. Thanks, Laura laura stephens

Share this post


Link to post
Share on other sites
Transparent means totally clear.
Translucent means partially clear.
(and of course opaque means totally solid.)

I have no experience with NURBS objects; you can probably use blending to make translucent surfaces though. Look into GL_BLEND, glBlendFunc, and glColor4x (e.g. glColor4ub or glColor4f).

As a note, no truly transparent objects exist; if they did they'd be invisible since all light passes directly through them. One of the "most transparent" substances you've seen is glass, but it's still translucent. Often people simply express things in "shades" of transparency instead of translucency, because the former is more familiar, and there's nothing really wrong with that (except that it grates on the nerves of really technical people sometimes ).

Later,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

EDITED: wording.


[edited by - zealouselixir on June 26, 2002 6:02:20 PM]

Share this post


Link to post
Share on other sites