Mega Search
23.2 Million


Sign Up

Make a donation  
3D - Texture repeat on iPad ?  
News Group: embarcadero.public.delphi.firemonkey

Hello,

how to achieve textures repeating in iPad FireMonkey OpenGL ES ?

On Windows I just had to modify the appropriate context sources to 
for example   glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);  
or setting the right SamplerState in DX10.

BUT modifying   FMX.Context.GLES.pas    and deploying to iPad results in a screwed up screen - as the IDE also warns me not to do so. OK, but then how to achieve repeated tiled textures, not the default clamped setting???

/by the way what's the point of texture clamping by default? If you have textures you don't really want to see plain colors at the edges. At least I've never ever seen such thing./

Thanks

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 14-Jun-2013, at 10:44 AM EST
From: Ko Ge
 
Re: FireMonkey TTreeViewItem Height  
News Group: embarcadero.public.delphi.firemonkey
I am expreienceing the same issue in XE5.

Any ideas?

> {quote:title=Massimiliano Dellisanti Fabiano Vilardi wrote:}{quote}
> In XE4 it looks like the Height property of TTreeViewItem is not working: you can change it and the item changes its size. But as soon as the TreeView gets updated, all items change their height and become equal. I suppose this is a bug. Any workaround?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Nov-2013, at 5:01 PM EST
From: KEVIN RAPPOLD