Search the Community
Showing results for tags 'mesh lists'.
-
By chance a few days ago, I was looking at a .babylon file created with 3DMax and noticed this code: [{"name":"Default light","id":"cd9cab9f-3a03-4c2a-a30f-0310239c7ebc","parentId":null,"position":null,"direction":[0.0,1.0,0.0], "type":3,"diffuse":[1.0,1.0,1.0],"specular":[1.0,1.0,1.0],"intensity":1.0,"range":3.40282347E+38,"exponent":0.0,"angle":0.0,"groundColor":[0.0,0.0,0.0], "excludedMeshesIds":null,"includedOnlyMeshesIds":null,"autoAnimate":false,"autoAnimateFrom":0,"autoAnimateTo":0,"autoAnimateLoop":false,"animations":null}], which contains "excludedMeshesIds" and "includedOnlyMeshes". Checking the 3DMax exporter I find under Exported Features Lights : Inclusion / exclusion lists. This feature is not available with Blender So I thought about it and set up a simple scene example (see image below). This scene contains 4 "rooms" (4 planes with a red, blue, green or purple colour) each assigned to one of 4 layers with an corresponding name (Layers in the image). A PointLight (R,B,G,P)is then assigned to each of the 4 layers also and for each of these lights the "This Layer Only" box is checked (yellow rectangle in image). So, my thinking is that it should be possible to create Inclusion/Exclusion lists from layers and lights using such a setup. cheers, gryff
- 11 replies