• Advertisement
Sign in to follow this  

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

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