3D Progams - best one?

General talk about the map making process.
Post Reply
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

3D Progams - best one?

Post by ducatiwannabe »

Heya tankers!

I'm thinking about getting back into mapmaking and it would be fun to try something outside of my tried and true go-to of BZEdit this time.

I've heard of people using a variety of 3D modeling programs but I think last I knew the best one with the best controls is Blender? Anyone find another program easier or more helpful for a 3D noobie?

Thanks,
dw
User avatar
alfa1
Private First Class
Private First Class
Posts: 168
Joined: Tue Dec 04, 2012 10:21 pm

Re: 3D Progams - best one?

Post by alfa1 »

Based on my 1 year of public hosting/designing experience (tho I also develop) I can tell some things:

- (pure) handmade design/edition is very useful; you can, even, make scripts for maps (randomness, etc.)
- the few I could research of Blender: you can modelate on it, export the work to .OBJ, open it with Wings 3D and export it to .BZW. Since it is a very complex program (tho surely very powerful too), maybe a better choice would be starting with the second one.
User avatar
Zehra
Private First Class
Private First Class
Posts: 914
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: 3D Progams - best one?

Post by Zehra »

I can't say as I do not have any experience with 3D modeling programs.
However from what I've heard, Wings3D seems to be easier for some.
Blender is more powerful, but is more complicated.
You also will need to 'convert' files from '.obj' to '.bzw' with modeltool or opening and exporting it as '.bzw' with Wings3D.
There also is BZW Export Plugin for Blender, so if you decide to use it, it should make things a bit easier for you.
Small side note: Even if you use Blender or Wings3D, you probably will want to also know how to hand edit meshes, as this is usually needed for the finishing touches or some details which cannot be done otherwise.

You also may want to check into scripting/programming as it might be easier to create objects/meshes that way.
(Ruby, Python, Bash, Visual Basic and Perl have been used for some map generation, so maybe learning one of those languages is an option.)
If you would like additional information on scripting/programming, feel free to contact me by private message.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
macsforme
General
General
Posts: 2069
Joined: Wed Mar 01, 2006 5:43 am

Re: 3D Progams - best one?

Post by macsforme »

JeffM made a plugin for the Unity Engine editor. Not sure if it’s actively maintained or works with their latest versions, but it worked pretty well when I last tried it. I used it to create the Choke Point map. There’s a topic on this forum somewhere for it.
User avatar
Zehra
Private First Class
Private First Class
Posts: 914
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: 3D Progams - best one?

Post by Zehra »

It's in the Map Editors section of the forum.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: 3D Progams - best one?

Post by optic delusion »

Purple Panzer does almost all of his work in Visual Basic.

My advice to you would be, since you are familiar with BZEdit, use that to deign the overall shape and playability of the map, then use a 3D editor to apply eye candy.
Using modeltool to convert obj to bzw (including drawinfo) is not difficult at all. Which means any editor that will export as obj format is fine, which is almost all of them. many won't import obj though.
Wings3D is free, open source, definitely easiest, has everything you'll need for BZ, and it does export directly to bzw. Do the house tutorial here, takes about 90 minutes and you'll have about 90 percent of the knowledge you'll need. You don't need the hand tutorial for BZ. Adding textures can come later. http://www.wings3d.com/?page_id=676

I suggest you do your hand-editing an a separate file which has an include statement referencing the 3D file. Load the hand-edited file into bzfs, and that file loads the mesh file. Once a mesh is complete, paste it into the first file and move to the next mesh.

The biggest difficulty is combining mesh objects and bzw-style objects, and you wind up with what is sometimes called "the floating point bug", where tanks can't drive from object-to-object and looking at the numbers it sure looks like that thing should be drivable.
It's super-frustrating when the same object works fine on your computer, but when you bring players in, someone else's CPU computes the decimals slightly differently, so it's not drivable for them. The tops of all boxes must be perfectly flat, and what looks like perfect when you look at the numbers is not always perfect when out in the wild. _maxBumpHeight does not help. This will drive you nuts.


My method is:
Build the map in bzw, being sure to test the tops of all blocks to be sure they are drivable. Especially around bases.
Convert to obj using /saveworld -o
Apply an invisible texture to the entire bzw map. (modeltool has a bounding function to do this automatically when converting drawinfo, but I never use it, because my model usually has small errors.)
Load the obj file into your editor and apply all the eye candy you could ever want in the 3D editor, export as obj and convert to drawinfo using modeltool.
Once the eye candy is complete, add the mesh to the invisible bzw object, inside a define.
Drawinfo displays much faster and smoother. Small errors in the mesh don't matter because drawinfo doesn't interact with collision detection. You don't end up with extremely hard to fix single-point errors in the mesh because the bzw-type objects are exclusively used in collision detection.
Occlusion and collision detection is what makes maps seem choppy in play.

Another trick I use is (once the bzw is converted and loaded into the editor) I will move objects to point 0 0 0, apply the eye candy, then export back to bzw, and use shift in a group to move them around. Especially if the same object is used in several places. You only have to apply the eye candy once, and the bzw-style object you originally made, tells you exactly where to shift it.
There's a lot of cut and paste, but what you end up with looks like this...

group thing
shift 50 50 0
end

define thing
box
material invisible
size 10 10 10
pos 0 0 0 (this was originally 50 50 0, change when you add shift in the group)
end

mesh
vertices...
normals...
texcoords...
drawinfo
corners...
lod
end

enddef #thing


# invisible material removes item from display, but not collision detection
material
name invisible
color 0 0 0 0
noculling
noshadow
nosorting
nolighting
groupalpha
#noradar
end
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Re: 3D Progams - best one?

Post by ducatiwannabe »

Thank you all so very much! I clearly have a lot to learn but having this in front of me is probably the best start I could have had - thanks again!
Post Reply