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
»
Transparency Problem (and More)
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: Transparency Problem (and More) (Read 6024 times)
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #15 on:
June 19, 2012, 08:34:33 am »
No change whatsoever. Still doesn't work as multiple parts.
Logged
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #16 on:
June 19, 2012, 08:41:01 am »
I take it back: it worked. And it's not enableLazyTransformations() (I've since added it back and it still works).
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Transparency Problem (and More)
«
Reply #17 on:
June 19, 2012, 08:55:13 am »
So getting rid of the parent did the trick?
Logged
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #18 on:
June 19, 2012, 09:04:06 am »
Yes, but it also created a new problem: since I have to rotate everything around the X axis by 180 degrees and I no longer have a parent, the trees are getting buried in the ground. Should I just rotate the trees around the the ground's X axis?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Transparency Problem (and More)
«
Reply #19 on:
June 19, 2012, 09:21:17 am »
If that works...!? I'll try to find why it doesn't work with a parent being added. It actually should...
Logged
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #20 on:
June 19, 2012, 09:27:52 am »
Naturally, that was a stupid before-I-went-to-sleep idea that didn't work. So if I could have my parent/child relationship back, I'd appreciate it.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Transparency Problem (and More)
«
Reply #21 on:
June 19, 2012, 09:44:21 am »
What exactly are you using to trigger the collision?
Logged
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #22 on:
June 19, 2012, 09:56:41 am »
calcMinDistance()
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Transparency Problem (and More)
«
Reply #23 on:
June 19, 2012, 10:44:40 am »
I can't verify this problem. I created a test case but it worked just fine. Are you sure that your direction vector in calcMinDistance is a unit vector (i.e. normalized)? If everything looks fine to you, i need a test case for this.
Logged
AGP
quad
Posts: 1726
Re: Transparency Problem (and More)
«
Reply #24 on:
June 19, 2012, 05:41:43 pm »
I'm sure. I'll send you one in a couple of hours.
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Transparency Problem (and More)