Home > Not Working > Glpointsize Example

Glpointsize Example


Thanks for any advice. Started by stdiotayler, Feb 18 2007 10:12 AM Old topic! After I changed it, anythink worked. –JojOatXGME Oct 27 '15 at 18:13 @JojOatXGME: you are perfectly right about the cause of the problem, but the glBegin is not the glEnd(); } catch (GLError e) { ... } Back to top Back to OpenGL and Vulkan Old topic!

Not the answer you're looking for? This would be the simplest way to find out if there is a problem elsewhere with your code or elsewhere. Register now! Browse other questions tagged c++ c opengl points or ask your own question.

Glpointsize Example

Reply #3 - Mar 19th, 2010, 12:37pm I think I've got it...  PDE Code:gl.glEnable(GL.GL_POINT_SPRITE);gl.glEnable(gl.GL_VERTEX_PROGRAM_POINT_SIZE);shader.startShader();gl.glUniform1f(shader.getUniformLocation("pointSize"), 100.0);gl.glTexEnvi(GL.GL_POINT_SPRITE, GL.GL_COORD_REPLACE, GL.GL_TRUE);gl.glColor3f(1, 1, 1);ringImg.enable();ringImg.bind();gl.glBindBuffer( GL.GL_ARRAY_BUFFER,  nodes_vbo[0]);gl.glVertexPointer(3,GL.GL_FLOAT,0,0);gl.glBindBuffer( GL.GL_ELEMENT_ARRAY_BUFFER, nelements_vbo[0] );gl.glEnableClientState(GL.GL_VERTEX_ARRAY);gl.glDrawElements( GL.GL_POINTS, vnodelength, GL.GL_UNSIGNED_INT, 0 );... You can find similar numbers for gl.BLEND, etc, that are actually implemented. Back to top #4 Nathan Baum Members -Reputation: 1027 Like 0Likes Like Posted 18 February 2007 - 11:31 AM This example needs glBegin(GL_POINTS), not glBegin(GL_POINT).You may also want to try

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. I've included -lGL, lglut, and /usr/include/GL on project linker's options. Back to top #3 Kostya Members -Reputation: 138 Like 0Likes Like Posted 22 September 2005 - 03:20 PM Thanks.. Gl Point However, there is an extension GL_OES_point_sprite, which defines point sprites above ES 1.0. 11-11-2009,04:24 AM #5 jgrarod View Profile View Forum Posts Private Message Junior Member Join Date Nov 2009 Posts

All rights reserved. Glpointsize Opengl Reply to quoted postsClear » Forums » Home » Forums » The Technical Side » For Beginners English (USA) English (USA) English (USA) (COPY) Mark Community Read Forums Members Developer The Art of Word Shaping Munchkin: Charity: Giving cards to someone who has 5 already Texas, USA speed ticket as a European citizen, already left the country Where to get connecting Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.

So I have made a little research and have found that: gl.VERTEX_PROGRAM_POINT_SIZE (WebGL version) --> GL_VERTEX_PROGRAM_POINT_SIZE (OpenGL SE 2.0 specification) is not yet implemented in WebToolKit, almost in the version I Gl_pointsize Not Working Thanks Ben 11-11-2009,08:32 AM #7 giles View Profile View Forum Posts Private Message Visit Homepage Member Join Date Oct 2009 Location London, UK Posts 90 Re: gl_PointSize problem Interesting, it's quite New discussions are ongoing at the new URL http://forum.processing.org. Register now!

Glpointsize Opengl

Use glGet(POINT_SIZE_RANGE); to see what sizes are supported. http://www.gamedev.net/topic/268225-glpointsize-not-working/ Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Glpointsize Example As you finish projects in Quip, the work remains, easily accessible to all team members, new and old. - Increase transparency - Onboard new hires faster - Access from mobile/offline Try Gl_point_size_range Should I have doubts if the organizers of a workshop ask me to sign a behavior agreement upfront?

Reply #2 - Mar 19th, 2010, 9:15am Ya, I tried GL.GL_POINT_DISTANCE_ATTENUATION, but kept getting a weird flickering. Started by GildeD, Sep 02 2004 04:48 PM Old topic! You'll need to sign up and get a new user account. Try to find a specification on your card. /emil 0 Message Expert Comment by:SpideyMod2003-04-06 Comment Utility Permalink(# a8279248) Force Accepted SpideyMod Community Support Moderator @Experts Exchange 0 Featured Post How Gllinewidth

One Itemize problem Texas, USA speed ticket as a European citizen, already left the country Why do most microwaves open from the right to the left? The first file seems to be newer but If I do not enable GL_VERTEX_PROGRAM_POINT_SIZE with this code: Code : gl.enable(0x8642); the size of the pixel are always 1 pixel (always refering What should I do about this security issue? jeffg Senior Member Offline Posts: 472 Re: glsl gl_PointSize not working?

If I understand jgrarod correctly, he was getting the same effect in WebKit but was able to work around it by calling Code : gl.enable(0x8642); http://learningwebgl.com/ 02-15-2010,08:31 PM #10 DarthBill View Glbegin A bit of Googling suggests that there are known problems with ATI 2400/2600 series cards (http://www.mailinglistarchive.com/ma.../msg03188.html), and I have an ATI 2400 on this machine -- so if you have a About POINT_SPRITE feature I think (not completely sure) this only works for OpenGL, not for OpenGL ES.

Not all functions work in side there.

The meaning of 'already' in the sentence 'Let's go already!' My boss asks me to stop writing small functions and do everything in the same loop Why is this funny? Smallest number of contiguous monotonic subsequences Looking for a movie of about futuristic city and alien society How can we pass an element to event handler in javascript Code ladder, Robbers http://learningwebgl.com/ 11-18-2009,04:39 PM #8 vladimir View Profile View Forum Posts Private Message Junior Member Join Date Sep 2009 Location Mozilla Posts 4 Re: gl_PointSize problem gl_PointSize is always enabled/available on ES Glmatrixmode Username or email: Forum Password I've forgotten my password Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active users list Privacy Policy

glPointSize function isn't working. Inventor, Performer, Optimizer) Suggestions for the next release of OpenGL « Previous Thread | Next Thread » Posting Permissions You may not post new threads You may not post replies You Here's my code: (Can anyone help me, thank you.) #include #include void init() { glClearColor(1.0, 1.0, 1.0, 1.0); glShadeModel(GL_FLAT); } void display() { glClear(GL_COLOR_BUFFER_BIT); glColor3f(1.0, 0.0, 0.0); glPointSize(3.0); glBegin(GL_POINT); Join them; it only takes a minute: Sign up glPointSize isn't working up vote 0 down vote favorite glClear(GL_COLOR_BUFFER_BIT); glEnable(GL_POINT_SMOOTH); glPointSize(20.0); glBegin(GL_POINT); { glColor3f(1.0, 0.0, 0.0); glVertex2f(0.0, 0.5); glVertex2f(-0.5, -0.5); glVertex2f(0.5,

glPointSize(10.0f); glBegin(GL_POINTS); glColor3f(1.0f, 0.0f, 0.0f); glVertex3f( v1[0], v1[2], v1[1] ); glEnd(); glPointSize(1.0f); 0 Message Author Comment by:Cicely2000-10-26 Comment Utility Permalink(# a4922479) Thanks. Username or email: Forum Password I've forgotten my password Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active users list Privacy Policy Khronos Forums New Posts FAQ Calendar Community Member List Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders OpenGL Forums WebGL Support Advanced Search Forum Khronos Developer Support more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Would be great if someone new whats missing.