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.

Newcomers DBPro Corner / 3D objects not appearing/DBP

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 2nd Mar 2007 20:14
Hello everyone.
I'm having a problem with my 3D objects not showing up. Is it becuase I have 2D things? If so how can I have 2D and 3D things at the same time?

Heres my code:
Blobby 101
18
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 2nd Mar 2007 20:22
to get the 2d in the 3d put your 2d on plains. if they're just squares and circles i guess you could draw them before the 3d is started and then use the get image command to grab them and then use the screen grab as a texture onto a plain.


Projects: zlugs-2%
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 2nd Mar 2007 20:24
Ok, thanks!
Blobby 101
18
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 2nd Mar 2007 20:28
I've just noticed you have print in your code, the print statements don't need to be put on plains. normally they can be just fine sitting at the top of your screen.


Projects: zlugs-2%
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 4th Mar 2007 19:12 Edited at: 4th Mar 2007 19:12
Your code was fine. All you needed to do was get rid of the CLS in your loop and make it so that the camera could see the sphere. You don't need CLS when you're using 3D. I don't think the 2D has to be on plains...
Updated:



Login to post a reply

Server time is: 2024-09-25 19:19:49
Your offset time is: 2024-09-25 19:19:49