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 / Problems with rotated cubes, what s the procedure to initialize each one _....

Author
Message
Mikel
16
Years of Service
User Offline
Joined: 6th May 2010
Location:
Posted: 4th Oct 2011 17:13
I have 3 cubes but only the first one works ok, and the others rotates in a dirty way.

do you know how to clear the screen in order to display the cubes without shadows....

Thanks

Go!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th Oct 2011 16:03
Hi I took a quick look at your code (couldn't see an immediately obvious problem), it would be easier if you could post something that people can compile (with or without media). I can't compile this without severely messing with the code.

That's probably why you haven't had an answer.

chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 5th Oct 2011 18:33
Quote: "That's probably why you haven't had an answer"


I'm the same boat. I would like to help somehow


Cheers.

I'm not a grumpy grandpa
WLGfx
18
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 5th Oct 2011 21:42
^ me too - last night found no media with it...

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Sasuke
20
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 6th Oct 2011 10:05 Edited at: 6th Oct 2011 10:07
Well...

Set Graphics Card is discontinued so I'd remove that.

I have no clue what you doing at the beginning with the display that gets set twice.

Here are the main issues with your code, the bit your talking about. I edited it so it works:


So to answer your question, turning Backdrop Off but not on again was your issue.

Login to post a reply

Server time is: 2026-07-11 14:36:21
Your offset time is: 2026-07-11 14:36:21