Advertisement Jump to content
Sign in to follow this  
Elantre

glPointSize no effect?

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

hi everyone, really strange here; glPointSize(15) has no effect at all... it remains size 1 glEnable(GL_POINT_SMOOTH); glBegin(GL.GL_POINTS); glColor3f(1.0f, 1.0f, 0.0f); glPointSize(15); glVertex3f(.0f,.0f,.0f); glEnd(); anyone who has encountered this situation?

Share this post


Link to post
Share on other sites
Advertisement
i just tried it out....

glPointSize() should be placed outside the Begin() End() block, or no effect

but WHY? any mechanism that can be well said? thx

Share this post


Link to post
Share on other sites
SOME THINGS CANT BE DONE BETWEEN BEGIN..END changing point size i guess is one (check the spec for list of commands u cant do)

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!