Page 1 of 1

Meshes

Posted: Wed Feb 03, 2010 12:53 am
by mahem1
How do you make one way shoot and drive through tranlucent meshes like on Missle Wars 2.3 by Ducatiwannabe?
Or even just mesh basics.
Hope someone can help.

Re: Meshes

Posted: Wed Feb 03, 2010 2:29 am
by darkid
The way that works is a drivethrough pyramid.
shots won't go in because of the pyramid, but they go out because you're not sealed and if they didn't move they would kill you, and no one wants that.
then just apply your favorite mesh to the pyramid.

Re: Meshes

Posted: Wed Feb 03, 2010 3:10 am
by Bambino
MW2's pyramids are real meshes. You can do the same thing darkid said, "make a drivethrough pyramid"

Re: Meshes

Posted: Wed Feb 03, 2010 5:35 am
by Spazzy McGee
http://my.bzflag.org/w/Mesh

Faces of meshes only face in one direction - that is to say, you can't see them or interact with them from behind. You can use this to your advantage if you want to make things which you can only shoot or drive one way through. Meshes are complicated business.

And for the whole transparent thing, you're going to need to read http://my.bzflag.org/w/Material too.

Re: Meshes

Posted: Thu Feb 04, 2010 2:50 pm
by mahem1
I don't don't get the face positioning thing ? aka vertex
Can anyone help with that

Re: Meshes

Posted: Thu Feb 04, 2010 7:14 pm
by darkid
vertecies look like this: x_coord y_coord z_coord
then define more of them.
then define the faces by selecting certain sets of coords.

Re: Meshes

Posted: Thu Feb 04, 2010 11:48 pm
by blast
Unless you have a strong grasp of 3D space, you will find it easier to use a graphical modeler instead of trying to hand write a mesh. Find a modeler that can write to either BZW directly (such as recent versions of Wings3D) or one that can write the Waveform OBJ format. You can use the program called 'modeltool' (search the forum for a build of it) to convert an OBJ file to a BZW file. There should be several other topics that cover how to use modeltool.