Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with 3d in DBPro

Status
Not open for further replies.

darealnash

Programmer
Jul 16, 2005
3
NL
i have this code:
Code:
t# = 1.0
backdrop off : sync on : autocam on : sync rate 0
load object "C:\owing.3ds",1
cls
do
   t# = wrapvalue(t#+1.0)
   yrotate object 1,t
loop

but if i start the program, nothing happens. Am i doing something wrong?
 
You need to add a 'Sync' in your loop there to update the screen once each time through the loop.
 
You forgot to put a # after your t:

t# = 1.0
backdrop off : sync on : autocam on : sync rate 0
load object "C:\owing.3ds",1
cls
do
t# = wrapvalue(t#+1.0)
yrotate object 1,t#
loop
 
nice pick svenn...I didn't even see that. Even still, I think he's still going to need a 'sync' if he's using 'sync on'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top