A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Video Cards » Nvidia Videocards
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OpenGL Points are square instead of round with GL_POINT_SMOOTH



 
 
Thread Tools Display Modes
  #1  
Old March 20th 21, 10:55 AM posted to alt.comp.periphs.videocards.nvidia
ULTRA •
external usenet poster
 
Posts: 1
Default OpenGL Points are square instead of round with GL_POINT_SMOOTH

On Monday, September 23, 2002 at 6:42:20 PM UTC+4, Joerg Seebohn wrote:
I tried using:
glHint( GL_POINT_SMOOTH_HINT, GL_NICEST );
It didn't make any difference on the nVidia GeForce 2 card.
You may be right about not being able to do round points in hardware.

You need two additional calls to enable smoothing and alpha blending.
The smoothing filter produces only correct alpha values.
Use the following code sequence to draw "round" points.
glEnable (GL_POINT_SMOOTH) ;
glEnable (GL_BLEND) ;
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) ;
glBegin(GL_POINTS) ;
...
glEnd() ;
Joerg
www.s.netic.de/jseebohn

it worked for me without glBeginand glEnd thanks man
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nibbles of bits and bytes to make words go round and round Flasherly[_2_] Homebuilt PC's 0 July 3rd 12 09:39 AM
Antec 1200 review. (53 positive points) (26 negative points, some of them are minor) Skybuck Flying[_2_] Asus Motherboards 13 August 7th 08 09:11 AM
Antec 1200 review. (53 positive points) (26 negative points, some of them are minor) Skybuck Flying[_2_] Nvidia Videocards 13 August 7th 08 09:11 AM
Antec 1200 review. (53 positive points) (26 negative points, some of them are minor) Skybuck Flying[_2_] Homebuilt PC's 13 August 7th 08 09:11 AM
Square peg in a round hole.... mike Overclocking AMD Processors 5 September 25th 03 07:10 AM


All times are GMT +1. The time now is 04:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 HardwareBanter.
The comments are property of their posters.