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 Discussion / 3d object pixels

Author
Message
slicer 4 ever
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: currently: planet gamma3295
Posted: 17th Feb 2007 07:30 Edited at: 17th Feb 2007 07:31
is there a way command in which would could tell me the number of pixels in an object then another command which tells me the pixels current x/y/z?


this would really help so if anyone knows that would be great

also i'm using dbc with enhancment packo and just incase anyone wondering i can't look up the command as i don't have my main laptop till tommorow which has this program

my smiles love me =-)=-)=-)(-=(-=(-=
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 17th Feb 2007 09:01
Quote: "is there a way command in which would could tell me the number of pixels in an object then another command which tells me the pixels current x/y/z?"


Sorry, but your question doesn't make sense.

Pixels are a 2D measurement, but in the same sentence you mention objects and 3D X, Y, Z co-ordinates....

TDK_Man

slicer 4 ever
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: currently: planet gamma3295
Posted: 17th Feb 2007 18:07
ok i then mean basically where the lines connect in a 3d object to i couldn't think of a better word then pixel anyways thats what i mean.

my smiles love me =-)=-)=-)(-=(-=(-=
aticper
19
Years of Service
User Offline
Joined: 27th Jan 2006
Location:
Posted: 17th Feb 2007 19:13
vertices?

I'm not paranoid. Stop thinking that I'm paranoid!
slicer 4 ever
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: currently: planet gamma3295
Posted: 17th Feb 2007 19:57
yae i believe thats what ther called either way all i really need to know is how to first determine the number of points/vertices in the objects and there current x/y/z location after that i can turn them into another program which i can run though my psp

my smiles love me =-)=-)=-)(-=(-=(-=
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 17th Feb 2007 20:19 Edited at: 17th Feb 2007 20:21
DB doesn't have any commands to access object vertice data. But you could probably do it with memblocks.

Have you tried searching the forum for 'vertices' or 'memblock'?

[Edit] Just found this:

http://forum.thegamecreators.com/?m=forum_view&t=12535&b=10

TDK_Man

slicer 4 ever
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: currently: planet gamma3295
Posted: 17th Feb 2007 20:43
at a quick look it looks promising as the guy said he was able to move a vertex so i'll look more indepth to that thanks=-)

my smiles love me =-)=-)=-)(-=(-=(-=
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Feb 2007 20:07
I thought he meant voxels at first.

Login to post a reply

Server time is: 2025-05-26 03:30:04
Your offset time is: 2025-05-26 03:30:04