MINI TUTORIAL on 3D problems

General discussion about Celestia that doesn't fit into other forums.
Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

MINI TUTORIAL on 3D problems

Post #1by ElChristou » 13.08.2005, 01:30

Hello Guys,

Here is a mini tutorial to illustrate some problems and solutions meet in a process of 3D modeling.

What is important to have in mind is that in a variety of case a bad use of some automated tools like Boolean operations or subdividing tools (tessellation) may have strong consequences in further operations, with sometimes resulting in a model full of bugs?€¦ and so useless.

Let?€™s begin.

I have chosen a part of the docking module (for ISS) of the shuttle.


Image
Pict 1 : left view.

2 meshes will be merged; Pict 2 and 3 show how the two meshes are positioned.


Image
Pict 2


Image
Pict 3


Image
Pict 4 : a perspective view of the scene.


Image
Pict 5 : OpenGL rendering: the red arrow shows the way the intersection of both meshes is rendered; as the 2 meshes are supposed to represent a single volume, this is not acceptable?€¦


Image
Pict 6 : the meshes have been merged with a Boolean addition. In the process note the two faces marked by green arrows; before the operation those faces were made of several little faces in a common plane. This is the reason why all those little faces have been merged in a single one.


Image
Pict 7 : here the faces with more than 4 points have been tessellated. Note the strange way the soft has done this in some part (green arrows). The solutions used by the soft are not always the better ones. Also note the tessellation of the zone pointed by the yellow arrow; later we will talk about this.


Image
Pict 8 : OpenGL rendering: we can see several light artifacts not acceptable.


Image
Pict 9 : Let?€™s have a look at the other side of the mesh; the tessellation of the zone pointed by the green arrow is not the same than the one in pict 7. Let?€™s have a closer look:


Image
Pict 10 : Can you see the tiny perturbations (green arrows) on the line? Something is wrong. The point in the yellow circle is guilty:


Image
Pict 11 : Moving this point reveal an hidden poly (green arrow). This kind of things occurs when there is misplacement of meshes before making some operations. In this case, the misplacement was so tiny that the soft has done a good job a one side of the mesh but not on the other. This example is very frequent, and some big problems can appear later if this is not solved at time.


Image
Pict 12: I have solved those little problems and also tessellate at my taste the 2 zones we have seen in pict 7.


Image
Pict 13 : As we need to smooth the intersection resulting of the addition of the primary meshes, we are going to create a bezel along the intersection. The yellow arrow shows the vertices forming the intersection.


Image
Pict 14 : result of the bezel tool; note the number of poly in the zone pointed by the green arrow, the yellow arrow point to 2 points very close; later those ones will be merged. The blue arrow point to a zone where the bezel is not so neat?€¦ later (once more) we will see this closer.


Image
Pict 15 : OpenGL rendering: things look quite good but we can note some strange shadows, and a default (blue arrow); let?€™s have a look:


Image
Pict 16 : Wrong geometry due to the action of the bezel. Later we will solve this.


Image
Pict 17 : We will modify by hand some vertices, to optimize the mesh.
Remember in Pict 14 the green arrow? Here we can see some vertices have already been merged. The point in the yellow circle has been moved; see the next pict:


Image
Pict 18 : All points of the bezel have been moved?€¦


Image
Pict 19 : Note the way those points are now following a virtual curve. Finally all points in the zone pointed by the green arrows were merged.


Image
Pict 20 : Note the way some faces are badly positioned (green arrow). The point in the yellow circle will be merged with the one pointed with the yellow arrow. This more some others little manipulation will solve the problem in this zone.


Image
Pict 21 : Final result for this example, the mesh is now optimized; few poly, good result; see last pict:


Image
Pict 22 : OpenGL rendering: no more ugly shadows.



To resume:

Good 3D is not the simple use of funny tools (Boolean operations, bezel, tessellation, distorch boxes, etc) but pass through a real knowledge of the topography of the meshes and a deep knowledge of the tools (lot of them have strong defaults). Working at the vertices level can scare some people, but it?€™s the best way to understand 3D and avoid some problem witch can result in the lost of the model.

More Mini Tutorial later.
Last edited by ElChristou on 13.08.2005, 02:46, edited 1 time in total.
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #2by Cham » 13.08.2005, 02:01

Thanks a lot for this tutorial, ElChristou.

Well, I have a lot to learn, it's depressing ! :cry:
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #3by ElChristou » 13.08.2005, 15:16

Against depression: ... action! :wink:


***

Guys, another thing quite important is already shown in the Lukr's thread on his Tintin addon. See about Haddock's head:

http://www.shatters.net/forum/viewtopic.php?t=7343&start=45

The hunt for useless poly....
Image

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: MINI TUTORIAL on 3D problems

Post #4by rthorvald » 14.08.2005, 11:29

ElChristou wrote:Here is a mini tutorial to illustrate some problems and solutions meet in a process of 3D modeling


Great initiative! Thanks!

-rthorvald

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #5by ElChristou » 14.08.2005, 13:06

Guys If you met some specific problem don't forget to post them...
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #6by Cham » 14.08.2005, 15:22

How do we removes all the hidden polygons ? This looks like an impossible task to me.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #7by ElChristou » 14.08.2005, 18:05

Cham wrote:How do we removes all the hidden polygons ? This looks like an impossible task to me.


This depend on the soft used. The problem is to locate useless poly, then it's only question of selection/deleting. When 2 or more meshes are intersecting each others without real merging (resulting in one mesh) then all poly "inside " the construction (not visible) are useless and so must be deleted.
Image


Return to “Celestia Users”