Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, 1 invisible), 942 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MED: Hard and Soft Edges at created Models? #308428
02/03/10 10:22
02/03/10 10:22
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
Is it possible to alter the hardness of edges in MED at models I designed from single vertices or imported from a CAD software? At the tool properties panel, there is the option for hard or soft edges when you insert a primitive. Is it possible to influence that afterwards to get harder or softer edges at the rendering?
Thx.
----------
Ist es möglich, die Härte von Kanten in MED bei selbst gebauten Modellen zu beeinflussen? Im Properties Panel gibt es die Selektion Hard oder Soft für Primitives, die man in die Szene setzt. Geht das auch nachträglich?
Danke.

Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308464
02/03/10 11:43
02/03/10 11:43
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Hard edges are achieved due separating the touching faces, means the vertices of that edge are doubled. You can achieve that within MED only by selecting a 'side', copy it, deleting it and re-insert it by pasting it. Hope, it is possible to understand this explanation.

Afterwards, in game you can it influence only by shaders, as far as I know.

Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308496
02/03/10 13:49
02/03/10 13:49
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
Thank you, Pappenheimer.
I understand the procedure, but that sounds like a looooong effort with doubtful results. I do not think that you will get that model closed at the edges.

Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308515
02/03/10 14:45
02/03/10 14:45
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
The results are not doubtful, unless you need a closed mesh for the shadow that you use.
Take the standard cube create it with soft edges, select a side etc. like I described, you don't need to move anything, the vertices are at the identical position.

It still is a lot of work.
To avoid it, you could switch the shading of. 'Unlit'? I'm not sure about that.
If you baked an ambient occlusion shadow into the model's skin, then it shouldn't be too noticeable, that it isn't shaded.

Re: MED: Hard and Soft Edges at created Models? [Re: Pappenheimer] #308523
02/03/10 15:04
02/03/10 15:04
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
http://slindev.com/2009/12/09/smoothing-groups-without-smoothing-groups/

It btw isn´t unlit but ShadeMode.
Edit: sry, unlit is of course right to completely switch off the shading.

Last edited by Slin; 02/03/10 15:05.
Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308669
02/04/10 11:06
02/04/10 11:06
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
Hello,

the copy, delete, repaste process on each facet works but that is a boring process when you have some more facets on a model and it does not work with stencil shadows. I found a workaround. I convert the model to 3ds, import it into my CAD software, convert it to a solid there and reimport that to MED via 3ds. I use IronCAD for this, maybe there are other, cheaper modelers with the same ability.

The make hard or make soft tool for groups of meshes would be a very desirable tool for MED.

Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308672
02/04/10 11:46
02/04/10 11:46
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Your solution is much faster, but it doesn't work with stencil shadows either, does it?

Re: MED: Hard and Soft Edges at created Models? [Re: Pappenheimer] #308677
02/04/10 12:11
02/04/10 12:11
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
you can also use third party tools like blender to bevel he edges you want to be soft. it can make models softer, and the shading will be better(except on round models)


Check out the throwing game here: The throwing game
Re: MED: Hard and Soft Edges at created Models? [Re: Pappenheimer] #308685
02/04/10 13:09
02/04/10 13:09
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
Originally Posted By: Pappenheimer
Your solution is much faster, but it doesn't work with stencil shadows either, does it?


I checked that, works perfectly. No holes, no mistakes.

Re: MED: Hard and Soft Edges at created Models? [Re: Henning] #308724
02/04/10 17:06
02/04/10 17:06
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Seems, that the CAD software does something similar to that beveling in blender, I guess.


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1