Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 11:25:04 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)TriangleArrayStrip disappearing when too near
Pages: 1 [2]
Print
Author Topic: TriangleArrayStrip disappearing when too near  (Read 5761 times)
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #15 on: 18. December 2006, 03:49:49 pm »

Well, this explains that. It doesn't work for me (see screenshot)...

Any news on the disappearing issue ?
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #16 on: 18. December 2006, 04:32:37 pm »

Well, this explains that. It doesn't work for me (see screenshot)...

Any news on the disappearing issue ?

No, sorry, No news so far. And since it works for me, I fear, I can't help with it. Well, I will test it on my second (older) PC, maybe it doesn't work there. I will do that after the HUD stuff and the porting of the remaining two model loaders to the loader base, OK?

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #17 on: 18. December 2006, 05:24:44 pm »

I meant, I don't mind about the Origin lines, really, but the disappearing selection rectangle is really annoying...
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #18 on: 18. December 2006, 06:15:22 pm »

I meant, I don't mind about the Origin lines, really, but the disappearing selection rectangle is really annoying...

Well, try the following: zoom a little out and draw a large selection rectangle. The rectangle will disappear nly partly in the terrain. I guess it is not correctly positioned / rotated. I don't know, how you calculate the position/rotation, but maybe this code is buggy. Please check it.

BTW: Please commit your recend openmali changes to CVS. Stratagem doesn't compile at the moment.

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #19 on: 19. December 2006, 05:49:02 pm »

OpenMali is all fixed now. I really don't know what happened ! I had to do some work again..

I know about the large selection rectangle but it's because the terrain actually isn't a plane so it hides a bit the rectangle.. do you have a rendering hint to avoid that ??

And the rectangle still disappear entirely when you get too close.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #20 on: 19. December 2006, 07:44:27 pm »

I know about the large selection rectangle but it's because the terrain actually isn't a plane so it hides a bit the rectangle.. do you have a rendering hint to avoid that ??

If you put the terrain into a first render pass, the rectangle into a second one and the model into the third one, this problem should disappear, shouldn't it? Maybe the model and rectangle need to be in the same render pass, since they cut each others.

Marvin
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #21 on: 19. December 2006, 09:58:59 pm »

OpenMali is all fixed now. I really don't know what happened ! I had to do some work again..

I see no changes in openmali CVS. Is it still a dev.java.net (CVS) project?

  • org.openmali.angle.Angle has been moved to org.openmali.Angle. I simply replaced the import in org.stratagem.ia.IA. So no problem.
  • org.openmali.surface.LinearTerrainHeight has been moved to org.openmali.LinearTerrainHeight and doesn't support a getDimX(), getDimY() and getZ() method. So org.stratagem.world.flavorable.TerrainAttributes is not compilable.
  • the Distance2D class doesn't exist. So org.stratagem.ui.input.Input.java and org.stratagem.world.Unit are not compilable.

Did I do anything wrong?

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #22 on: 20. December 2006, 08:34:53 pm »

Did I do anything wrong?
In fact you didn't need to change anything : I don't understand why it doesn't work..

Ah maybe I understand what's going on : are you checking CVS while I'm devleoping on SVN ? Try accessing SVN.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #23 on: 20. December 2006, 08:53:11 pm »

Did I do anything wrong?
In fact you didn't need to change anything : I don't understand why it doesn't work..

Ah maybe I understand what's going on : are you checking CVS while I'm devleoping on SVN ? Try accessing SVN.

Are you talking about stratagem repository? I always checked it out from SVN.

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #24 on: 22. December 2006, 03:51:12 pm »

I'm talking about the openmali repository. It's SVN, not CVS.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #25 on: 23. December 2006, 01:58:14 am »

I'm talking about the openmali repository. It's SVN, not CVS.

Ah, that's the trick. I was searching for openmali on sourceforge. But didn't find it. Could you please point me the the project page?
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #26 on: 23. December 2006, 01:38:14 pm »

I'm talking about the openmali repository. It's SVN, not CVS.

Ah, that's the trick. I was searching for openmali on sourceforge. But didn't find it. Could you please point me the the project page?
Why, it's on dev.java.net !

The repository is there : https://openmali.dev.java.net/svn/openmali
It's confusing cause there is also a CVS repository set up for OpenMali even if I didn't ask for it.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #27 on: 23. December 2006, 02:34:18 pm »

I'm talking about the openmali repository. It's SVN, not CVS.

Ah, that's the trick. I was searching for openmali on sourceforge. But didn't find it. Could you please point me the the project page?
Why, it's on dev.java.net !

The repository is there : https://openmali.dev.java.net/svn/openmali
It's confusing cause there is also a CVS repository set up for OpenMali even if I didn't ask for it.

OK, that worked. Thanks.
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic