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 / problem with lock object on

Author
Message
LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 1st Mar 2003 04:54
see code, the problem is if i remove the lock line the object is visible, and in tne center of the matrix, with lock on its totally gone.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Mar 2003 05:43
bling!



LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 1st Mar 2003 07:05
im reviewing it line by line but to same me trouble what was the glitch?

LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 1st Mar 2003 07:27
ive reviewed it and maybe i haven't explained my problem corectly:
DB Clasic
Im trying to set up a object, the turbucke so it doesnt move relative to the camera, i want to set it at a secifics x/y/z cordinate of the matrix i dont want it to hover on the screen i just dont want the camera to mess up its positioning as i move in closer.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Mar 2003 10:27
whats a turbucke

set object has a culling feature if the camera goes inside
the cube and u want to see inside it if this is what u mean?

LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 1st Mar 2003 20:19
a turn buckle is what you see in a wresteling match they are set at all 4 corners and holds the ropes that hold the arena. when i dont use lock object and i move the camera toward the object it moves a little, i want to lock it at a position x/y/z so it is not adjusted by the camera

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Mar 2003 04:54
Ok I think your confusing what lock object does.

it locks it to the camera so dont use it if its a part of the arena

place the turn buckle into a 3d space or make a 3d model
of the arena and place the whole model into a location.

say like 0,0,0 ground zero...

dont use the locking object commands


The only other thing i can think of is that your cameras view range was clipping some of the objects that might have been a great distance away and outside the visible area.

set camera range is default to 5000

set camera range 1,10000
is how to set it to a range of 1 to 10000
u can decide what u want in length

maybe consider shrinking your models to a more managable size ratio



can u post a screen shot, it would help to understand.

LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 2nd Mar 2003 08:28
a screenshot of what?

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Mar 2003 11:05
nvm the screenshot then.

disregard the lock object on command

make sure your arena space is within the boundaries of the camera view area.

eg:

position a cube at each of these co ordinates.

using the

position object ObjectNumber,X,Y,Z


buckle 1 : 10,0,10

buckle 2 : -10,0,-10

buckle 3 : -10,0,10

buckle 4 : 10,0,-10


see how this makes a small arena like stage since we based the center around the 0,0,0

for some sanity of mind if your just starting to visualise 3d space then u may want to base everything on a positive space.




here is an example



LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 3rd Mar 2003 00:24
is their a way to scale a matrix down then? a mat edit matrix

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Mar 2003 01:21
ya make matrix mtxnum,xsiz,ysiz,xdiv,ydiv

the xsiz and ysiz should be the component to alter.

u may need to make the arena a bit larger but not to large or a clipping will occur.

LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 3rd Mar 2003 07:17
im thinking of jusrt recreating the matrix, i already recreated the arena as a 3ds object, might as well recreate the arena

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Mar 2003 10:19
sure it cant hurt
good luck with it.

Login to post a reply

Server time is: 2024-09-19 22:58:05
Your offset time is: 2024-09-19 22:58:05