[5.70LTSB3] rare visualC++ message

All bugs related to the 3D engine
User avatar
Psychophanta
Addict
Addict
Posts: 4976
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

[5.70LTSB3] rare visualC++ message

Post by Psychophanta »

I get time to time this message when run a 3D program with debugger off:
https://mega.nz/#!5xYWySZA!_70g5rp9RLFk ... 6jrMsjEDxc
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [5.70LTSB3] rare visualC++ message

Post by Fred »

We need the code to reproduce it.
User avatar
Psychophanta
Addict
Addict
Posts: 4976
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: [5.70LTSB3] rare visualC++ message

Post by Psychophanta »

:? Sorry, I understand. I tried but just happened 2 times here and never more with the same code. So, if i send the code you will probably not able to reproduce it never.
At the moment i propose Lets think it was driver issue or so...
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
Psychophanta
Addict
Addict
Posts: 4976
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: [5.70LTS] rare visualC++ message

Post by Psychophanta »

Damn! My worries!
I got again the message.

I have cleaned a lot of code to leave you here a tip which cause it.
...
...
...
Finally got it.
Look:

Code: Select all

RX.u=1024:RY.u=768
InitEngine3D()
InitSprite():InitKeyboard():InitMouse()
OpenWindow(0,0,0,RX,RY,"tip",#PB_Window_BorderLess|#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0),0,0,RX,RY,0,0,0,#PB_Screen_WaitSynchronization)
Add3DArchive(#PB_Compiler_Home + "examples/3d/Data/Textures", #PB_3DArchive_FileSystem)
Parse3DScripts()
CreateLight(0,$EEEEEE,4,4,2,#PB_Light_Point)
CreateCamera(0,0,0,100,100)
MoveCamera(0,0,0,3,#PB_Absolute)
LoadTexture(0,"soil_wall.jpg")
CreateMaterial(0,TextureID(0))
CreateCube(0,1)
CreateEntity(0,MeshID(0),MaterialID(0),0,0,0)
Repeat
  ExamineKeyboard()
  RotateEntity(0,0,NaN(),0)
  RenderWorld()
  FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape)
The issue happens when a NaN value is passed as parameter for some 3D commands.
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 794
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: [5.70LTSB3] rare visualC++ message

Post by Zebuddi123 »

Image
malleo, caput, bang. Ego, comprehendunt in tempore
Post Reply