fastExt + fastImage problem

Blitz3D Forums/Blitz3D Userlibs/fastExt + fastImage problem

Charrua(Posted 2010) [#1]
Hi
shurely i'm doing something wrong, but, i can't make the Draw commands of FastImage (DrawLine for example) in conjunction with shadows. Following is a code in that the problems appear:



I'm trying to use shadow in a worl editor i'm making to help placement of the newly created objets or when moving, rotating and the like some objets, And using Draw comands to superimpose axis, bounding boxes over the selected ones and the like, but, when i started to use FastLib to speed the Line functions of blitz, all started to work wrongly, and after some debbugin i found that when i apply a least one shadow texture, the draw commands of fastimage fail.

in the code above, when "space key" is pressed, the shadow texture is applied and the drawn lines between the boxes stop drawing.

some ideas??

thank's

Juan


Santiworld(Posted 2010) [#2]
to me work fine, i see the shadow in the blue cube. the lines still there.

sorry, my english is more poor than me


Charrua(Posted 2010) [#3]
thank's for try

i use:

FastExt 1_15
FastImage 1_73
FastText 1_24
Blitz 1.98

Mobile Intel GMA 4500M

i have to think that the problem is some incompatibility wiht my video card?

i was using blitz 1.101 but the documentation in FastImage recomends blitz 1.98, 1.99, so i do a downgrade of blitz, but the problem still persist on my machine.

Juan


Charrua(Posted 2010) [#4]
jus in case it shoul be helpful, this are the graph capabilities of my card. If it's the problem.

TextureCaps: 00000D5F
+ D3DPTEXTURECAPS_PERSPECTIVE
+ D3DPTEXTURECAPS_POW2
+ D3DPTEXTURECAPS_ALPHA
+ D3DPTEXTURECAPS_TRANSPARENCY
+ D3DPTEXTURECAPS_BORDER
- D3DPTEXTURECAPS_SQUAREONLY
+ D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE
- D3DPTEXTURECAPS_ALPHAPALETTE
+ D3DPTEXTURECAPS_NONPOW2CONDITIONAL
- D3DPTEXTURECAPS_PROJECTED
+ D3DPTEXTURECAPS_CUBEMAP
+ D3DPTEXTURECAPS_COLORKEYBLEND

TextureBlends: 00FFFFFF
+ D3DTEXOPCAPS_DISABLE
+ D3DTEXOPCAPS_SELECTARG1
+ D3DTEXOPCAPS_SELECTARG2
+ D3DTEXOPCAPS_MODULATE
+ D3DTEXOPCAPS_MODULATE2X
+ D3DTEXOPCAPS_MODULATE4X
+ D3DTEXOPCAPS_ADD
+ D3DTEXOPCAPS_ADDSIGNED
+ D3DTEXOPCAPS_ADDSIGNED2X
+ D3DTEXOPCAPS_SUBTRACT
+ D3DTEXOPCAPS_ADDSMOOTH
+ D3DTEXOPCAPS_BLENDDIFFUSEALPHA
+ D3DTEXOPCAPS_BLENDTEXTUREALPHA
+ D3DTEXOPCAPS_BLENDFACTORALPHA
+ D3DTEXOPCAPS_BLENDTEXTUREALPHAPM
+ D3DTEXOPCAPS_BLENDCURRENTALPHA
+ D3DTEXOPCAPS_PREMODULATE
+ D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR
+ D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA
+ D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR
+ D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA
+ D3DTEXOPCAPS_BUMPENVMAP
+ D3DTEXOPCAPS_BUMPENVMAPLUMINANCE
+ D3DTEXOPCAPS_DOTPRODUCT3

TextureMaxStages: 4
TextureMaxWidth: 4096
TextureMaxHeight: 4096
TextureMaxAspectRatio: 2048
ClipplanesMax: 6
LightsMax: -1
Bump: 1
BumpLum: 1
AnisotropyMax: 16

i don't belibe that appling a texture makes stop the drawing of FastLib

Juan


Santiworld(Posted 2010) [#5]
i with to know more about this incompatibility, i have some games with this two libs...


Charrua(Posted 2010) [#6]
i reposted on the FastLib thread, mikailv say or confirm my theory that the problem is with my video card, yes a cheap one (intel mobile)

Juan