Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Point Size



Hello,

I am currently setting the point size in a vertex shader with gl_PointSize.

The thing is, I manually compute the point size according to the vertex distance to the camera. Is there any better way, maybe a feature I missed? My way is working, but I'm curious.

The idea is to have small point when the vertex is far and big point when it is near, as you might have guessed.


Regards

--
kuon

http://kuon.goyman.com
http://goyman.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.