Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Anti-aliasing
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Anti-aliasing (Read 3082 times)
fardke
byte
Posts: 10
Anti-aliasing
«
on:
June 27, 2008, 09:07:39 pm »
Hi,
I want to activate antialiasing without using openGL renderer. I draw a line between 2 objects and the link is very aliased (ugly, like stairs).
Is it possible? And how?
Thank you!
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Anti-aliasing
«
Reply #1 on:
June 27, 2008, 11:53:46 pm »
Depends on how you are drawing that line. You can use two different anti-aliasing modes when using the software renderer. You choose them when creating the FrameBuffer. For example this:
http://www.jpct.net/doc/com/threed/jpct/FrameBuffer.html#SAMPLINGMODE_OGSS_FAST
You pay the price in fillrate when enabling this, i.e. your rendering gets slower. If you are using standard Java2D line drawing to draw that line, this setting doesn't apply. In that case, you have to enable anti-aliasing in Java2D, which should be possible somehow...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Anti-aliasing