[Archived - Xinous]

Posted 3 months ago by Community

Post a topic
  • Topic is Locked
Un Answered
C
Community Admin

Posted by “Xinous” on July 29, 2024.

[Archived]

I wanted to know how I could be resolving the bug/occlusion of a mesh not joining another in Imvu Next/Imvu Studio, but in Imvu Classic, it normally works. The first photo is of Imvu Next/Imvu Studio and the second is of Imvu Classic:

 

 

1) IMVU Next/Studio: Upper mesh does not remove the lower mesh, causing conflicting meshes.

 

Imvu Next/Studio 

 

2) IMVU Classic (effect I want in IMVU next/Studio): Back mesh overlaps the bottom one, making the bottom mesh disappear.Imvu Classic

0 Votes


3 Comments

Sorted by
C

Community posted 3 months ago Admin

Posted by “Drosselmeyer” on July 30, 2024.

[Archived]

Ah! So, upon investigation it seems that I was wrong and misunderstand how priority affects materials between products worn by the avatar. This does not appear to be priority related. I could not get the draw order to change at all between the two products. Need to ask more questions of our engineers :)

 

I did notice however that I misinterpreted what I was seeing in the IMVU Classic screenshot. What is actually happening here is what is typical when two Blended materials are rendered one in front of the other. What is happening is the sleeve rendering over the hand and the part of the hand that overlaps the sleeve is getting completely "clipped" and not drawing at all. This is the same thing which causes transparent clothing to disappear from the avatar when the avatar is behind a transparent object in a room. Unfortunately there is no way to force the effect you want in IMVU Web/Desktop/Studio and in most cases this not something creators want to happen.

0 Votes

C

Community posted 3 months ago Admin

Posted by “Xinous” on July 30, 2024.

[Archived]

Hello! Thank you for your help and attention! I really intend to fix this. Here are the PIDs: 1) 68219392 and 2) 68141807. Thanks!

0 Votes

C

Community posted 3 months ago Admin

Posted by “Drosselmeyer” on July 30, 2024.

[Archived]

Hi @Xinous​, This is almost certainly due to the sorting of blended transparent materials. Do you have PIDs for the products involved?

 

The short answer is that IMVU Classic and IMVU Web/Desktop/Studio sort blended transparencies differently.

  • IMVU Classic: Blended transparent materials are always based on material index. Lowest index rendered first to high index rendered last (on top of the lower materials)
  • IMVU Web/Desktop/Studio: Blended transparent materials are rendered based on bounding volume of the meshes to which the materials are applied. A mesh that has a bounding volume center farthest from the camera will render first and a mesh that is closest to the camera will render last
    • This the case for all meshes with same 'Priority' (set in IMVU Studio, per material). By default all materials are set to a priority of '0'. A material set to Priority 1 will draw on top of materials set to '0' regardless of distance of bounding volume center to the camera.
    • Lastly, all materials of all products worn by the avatar sort separately from the room and furniture. All materials of all products worn by the avatar follow the rules above regarding priority number or bounding center if priority numbers are the same. This is the condition I think you are experiencing, but I would need more information about the products involved to confirm.

For an in-depth explanation of how transparency work on IMVU Web/Desktop/Studio please see this help article Transparency Priority Explained

0 Votes