Import image with only front face visible.
-
I'm adding an image with ruby using "entities.add_image" and the image appears 2 sided.
Is it possible to make image appear only on one side and the other side should be just a default color, or same as backface color. -
Add the Image inside a new empty group
group.entities
rather than the model...
Manipulate the Image size etc as desired
Explode the Image.
You now have a face inside thegroup.entities
Find theface
in the entities - there's only one.
Leave theface.material
as it is [i.e. the image now made into a texture].
Makeface.back_material=nil
to use the 'default back material' or say useface.back_material="Black"
to make it 'black'... -
@tig said:
Add the Image inside a new empty group
group.entities
rather than the model...
Manipulate the Image size etc as desired
Explode the Image.
You now have a face inside thegroup.entities
Find theface
in the entities - there's only one.
Leave theface.material
as it is [i.e. the image now made into a texture].
Makeface.back_material=nil
to use the 'default back material' or say useface.back_material="Black"
to make it 'black'...That did it!
Genius, TIG!!
Advertisement