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 / n00b Qs about scaling 3d objects.... really simple i guess +easy Qs

Author
Message
GR3G0R
21
Years of Service
User Offline
Joined: 7th Nov 2003
Location: Dubai, UAE
Posted: 8th Nov 2003 18:01 Edited at: 8th Nov 2003 18:04
hey, im a real n00b at DBPro right now, i downloaded the demo today (ordered it already, takes time tho ) and, i am doing some nice (really simple) Math Hacks.
just some programs that help you for math homework easily.
and, here is my first Q....
it asks u for the height, length and width, and it gives u the volume. But, i also want it to show a 3D model of it (spinning around slowly) by pressing G. How would i change the scale of the cube/model to fit wat the user changed it to?
here is the code so far



oh and... a few simple Qs:
how would i make them press a key, to make em start the program again?

and, how would i make a button, if they dont want to restart the program, but exit?

thanks in advanced!

-------------------------
I'm new to DarkBasic Pro, so don't flame me :/
GR3G0R
21
Years of Service
User Offline
Joined: 7th Nov 2003
Location: Dubai, UAE
Posted: 8th Nov 2003 19:35
...sry, but this is real urgent. if any1 could plz reply maybe??

and... heres some more Qs... (the longer u dont reply... the more Qs i hav to ask )

how would i:
-add some texture to the model?
-add a backround?
-make it come up in a new window?
-to add a MENU thing at the begining? Like:

MATH HACKS


Area

3D Volume

Fibonnacci


etc... and if u click on 1, it goes to it? and a backround image??


... that last Q isnt really urgent.. But it would be nice if some1 knew and could tell me


plzzzzzzzzz reply

-------------------------
I'm new to DarkBasic Pro, so don't flame me :/
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Nov 2003 20:08
this should get you going...



-RUST-
GR3G0R
21
Years of Service
User Offline
Joined: 7th Nov 2003
Location: Dubai, UAE
Posted: 8th Nov 2003 20:28
ty for replying, but. When i tried that (copyed and pasted it into my darkbasic pro) it works, but:
-why is the text bold and blurred? i dont see MAKE TEXT BOLD ?
-why is that DarkBasic logo on the side?
-and when i press the up arrow key, it exits/messes up

does this happen to any1 else? or just me

-------------------------
I'm new to DarkBasic Pro, so don't flame me :/
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Nov 2003 20:31
are you using DB or DB pro?

it works perfect here.

-RUST-
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Nov 2003 20:32
oh, dbp demo version..
that explains the logo
the other stuff, I dunno

-RUST-
GR3G0R
21
Years of Service
User Offline
Joined: 7th Nov 2003
Location: Dubai, UAE
Posted: 9th Nov 2003 14:15
hmm , ok thanks i should be getting dbpro in the next few days now!!!

then... the code will be MINE!

-------------------------
I'm new to DarkBasic Pro, so don't flame me :/

Login to post a reply

Server time is: 2024-11-25 16:49:44
Your offset time is: 2024-11-25 16:49:44