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.

Code Snippets / how modify the points on a sphere

Author
Message
delorme
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 6th Jun 2003 21:05
Hello

Sorry but i'm very bad in math can you help me. I'll want a sphere who is a planet with valley, mountain .... But for modify the sphere it'll need math :-(


I can modify the point with facility but i don't know the value of the points.
Sorry for my english,
Damokles
20
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 7th Jun 2003 19:43
I would suggest to create an object with some 3D modeller and load it in your game.
Besides, If you're not used to mathematics, I suppose you didn't create many game until now, right ?
(Spoken Language ?)

"Begin at the beginning, and go on till you come to the end: then stop." - Lewis Carroll
delorme
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 8th Jun 2003 08:26
I have no 3d modeller and if i want make by math it's just by curiosity. I think it's more simple and speed to generate a planet with a code instead of generate a planet by a 3d modeller.


Sorry for my english,
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 8th Jun 2003 09:07
save mesh should pump out a data file in the x format from a primitive sphere.

from here you could apply data alteration to the vertices and polys with a memblock perhaps like the vertice changing example of a cube shown on this forum a short while back in time.

andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 8th Jun 2003 18:48
@indi

This one?

http://www.darkbasicpro.com/apollo/view.php?t=11300&b=6

"Food is güd!" -Dean
"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Jun 2003 07:37
I cant find the post but i saved the code snippet



Login to post a reply

Server time is: 2024-04-25 14:04:10
Your offset time is: 2024-04-25 14:04:10