Jump to content
  • Advertisement
Sign in to follow this  
wangdiweilu

how to control some quads are scaled while others don't scal

This topic is 4023 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 draw some quads in a list ,their vertexs is from file .when i call this list ,i want to some quads are scaled,while some don't scale when i use glscale.

Share this post


Link to post
Share on other sites
Advertisement
You can't selectively scale primitives that are rendered using a display list. You may only transform (i.e. scale, rotate, translate) ALL primitives in the display list at once.

However, you can include the glScale command in a display list to scale only selected primitives. Keep in mind though that changing the scale amounts would require a recompile of the list.

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.

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!