Environement Map in DisplayConduit


#1

Environment Map makes meshes display faster in viewport.

Can Environment Map be used in Display Conduit Channels? I think TDM solutions RhinoEmboss uses environment map in Display Conduit Channel?

Anyone has a sample code?


#2

@rhino4u,

just create a display material and assign the texture to it using SetEnvironmentTexture(path, False)

example, using python:

color = System.Drawing.Color.White
env_path = "C:\brushed_metal.jpg"
material = Rhino.Display.DisplayMaterial(color, 0.0)
material.SetEnvironmentTexture(env_path, False)

c.


#3

thanks