Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 8th November 2005, 08:04 PM   #1
StuC
Junior Member
Advanced member
 
Join Date: Dec 2003
Posts: 25
Default 3D optimisation ....

I have a corridor make up of a line of BOXES - Box copied multiple times..
I snap the verticies by distance and optimise that gives me optimised verticies but when you flip the "corridor" to view the bottom :-



Notice that the surfaces still exist but are never seen.

Is there any automatic way to remove the surfaces that join the boxes together ? I know I can select them manually but I have several hundred of these todo.

Also notice that the "corridor" side and top is now made up of 10 surfaces where if possible (automatically) can this be reduced to 2 ?
__________________
StuC
www.ovine.net
StuC is offline   Reply With Quote
Old 8th November 2005, 08:17 PM   #2
StuC
Junior Member
Advanced member
 
Join Date: Dec 2003
Posts: 25
Default

I suppose Im asking for a "remove hidden surfaces" if there is/can be such a thing ?
__________________
StuC
www.ovine.net
StuC is offline   Reply With Quote
Old 8th November 2005, 10:16 PM   #3
griff
Senior Member
Professional user
 
Join Date: Feb 2005
Posts: 116
Default

Several ways of doing what you are trying to achieve.

1. Using your 'Box" Method :

Create first box. Change to vertex mode hilite vertices on one face, the Surface---> Cut away object. Repeat for the opposite face. Now join your boxes at vertices where faces has been removed as you did before.

2. Use Extrude

Create a box. Hilite a face and extrude with *Remove orginal * checked. I believe with V5 you can specify the number of extrustions and the distance apart. (Never tried it though). So you should be able to do it all in one click ... should be much easier than your method.

Regards,

griff
griff is offline   Reply With Quote
Old 9th November 2005, 01:42 AM   #4
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

Griff is right but if you already have the model, you'll need to remove the surfaces by hand. Either select them in the 3d view. If they are totally enclosed - from the side, select all the vertices that will be in one of the inside surfaces, then switch to surface-mode - the inside surface should then be selected and you can press delete to remove it. (or you can use Surface->remove-surface only, if you stay in vertex-mode)

The light blue lines you have are bad polygons i.e. polygons with <3 vertices. Use Edit->Select-surfaces->invalid-poly and then press delete to remove them. Optimizing the surfaces will also remove these.
Andy is offline   Reply With Quote
Old 9th November 2005, 04:26 AM   #5
StuC
Junior Member
Advanced member
 
Join Date: Dec 2003
Posts: 25
Default

Thanks for the quick responses.

The specified ways work excellently - but - I neglected to mention that the boxes have been generated programatically from a little level editor Im working on. I generate the level - load in Ac3D and optimise.



I dont fancy doing the whole level by hand :S

I was being lazy and not optimising the boxes as they were being put onto the level - I'll spend some time optimising (programatically) before loading it into Ac3D.
__________________
StuC
www.ovine.net
StuC is offline   Reply With Quote
Old 9th November 2005, 06:31 AM   #6
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

Nice model! Yes - best to do it with the generator. Surface->Optimize will only remove a single surface where there are two.

Is this a random level/maze generator? Looks very impressive.

Andy
Andy is offline   Reply With Quote
Old 9th November 2005, 07:09 AM   #7
StuC
Junior Member
Advanced member
 
Join Date: Dec 2003
Posts: 25
Default

Yes, nothing fancy tho' it just places the cube at an x,y position.

Next will be to see if the adjacent squares need to have a face or not and adjust the cube to suit (i.e remove faces)

I dont fancy welding the verticies myself so I'll leave that to Ac3D
__________________
StuC
www.ovine.net
StuC is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 06:14 PM.


AC3D Forum
(C) Inivis Limited 2020