Jump to content
  • Advertisement
Sign in to follow this  
Halsafar

GL_POLYGON

This topic is 4714 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

Quote:
Original post by Halsafar
Edit: That Redbook article above doesn't say more than one minor word on texturing these generated simple convex polygons.
If you look at example 11-2 in that chapter, you'll see a vertex callback that sends color along with the vertex coordinates. Adding texture coordinates is no different.

As for that polygon... why don't you just try it out for yourself and see if it works, surely that would've taken much less time than googling and then asking here and waiting for an answer? I would actually consider stars and polygons with holes more complicated because of the overlapping or direction-switching contours, so to answer your question I see no reason why the GLU tesselation routines couldn't handle that.

Share this post


Link to post
Share on other sites
Advertisement
Thank you, I will give it my own shot now.
I am not full of hours of free time and have several programming projects on the go. I felt I'd save myself the work load if this was not plausible.

Thanks for the help everyone,
Halsafar

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!