Frage

I exported my 3d model from 3ds Max as json using threejsexporter (https://github.com/mrdoob/three.js/blob/dev/utils/exporters/max/ThreeJSExporter.ms) and as .obj (which I then converted to json using convert_obj_three.py). I loaded the models in my page using three.js but none of them retained the gradient that was applied to the model using Gradient Ramp (3ds Max 2009).

How can I recover the gradient so that the model look the same in webpage as in 3ds Max.

War es hilfreich?

Lösung

3ds Max' Gradient Ramp is not supported. You would have to either do it with a bitmap or dynamically creating the bitmap with the canvas API.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top