# Rendering colors from .wrl file?

**URL:** <https://blenderartists.org/t/rendering-colors-from-wrl-file/558728>\
**Category:** Materials and Textures\
**Created:** [December 5, 2012, 10:09am UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728 "2012-12-05T10:09:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Borodog](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/0ea827/32.png) [@Borodog](https://blenderartists.org/u/Borodog)\
**Post date:** [December 5, 2012, 10:09am UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728/1 "2012-12-05T10:09:02Z")

</div>

Hello all. I have what is probably a dumb question. I am new to Blender and our requirements are fairly low; we are trying to produce photo-realistic post processing of FEA (stress, strain, deformation, etc.). To that end we have VRML (.wrl) files that have been exported from our post-processor, including colors (for example from contour plots). When I import these files into Blender, the mesh comes in, but I cannot figure out how to render the model with the colors from the VRML file. Can anyone explain how to do this or point me to a previous thread/tutorial that explains it?

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![Borodog](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/0ea827/32.png) [@Borodog](https://blenderartists.org/u/Borodog)\
**Post date:** [December 10, 2012, 11:59am UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728/2 "2012-12-10T11:59:45Z")

</div>

Thank you; I will take a stab at figuring out how to switch to vertex paint mode (I was looking at this before but have yet to figure out how to turn it on).

---

<div class="post-metadata">

**Author:** ![jonim8or](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/e47c2d/32.png) [@jonim8or](https://blenderartists.org/u/jonim8or)\
**Post date:** [December 11, 2012, 12:55am UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728/3 "2012-12-11T00:55:28Z")

</div>

From your question I gather the color info is in the vertex color data.  
Here is an example of how you can render that.[VertexColor.blend](https://blenderartists.org/uploads/default/original/3X/6/e/6e333561cb1bf9d338949a421f72a2a49f36f03b.blend) (453 KB)

When you select your mesh, in the mesh properties panel you should see at least one vertex color layer.  
In your cycles rendering material you can use that name.

 ![](https://blenderartists.org/uploads/default/original/3X/9/6/9644bf3466fdc685fb417d767427963219cbfe1a.jpg)

---

<div class="post-metadata">

**Author:** ![MiD-AwE](https://blenderartists.org/user_avatar/blenderartists.org/mid-awe/32/13233_2.png) [@MiD-AwE](https://blenderartists.org/u/MiD-AwE)\
**Post date:** [December 11, 2012, 7:47am UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728/4 "2012-12-11T07:47:43Z")

</div>

Very cool information. I’m a Wings3D fan and find this useful too. I’ve been disappointed ever since the Wings 3D importer went away.

---

<div class="post-metadata">

**Author:** ![Borodog](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/0ea827/32.png) [@Borodog](https://blenderartists.org/u/Borodog)\
**Post date:** [December 11, 2012, 1:29pm UTC](https://blenderartists.org/t/rendering-colors-from-wrl-file/558728/5 "2012-12-11T13:29:34Z")

</div>

Thanks for the help everyone. Between the vertex paint mode tip and a little googling, I figured out how to do it in Cycles, which is the prefered engine I’d like to use. It’s as simple as using the “Col” attribute for the Color under the Surface material definition.

![](https://blenderartists.org/uploads/default/original/3X/4/7/473a94b0989e4b658e8b3612dd527a54c7a1b435.png)

Here’s a quick test model rendered in Cycles:

![](https://blenderartists.org/uploads/default/original/3X/e/5/e5906cd480175ad8c0a46251c59d29d17d1c2d82.png)

Thanks again for the help everyone.
