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 / Make object sphere help please.

Author
Message
Unseen Ghost
21
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 14th Nov 2002 03:07
Hi,

I was trying the make object sphere 1,100 and the sphere looks alot bigger than 100 pixels. It looks like about 500.
I also tried 200 in the place of the 100 and it also looks the same size, about 500 pixels.
Can anyone explain or have any ideas ?

UnseenGhost
NTekk
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 14th Nov 2002 03:49
Ghost, this is not a 2D draw circle, the 100 is a size..
200 being twice as large as 100.

Think of it this way your eye is the computor camera.
If I place a basketball in front of your face, it is
quite large, but if I move it back from your eye(camera)
it will become smaller and smaller till it looks like
a golfball.

What is happening is your autocam "camera" is on, when you
make a sphere, the camera is repositioning itself to keep
your object in view, while it positioning itself farther
away from the 500 sized one and closer to the 100 sized
one, making them appear the same size.
Sorry but it is late or I'd give you an example, but I
hope you get the Idea>
Unseen Ghost
21
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 14th Nov 2002 04:19
Thanks, I do understand what you are saying.
I am going to try a few things. All I wanted is a 3d sphere in the middle of the screen 100 in diameter. If I still have problems I will check back in.

UnseenGhost

indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 14th Nov 2002 04:27
NTekk maybe this will help your information

UnseenGhost you will have to fathom

3d x y z locations and co ordinates

x is bascially left right
y is up down
z is forward backwards
depending on orientation

any way fidget with this example and change the camera location and positions and the object size etc.




Unseen Ghost
21
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 14th Nov 2002 04:46
Thanks for the snippet and the help.

UnseenGhost

indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 14th Nov 2002 05:04
no worries have fun exploring what eveything does, its easier to learn it then and it sinks in more easily.

NTekk
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 15th Nov 2002 01:17
Thanks Indi for the help in making my late..going's on
a little clearer, and providing the example "a snippet
can be worth a thousand words"

Ghost..good luck in your adventures>

Login to post a reply

Server time is: 2024-05-27 22:28:41
Your offset time is: 2024-05-27 22:28:41