|
Post by yappy on Apr 5, 2004 16:23:14 GMT
hi all - got a bug report from someone who is having problems with the included 3D Example - only displays this.... as you can see - no 3D in the viewport! Thing is he says that he's downloaded Kefirs XWorld Demo and the 3D works fine in it? So anyone else got any ideas? cheers yappy
|
|
|
Post by Beaker on Apr 5, 2004 22:46:44 GMT
CopyRect not working?
Is he using an ATI radeon gfx card?
|
|
|
Post by yappy on Apr 6, 2004 17:18:01 GMT
no a geforce 4
|
|
Kefir
New Member
Posts: 12
|
Post by Kefir on Apr 10, 2004 17:10:41 GMT
I don't use 3d gads in XWorld, I play with camera's viewports. But this 3d example not work for me too (I have integrated i752 videocard).
|
|
|
Post by yappy on Apr 10, 2004 19:01:27 GMT
thanks kefir
anyone else had problems with the 3D example - thought the 3D stuff was pretty well nailed - oh well ......
cheers
yappy
|
|
Inner
New Member
Posts: 1
|
Post by Inner on Aug 6, 2004 1:33:46 GMT
I've had a play with those functions and found that it is working, the image is just too large to fit in the tiny wee box you've given it ;D, make the box bigger and presto there is your wireframe box, zoom doesn't work though, didn't look into that to why that wasn't working at all
|
|
|
Post by GameKing on Jan 30, 2005 19:34:29 GMT
Hi Yappy,
I just purchased xLnt ii from you and I get the same thing on my system! Windows XP Pro SP2, Blitz3D v1.88 NVidia FX-5700
|
|
|
Post by GameKing on Jan 31, 2005 3:25:11 GMT
Hi Yappy,
Yes it does work if resizing the ViewPort Window, but the Zoom still will not work.
Enjoy
|
|
|
Post by yappy on Feb 26, 2005 13:22:43 GMT
this seems to work ... replace this function in X3D.bb
Function GUI_RENDER3D(XL_GAD,XL_TWEEN=1) GAD.GAD=Object.GAD(XL_GAD) If GAD\TYP=gad_3D If (GAD\TAB=0 Or GAD\TAB=GAD\WIN\TAB) And (GAD\STATUS=gad_SHOW Or GAD\STATUS=gad_LOCK) If GAD\WIN\STATUS=win_OPEN WIN.WIN=GAD\WIN SetBuffer BackBuffer():Viewport 0,0,GUI_GFXW,GUI_GFXH:Origin 0,0 ShowEntity GAD\PAD[0] WireFrame GAD\PAD[1] EntityOrder GAD\PAD[0],-1000 RenderWorld(XL_TWEEN) WireFrame 0 HideEntity GAD\PAD[0] XL_IMG=CreateImage(GAD\W-2,GAD\H-2) GrabImage XL_IMG,0,0 SetBuffer ImageBuffer(GAD\WIN\IMG) GUI_GAD_BUFFER(GAD) DrawBlock XL_IMG,GAD\X+1,GAD\Y+1 FreeImage XL_IMG If GAD\CAP$<>"" XL_TW=QLIMIT(GUI_STRINGWIDTH(GAD\CAP$)+8,0,GAD\W-2) Color 0,0,0 Rect GAD\X,GAD\Y,XL_TW,17,0 Color 0,0,GAD\COL[0] Rect GAD\X+1,GAD\Y+1,XL_TW-2,15 GUI_FONTCOL(GAD\TXT_COL) GUI_TEXT(GAD\CAP$,GAD\X+2,GAD\Y+2,XL_TW) ;GUI_FONTCOL(GAD\TXT_COL) ;GUI_TEXT(GAD\CAP$,GAD\X+2,GAD\Y+2,GAD\W) EndIf SetBuffer BackBuffer():Viewport 0,0,GUI_GFXW,GUI_GFXH:Origin 0,0 Cls EndIf EndIf WIN.WIN=GAD\WIN If GUI_FLAG(WIN\FLAG,flg_SCALE) And WIN\STATUS=win_OPEN SetBuffer ImageBuffer(WIN\IMG) If GUI_WINMODE<>Wmode_RESIZE DrawImage WIN\IMG_SCALE,WIN\W-16,WIN\H-16 Else DrawImage WIN\IMG_SCALE1,WIN\W-16,WIN\H-16 EndIf SetBuffer BackBuffer() EndIf EndIf End Function
|
|
foufa
New Member
Posts: 7
|
Post by foufa on Feb 28, 2005 23:55:23 GMT
Works for me cool one more fixed great job ! ;D
|
|