ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator How to implement clothing in game?
person icon
dekon_17
Registered User
Quote
2021-06-27 15:09:56

Yeah, well, uhm... I tried to make a clothing system in my game, and I tried to implement this by using the 3D models... Which went pretty bad. For example, that's how it looks because of this:
embedded external image
🔎︎

embedded external image
🔎︎

As you can see, the clothes, for some reason, going through the character's body (which is probably painful). And so, I don't exactly know other ways of creating this system. Do you have any ideas how to make this... Kind of thing?

person icon
just_in_case
Moderator
Quote
2021-06-27 15:41:42

You can either Scale the clothes up or can change the Zbuffer for the clothing to make them render them first and then the body in front of the camera. you can find the Zbuffer option in irredit/irrlicht properties.

hope that helps.emoji icon_holyemoji icon_holy

person icon
dekon_17
Registered User
Quote
2021-06-27 15:50:00

just_in_case wrote:
You can either Scale the clothes up or can change the Zbuffer for the clothing to make them render them first and then the body in front of the camera. you can find the Zbuffer option in irredit/irrlicht properties.

hope that helps.emoji icon_holyemoji icon_holy

Well... It doesn't really work, because it makes clothes go through everything. Just like that:
embedded external image
🔎︎


person icon
just_in_case
Moderator
Quote
2021-06-27 16:12:45

it seems that you are using double-sided materials, try turning off the double-sided materials for your clothes texture otherwise it is because of the model.

person icon
dekon_17
Registered User
Quote
2021-06-27 16:18:53

Actually, I didn't turned it on, and the clothing look like that inside:
embedded external image
🔎︎

However, it's still same.

person icon
dekon_17
Registered User
Quote
2021-06-28 05:56:37

So, I have an idea to make two textures on the character, but I don't know how to do this.
There is no way to edit polygons on animated mesh, so, I can't place a clothing texture on body of character, which isn't good, I guess.

person icon
just_in_case
Moderator
Quote
2021-07-01 15:05:43

well, you can simply use the action to change the texture of the clothes if you want. I thought that you were trying to use real clothes model for your character.

just use the change texture action there is no need to polygon editing which you really can't do for the animated meshes.

or if you want you can play with my action to blend 2 textures together.

person icon
dekon_17
Registered User
Quote
2021-07-01 16:46:16

just_in_case wrote:
well, you can simply use the action to change the texture of the clothes if you want. I thought that you were trying to use real clothes model for your character.

just use the change texture action there is no need to polygon editing which you really can't do for the animated meshes.

or if you want you can play with my action to blend 2 textures together.

I don't think that I can use two textures, because if I'll try to make a customization, there would be a problems (I guess). But your action might help me, but I am not really sure. Also, where can I find this action?

person icon
just_in_case
Moderator
Quote
2021-07-01 18:36:47

Https://neophyte.cf

Just navigate to the assets section and you can have the action to blend to textures together..

Hope that helps😇😇

person icon
VP
Guest
Quote
2024-06-25 16:00:01

Same answer.. either make a texture to draw the slide(shoes) directly onto the model mesh - or - blend the shoe texture with the original texture usng JIC's plugin - or - make a 3D model of the shoes (eg: would take 2 minutes in blockbench) and child the shoes to the animated joint node of the mesh in coppercube - or - use the polygon editor in coppercube to change the texture of selected poligons or model the shoes (coppercubes poligon editor will only work with static meshed - not animated).

person icon
VP
Guest
Quote
2024-06-26 07:59:30

If you send me you model, I can unwrap the UV and make a template for you so you can easily draw new textures for the clothes, you don't really need separate textures for clothes and people, you can use the same texture for skin and clothes, just have multiple versions - eg: here's male and female UV map for the same 3D model...

1-
embedded external image
🔎︎

2-
embedded external image
🔎︎


person icon
just_in_case
Moderator
Quote
2024-06-30 13:31:14

@VP, It seems like the post you were answering has been removed by a moderator, I don't know what was asked, but I recently created an Avatar Customizer and was thinking of converting it into some extensions for easy use cases, that might help the others. It would have been much easier if CC had more property types for scripting, like enums or dropdowns, etc.

The extensions are almost done already, I am more into looking for models to create the demo for it.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |