[Discussion] Boxes 3D

Posts 1–15 of 24 · Page 1 of 2
[Discussion] 3D Boxes
//Discussion

Let your opinions.

@Alessandro10 Hmm, are you starting to learn DirectX?

well 3D boxes consist of point called vertexes.
Well a Menu background made here consist of 4 vertexes,
each vertex can have its own color
So a 3D box can have as little as 8 vertexes
Quote Originally Posted by topblast View Post
@Alessandro10 Hmm, are you starting to learn DirectX?

well 3D boxes consist of point called vertexes.
Well a Menu background made here consist of 4 vertexes,
each vertex can have its own color
So a 3D box can have as little as 8 vertexes
@topblast Yes I'm studying...........

I'm thinking how will I do .........
PlZ post a C0d3 4 3D boxes. I want leech
Quote Originally Posted by CAFlames View Post
PlZ post a C0d3 4 3D boxes. I want leech
if(playerisfound)
{
if(enemy_box == 1)
Draw3DBox(enemy, 100, 100, Red)
}

Win.
I will give you some source from me game

the source below allows you to draw 3D objects.
this is just a Structure but everyone kinda have to make structures for them.
[highlight=C++]
struct sVertex3D
{
float x, y, z;
DWORD color;

enum FVF
{
FVF_Flags = (D3DFVF_XYZ | D3DFVF_DIFFUSE)
};
};
[/highlight]

sVertex3D Veri[6] =
{
{0.0f ,0.0f , 0.0f, (0xffff0000)},
{56.0f ,0.0f , 0.0f, (0xffff0000)},

{56.0f ,0.0f , 56.0f, (0xffff0000)},
{0.0f ,0.0f , 56.0f, (0xffff0000)},

};

example of a little 3D square
boxes are like...well....boxes lol

if u want only a 2d box, as topblast said, then just make a border class for it from the menus, but a 3d box would require many different "vertexes"(as topblast ALSO said). a vertex is basically an angle that can go many different ways, with many different lines connecting to it, actually more like a point for everything to come to.

so u just draw these points around the 8 corners of the player models and then draw lines connecting them.

pretty simple, yet confusing, depending on how u think about it.
Quote Originally Posted by Wilds View Post
boxes are like...well....boxes lol

if u want only a 2d box, as topblast said, then just make a border class for it from the menus, but a 3d box would require many different "vertexes"(as topblast ALSO said). a vertex is basically an angle that can go many different ways, with many different lines connecting to it, actually more like a point for everything to come to.

so u just draw these points around the 8 corners of the player models and then draw lines connecting them.

pretty simple, yet confusing, depending on how u think about it.
can i say this?

you just talked a WHOLE ball of SHIT!
you just said what i said .... only made it hurt people head.
Quote Originally Posted by topblast View Post


can i say this?

you just talked a WHOLE ball of SHIT!
you just said what i said .... only made it hurt people head.
My head is pretty hurt
Im also ButtHurt by it
Quote Originally Posted by Alessandro10 View Post
@topblast change your nick for TopTheBest "Blast" rsrs
topblast sounds more epic
@SNal2F thats cool as Fuck
Quote Originally Posted by whit View Post
@SNal2F thats cool as Fuck
ya i would have never done it either if it wasnt for the anticheat hooking ssdts GDI functions for some reason DrawTextA would get detected because it was calling one of those functions.

it will also be better to find a the players yaw for the boxes
I have a d3d 3d box source on my laptop but I don have it atm
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Talk with us