KatsBits Community

Reflective furniture - object is not reflected

0 Members and 1 Guest are viewing this topic.

Offline appolon2

  • Newbie
    • Posts: 6



https://prnt.sc/lm25q1
https://prnt.sc/lm26hn
In the first photo the object is reflected on the floor
When I uploaded on imvu the object is not reflected

[EDIT] just edited to add images, cleaned title a little. kat


Offline kat

  • Administrator
  • Hero Member
  • *
    • Posts: 3145
    • KatsBits
Basically, IMVU doesn't use 'true' reflection or reflective surfaces in the sense they might be understood in other games. To get the same effect you have to duplicate the item, invert it (flip it upside-down), and then drop it below the 'floor' surface - your item then comprise two meshes, a 'correct' and the inverted mirrored copy. The effect is then completed with the use of a semi-transparent floor through which the duplicate can be seen.

With this said the visual effect only works in rooms where the author has either made allowance for semi-transparent floor, or the room the item is used in has such a floor - in normal rooms the duplicate will be hidden from view.

Make sure when exporting both meshes are included - using FBX both items can be exported from Blender at the same time, using Cal3D the meshes will need to be joined together.

Basic scene in Blender (in GLSL so Material transparency can be seen) showing a semi-transparent floor between a giftbox that's duplicated and flipped upside-down (Alt+M to Mirror, then » Z) to create the 'reflection' (remember to use Apply and then Flip Direction to fix the mesh appearing inside-out after being flipped upside down).

In IMVU the Blender scene is automatically imported and assembled as three objects (exported as separate objects to the same FBX file from Blender) with three materials, the TRANSPARENT one (shown using IMVU's default 'can't find the image' texture) is important here as it has a 2x2 auto-generated mid-grey image that makes the floor appear semi-transparent based on the grey value.

Incidentally, did you know you can export Material-based transparency to FBX and IMVU will automatically generate the appropriate grey-scale image it needs to make the resulting material in IMVU match the value used in Blender? Make sure to set up the scene and objects as instructed here for this to work properly.


Offline kat

  • Administrator
  • Hero Member
  • *
    • Posts: 3145
    • KatsBits
Watch the following to see how to set up a transparent Material (no texture/no image) in Blender (shown) that can then be exported and converted on import to IMVU (not shown, see above).