Community
3ds Max Modeling
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max modeling topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to optimize voxel artwork? (combine meshes, merge planar faces)

8 REPLIES 8
Reply
Message 1 of 9
mikeZ7BJ8
524 Views, 8 Replies

How to optimize voxel artwork? (combine meshes, merge planar faces)

mikeZ7BJ8
Participant
Participant

I am using the RayFire Voxels plugin to convert some meshes to voxels. It (predictably) generates a bunch of cubes as shown in the attached screenshot. 

 

Is there a way to merge all these cubes into a single mesh? And also merge planar faces of the same colour into a single face? I like the result well enough but the polycount is too high for my purposes.

 

Thanks!

-Mike

0 Likes

How to optimize voxel artwork? (combine meshes, merge planar faces)

I am using the RayFire Voxels plugin to convert some meshes to voxels. It (predictably) generates a bunch of cubes as shown in the attached screenshot. 

 

Is there a way to merge all these cubes into a single mesh? And also merge planar faces of the same colour into a single face? I like the result well enough but the polycount is too high for my purposes.

 

Thanks!

-Mike

8 REPLIES 8
Message 2 of 9
RobH2
in reply to: mikeZ7BJ8

RobH2
Advisor
Advisor

Try doing a 'Snapshot' of the thing. Go to 'Tools' menu and hit 'Snapshot.' Make the 'Clone Method' as 'Mesh' and see if it works for you. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
0 Likes

Try doing a 'Snapshot' of the thing. Go to 'Tools' menu and hit 'Snapshot.' Make the 'Clone Method' as 'Mesh' and see if it works for you. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
Message 3 of 9
mikeZ7BJ8
in reply to: RobH2

mikeZ7BJ8
Participant
Participant
Thanks for the suggestion. I just tried that and it made a copy of the mesh, but it didn't (appear to) make any other changes to it.
0 Likes

Thanks for the suggestion. I just tried that and it made a copy of the mesh, but it didn't (appear to) make any other changes to it.
Message 4 of 9
RobH2
in reply to: mikeZ7BJ8

RobH2
Advisor
Advisor

I think merging the planar faces into one might be a manual thing. There's no magic button for that really unless the voxel plugin offers it. You might try taking the Snapshot and doing a Retopology on it. Before the Retopo, maybe do a weld to try to merge those planar edges together. 

 

You have an intersting challenge. You are going to have to get creative I think. Upload it and I'll tinker with it. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
0 Likes

I think merging the planar faces into one might be a manual thing. There's no magic button for that really unless the voxel plugin offers it. You might try taking the Snapshot and doing a Retopology on it. Before the Retopo, maybe do a weld to try to merge those planar edges together. 

 

You have an intersting challenge. You are going to have to get creative I think. Upload it and I'll tinker with it. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
Message 5 of 9
mikeZ7BJ8
in reply to: RobH2

mikeZ7BJ8
Participant
Participant

Oh wow, thanks! I've attached a max file with a sample voxel shape.

0 Likes

Oh wow, thanks! I've attached a max file with a sample voxel shape.

Message 6 of 9
RobH2
in reply to: mikeZ7BJ8

RobH2
Advisor
Advisor

Ok, I'll poke around and see what I can figure out. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
0 Likes

Ok, I'll poke around and see what I can figure out. 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
Message 7 of 9
RobH2
in reply to: mikeZ7BJ8

RobH2
Advisor
Advisor

The issue with the Voxel producing scripts is that they do exactly what they are told, they take a volume and make voxels. Meaning, the cubes that represent voxels are stacked to form the surface shape but the are also stacked internally, completely filling the inner volume. It creates a solid stack of blocks, not just a skin that is just a skin of planes. So, you have to remove the interior planes to leave a skin and then weld the coincident verts of that skin. 

 

Unfortunately, this means you have to just find a fast way to manually do the reduction. I 'drag-selected' the surface planes and then hid that plane. Then I'd 'drag-select' another set of planes making another surface and hid those. About 45-minutes later, I had hidden all of the surface planes leaving a ton of internal planes. I selected what remained and deleted them and then unhid the planes I'd hidden. Those unhidden planes were now just a  skin suface. I selected all the verts and welded them. 

 

I attached a file. you can see your original and the new one, both with a slice modifier so you can see inside to what I'm talking about. I also found a post by one of our best and highly missed contributors to the forum, Steve Curley. If he didn't know how to do something, then no one did. Here's his post as well. 

https://forums.autodesk.com/t5/3ds-max-modeling/remove-redundant-internal-faces/td-p/3996846

 

 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
0 Likes

The issue with the Voxel producing scripts is that they do exactly what they are told, they take a volume and make voxels. Meaning, the cubes that represent voxels are stacked to form the surface shape but the are also stacked internally, completely filling the inner volume. It creates a solid stack of blocks, not just a skin that is just a skin of planes. So, you have to remove the interior planes to leave a skin and then weld the coincident verts of that skin. 

 

Unfortunately, this means you have to just find a fast way to manually do the reduction. I 'drag-selected' the surface planes and then hid that plane. Then I'd 'drag-select' another set of planes making another surface and hid those. About 45-minutes later, I had hidden all of the surface planes leaving a ton of internal planes. I selected what remained and deleted them and then unhid the planes I'd hidden. Those unhidden planes were now just a  skin suface. I selected all the verts and welded them. 

 

I attached a file. you can see your original and the new one, both with a slice modifier so you can see inside to what I'm talking about. I also found a post by one of our best and highly missed contributors to the forum, Steve Curley. If he didn't know how to do something, then no one did. Here's his post as well. 

https://forums.autodesk.com/t5/3ds-max-modeling/remove-redundant-internal-faces/td-p/3996846

 

 


Rob Holmes

EESignature

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
Message 8 of 9

dmitriy.shpilevoy
Collaborator
Collaborator

Maybe it's possible to find "outmost" faces with maxscript. Or the other way around - only faces/vertices/edges that are completely covered. Try asking in programming section.

 

"Poor man's" solution would be to use a series of Vol.Select modifiers or maybe just one could be enough if you can make a lowpoly mesh representation of overall voxel shape.

 

 

0 Likes

Maybe it's possible to find "outmost" faces with maxscript. Or the other way around - only faces/vertices/edges that are completely covered. Try asking in programming section.

 

"Poor man's" solution would be to use a series of Vol.Select modifiers or maybe just one could be enough if you can make a lowpoly mesh representation of overall voxel shape.

 

 

Message 9 of 9

mikeZ7BJ8
Participant
Participant
Vol.Select is an interesting solution; I didn't know about that modifier before. That does do a lot of the work for me but the result is still too much of a manual process for this purpose. Thanks for the suggestion!

I'll try posting in programming.
0 Likes

Vol.Select is an interesting solution; I didn't know about that modifier before. That does do a lot of the work for me but the result is still too much of a manual process for this purpose. Thanks for the suggestion!

I'll try posting in programming.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report