It is currently Fri Apr 19, 2019 9:15 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [5.70LTSB3] rare visualC++ message
PostPosted: Fri Dec 07, 2018 10:28 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4548
Location: Spa, relaxing and thinking, and learning...
I get time to time this message when run a 3D program with debugger off:
https://mega.nz/#!5xYWySZA!_70g5rp9RLFkhg1KgWYdeJ4v2JM4iXToV6jrMsjEDxc

_________________
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
While (world==business) {world+=mafia}


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.70LTSB3] rare visualC++ message
PostPosted: Mon Dec 10, 2018 8:20 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13555
Location: France
We need the code to reproduce it.


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.70LTSB3] rare visualC++ message
PostPosted: Mon Dec 10, 2018 9:10 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4548
Location: Spa, relaxing and thinking, and learning...
:? 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
While (world==business) {world+=mafia}


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.70LTS] rare visualC++ message
PostPosted: Thu Jan 03, 2019 10:19 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4548
Location: Spa, relaxing and thinking, and learning...
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:
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
While (world==business) {world+=mafia}


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.70LTSB3] rare visualC++ message
PostPosted: Thu Jan 03, 2019 11:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 707
Location: Nottinghamshire UK
Image

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Lord and 1 guest


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