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 / Cloogy, d3d_circle3d wont draw properly in another camera view-

Author
Message
JoeOh
17
Years of Service
User Offline
Joined: 25th Feb 2009
Location:
Posted: 25th Dec 2010 10:24
I have 2 cameras created, the first camera is for the main screen view. The number 2 camera is a small window for the radar view. I can draw a 3d circle in the main camera view just fine.

But when I tell the d3d_circle3d command to draw in the number 2 camera, the circle is drawn in the 2nd camera but in the wrong part of the screen. I have the radar view in the bottom right corner. The radar view is 150x150 pixels in size. The 3d circle is being drawn in the upper left corner of the screen instead of where the radar is being rendered.

What's the usual culprit behind this? Thanx

Home is where my souped-up computer is...
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 27th Dec 2010 15:30 Edited at: 27th Dec 2010 15:31
Always best to show some compilable code we can test, a working snippet we can compile

Login to post a reply

Server time is: 2026-07-21 20:35:16
Your offset time is: 2026-07-21 20:35:16