Jump to content
  • Advertisement

Archived

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

Shadow1234567890

How to create stipple patterns?

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

This is from the ogl game programming book: GLubyte mask[] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0xFF, 0xF0, 0x0, 0x1F, 0xE0, 0x1E, 0x0, 0x7E, 0x20, 0x01, 0x0, 0x7F, 0x39, 0xAB, 0x6F, 0xFC, 0xA6, 0xAB, 0x6F, 0xF8, 0x66, 0x6E, 0xEC, 0xF8, 0x6A, 0x2A, 0x6C, 0xFC, 0x80, 0x02, 0x2C, 0x7F, 0x0, 0x1, 0xC8, 0x7F, 0x0, 0x1, 0xC8, 0x1F, 0xC0, 0x0C, 0x0, 0x07, 0xFF, 0xF0, 0x0, 0x03, 0xFF, 0xE0, 0x0, 0x0, 0x1C, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }; That is the stipple pattern for a 3d polygon. Exactly how is a human supposed to create this?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!