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.

3 Dimensional Chat / Glitch I Think: Text not showing up with models

Author
Message
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 19th Oct 2008 01:40
Okay, this has been getting to me, because I want to show text with 3d models.

For example, I have something simple like:



What happens when i run it is that it shows the model in the middle with a blue background, and
flashing across the screen.

Does anybody know what's causing this?

~QJ
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 19th Oct 2008 02:33
Use 'text' instead:



<<---------CLICK IT
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 19th Oct 2008 04:19
One thing that AndrewT did not explain is what 'sync' is.

When you have a 3D model loaded up, the camera has to render the 3D scene so you can see it in real time. Using the command 'sync on' to turn synchronization on is the first step. Synchronization is the rendering process. It syncs the 3D scene from the camera's point of view to your monitor.

In your do-loop, it's nessecary to call 'sync' at the end, right before the 'loop' command to draw everything there is in your 3D scene to your monitor.

The 'text' command is an advanced version of the 'print' command. You can place the text anywhere on the screen.

There you have it.

3.11 We do not tolerate posts made for the purpose of putting down another forum member, group of members, religion, our company, our staff or any of our moderators, past or present.
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 19th Oct 2008 04:52
Oh yeah, after I posted I realized I hadn't explained that but was too lazy to edit my post. Sorry dude. Thanks for explaining it (and probably much better than I could) Xenocythe.

<<---------CLICK IT
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 19th Oct 2008 04:56
No problemo.

3.11 We do not tolerate posts made for the purpose of putting down another forum member, group of members, religion, our company, our staff or any of our moderators, past or present.
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 19th Oct 2008 19:36 Edited at: 21st Oct 2008 01:02
what if you just want to display the text?
do you just put a sync command ofter it, or do you have to put it in a loop?

What happens if I don't put it in a loop is that it'll flah on the screen once and disappear. Even if I have a wait key, it will just flash.

~QJ

Login to post a reply

Server time is: 2024-11-25 13:52:19
Your offset time is: 2024-11-25 13:52:19