It is currently Thu Jul 02, 2020 8:28 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject:
PostPosted: Fri Feb 14, 2003 2:18 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by BalrogSoft.

Hi to all...

Im working in my 3d engine that i call Spy3D Engine, you can download from my web at: http://www.balrogsoftware.com/3denge.html
I still working on it because i have all control of the 3d engine, OGRE source is available, but im best coder on PB that C++, and my engine dll archive only have 47kb. The engine is a dll library now, with basic 3d functions, i coded 3 examples of my 3d dll engine under PB. In next versions i will add animation frames support, planar projection texturing, bone support, 3d collision, etc...

Please check and test it, and send to my email all bugs, new things to add, etc...
Bye, and sorry for my bad english, Balrog Soft.


Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 14, 2003 9:20 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by fred.

Seems promizing... And very cool demo of what can be in PB.

Fred - AlphaSND


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 14, 2003 4:12 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by Franco.

Very nice work Pedro, keep the ball rolling :)

BTW: when I want to quit an example pressing ESC, the program crashes.
Forgot to mention that it happens under Win2k-SP3.

Have a nice day...

Franco


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 14, 2003 5:50 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by MrVainSCL.

Wooooow, really great job you did BalrogSoft! I realy like your small and really fast 3D engine :wink: (That´s a engine which pure needs in its size :)

Keep on ya fanatstic coding and please inform me if you have any news about the engine. Thx!


greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 14, 2003 9:10 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by tinman.

Excellent work!

--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.51, Ed3.53)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 12:38 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by MrVainSCL.

Hi BalrogSoft,
As reported before and i know its still a beta - the program crashes when quit it. Seems the programm will try to "read" something from the adress $1000961C where it will crash!

1000961B ???
>> 1000961C ???
1000961D ???

Maybe this will help you out to find the bug?

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 1:57 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by BalrogSoft.

Quote:
Originally posted by MrVainSCL

Hi BalrogSoft,
As reported before and i know its still a beta - the program crashes when quit it. Seems the programm will try to "read" something from the adress $1000961C where it will crash!

Maybe this will help you out to find the bug?



Thanks MrVainScl, i will check this bug... but i dont know what crash your computer...

Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 7:47 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by plouf.

i get a "application xyz had a problem..." too on my XP after all examples quiting
(pressing escape)

Christos


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 6:39 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by BalrogSoft.

Quote:
Originally posted by plouf

i get a "application xyz had a problem..." too on my XP after all examples quiting
(pressing escape)

Christos


Hi Christos...

Thanks for your bug report, i dont understand "application xyz had a problem", because i dont use an application xyz or a variable called xyz, but i update my 3d engine, with shadows and some new command, is available at http://www.balrogsoftware.com/3denge.html
If someone have any problem, please run 3DExample1.pb with debugger, and send to me an email with the line or command which crash your computer...

Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 8:21 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by plouf.

debugger shows after close CloseEngine()
but i think problem i caused by CloseEngine()
removing this program closes without problem (!?!?!?)

btw with xyz i mean 3dexample1,3dexample2,...

Christos


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 9:54 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by MrVainSCL.

Quote:
Thanks MrVainScl, i will check this bug... but i dont know what crash your computer...


Hi BalrogSoft,
i would really try to help you and give a disassembles part of the section where it crash.. the only one i get is "???" ;( sorry

i found a small problem. I have take a look to your include file and to the examples sources. When calling Init3DEngine() you will automatical use OpenLibrary() to access to your DLL. But if you take a look to the end of your examples, you will see that you are using CloseEngine() which will automatical call CloseLibrary(0). In your example files you are calling CloseEngine() and then a CloseLibrary (even if this was done with calling CloseEngine()) :wink: You are calling also two times in the prog CloseLibrary(). But this will not solve the crash prob... i will try to check it more out :wink:

Btw, when removing CloseEngine() it will not crash when exit! Maybe the DLL will try to free something that is not init or you have init somehthing but give it not free!?!

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 10:02 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by MrVainSCL.

The programs will crash without any info what courses this and in which line it will crash (even with enabled debugger) ;(

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 15, 2003 10:18 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by MrVainSCL.

Here are some more infos... Seems its not only a problem of "CloseEngine()"... I have tested it a bit (more tests will follow)... In following very small example file where i cutted out most stuff but using Init3DEngine() and CloseEngine() it works fine as long as you unmark the block with the OpenWindow() - If you use OpenWindow and try to quit your app, it will crash as all your full examples... Maybe this will help you a bit more?

Code:
    InitKeyboard()
    IncludeFile "3DInclude.pb"
    ;
    V.f=2 : TU.f=0.02 : Pi.f=3.14159265
    ;
    If Start3DRequester()=#TRUE
      If Init3DEngine()
        ;
        ; -------- Unmark this block and ya prog will crash -------
        ;
        OpenWindow(0,50,50,ScreenWidth,ScreenHeight,#PB_Window_SystemMenu,"3D Example 2")
        WindowID=WindowID()
        ;
        ; ----------------------------------------------------
        ;
        Repeat
          WEvent=WindowEvent()
          If WEvent=#PB_Event_CloseWindow
            Quit=1
          EndIf
          ;       
          RenderScene()
            ;
          ScreenSwap()
        Until Quit=1
        ;
        CloseEngine()             ; Here it works with CloseEngine()
      EndIf
      ;
;     CloseWindow(0)              ; Not really needed...
    EndIf
End


Btw please take a look to example file 3+4... I think the "PI" variable should be set to "PI.f = 3.14...." :wink:

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Feb 16, 2003 1:13 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by BalrogSoft.

Quote:
Originally posted by MrVainSCL

Here are some more infos... Seems its not only a problem of "CloseEngine()"... I have tested it a bit (more tests will follow)... In following very small example file where i cutted out most stuff but using Init3DEngine() and CloseEngine() it works fine as long as you unmark the block with the OpenWindow() - If you use OpenWindow and try to quit your app, it will crash as all your full examples... Maybe this will help you a bit more?


First, this code that you reply in this post crash because you init the 3d engine, but you init all variables(this is the function of this procedure), the screen for 3d engine is opened in CreateCam function, it crash because the buffers are flipped in RenderScene, and the only one function of CloseEngine in the dll and not the procedure that call it is close the screen, and in your code isnt opened the screen, although CloseScreen is only executed if CreateCam is executed before CloseEngine. And i dont have any problem with CloseEngine function on my computer with W98SE.

Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Feb 16, 2003 11:23 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by plouf.

CloseEngine() crashes on XP too so i believe that this is the problem
or makes a previous error crusial or

Christos


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye