Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / possible bug - can someone please test?

Author
Message
James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 29th Jul 2012 20:50
Unfortunately I use a pay as you go dongle for internet and I dont have enough credit to download U7.6 or U7.7 to test this on, am hoping others here either spot my error or are willing to test with the mentioned upgrades(Im using U7.5). I may not even have enough credit to read results anyone might post for a good few weeks..


I think its pretty much self explanatory, I am using a workaround(Im already testing in my code for inscreen by reusing same object over and over - the workaround is just a seperate object to the source/target object thats big enough to cover full rotation area) but workaround covers area that it need not cover..

If I made no schoolboy error in my code I thought community might benefit from this info as I dont seem to be able to find anything in bug reports, but then I cant continue to search for fear of eating last few pence of my dongles credit..if it turns out its a bug, then I wouldnt have any issue if somebody made the bug report if I dont have enough credit to make it back on internet(will be some weeks before I can return methinks )
Hell_666
16
Years of Service
User Offline
Joined: 11th Jul 2009
Location: France
Posted: 29th Jul 2012 23:19
Object screen result 1 for me.

It don't think it's a bug, object position may be in a zone of the camera view that is not in screen.

Eternal suffering ...

I'm french
Max P
16
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 29th Jul 2012 23:42
Same problem here. The same thing was bothering me today while I was working on the Dark Occlusion DLL, houses randomly dissapear at the edge of the screen because object in screen gives the wrong result.

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 29th Jul 2012 23:58
Which upgrade are you both using? Hell_666 Im not sure I quite understand you correctly - are you saying it reports a 1 when it should, whereas for Max P and myself its producing a 0??(note the mention of specific y angle of camera mentioned in rem statement -for me it produces 0 when it should produce a 1 ie I can see the object when it says its not there) Or are you saying you dont think its a bug as it should be position based rather than to allow for rotation? I thought I was losing the plot at one point Max P - had me checking all sorts of things, but then I remembered I hadnt set all rotations to 0 in level data for specific testing, then discovered the error, not so sure my workaround would suit your needs though as I assume your plugin would need accurate in screen info.
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 30th Jul 2012 07:45
I too had issues with object on screen command. The perform checklist for onscreen objects sometimes does not correctly list all the on screen objects. It was only a minor annoyance and it did still list most of them which was enough for my purposes.(I was writing a culling routine for my undergrowth system)

I am using 1.0761

Sometimes I like to use words out of contents

Login to post a reply

Server time is: 2026-07-08 03:48:11
Your offset time is: 2026-07-08 03:48:11