• Advertisement

Archived

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

How to create stipple patterns?

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