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
»
near plane setting changes blit location
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: near plane setting changes blit location (Read 2158 times)
raft
quad
Posts: 1993
near plane setting changes blit location
«
on:
February 15, 2013, 09:29:28 pm »
for example the setting below causes blit locations expanded: a blit at 0,0 is displayed at -x,-y
Code:
[Select]
Config.nearPlane = 0.9f;
Config.glIgnoreNearPlane = false;
indeed this was fixed before but somehow broken again. see
this post
i'm using jpct 2.6 and lwjgl 2.8.5
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: near plane setting changes blit location
«
Reply #1 on:
February 15, 2013, 09:41:43 pm »
I'll look into it. I've changed behaviour when setting the near plane with 1.26 to automatically adjust the fov but the strange blitting doesn't seem to be the only problem that this causes.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: near plane setting changes blit location
«
Reply #2 on:
February 15, 2013, 10:56:59 pm »
I've reverted the change and fixed an additional blitting problem with higher values for the near plane. I would have prefered to keep the change, but i somehow couldn't make a near-plane-setting in Config and a fov-method in Camera working together make feel right. Instead, i've added a method adjustFovToNearPlane() to Camera that does this on demand. But i don't think that you have some demand for it, so feel free to ignore it.
Here you go:
http://jpct.de/download/beta/jpct.jar
http://jpct.de/download/beta/jpct_ae.jar
Logged
raft
quad
Posts: 1993
Re: near plane setting changes blit location
«
Reply #3 on:
February 15, 2013, 11:10:35 pm »
thanks, you are very quick as always
it's fixed for desktop, I don't use AE at the moment so I cant verify it
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
near plane setting changes blit location