# Applying texture

**URL:** <https://discourse.radiance-online.org/t/applying-texture/328>\
**Category:** radiance-general\
**Created:** [August 2, 2012, 11:56am UTC](https://discourse.radiance-online.org/t/applying-texture/328 "2012-08-02T11:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brajesh\_Lal](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/b/bbce88/32.png) [@Brajesh\_Lal](https://discourse.radiance-online.org/u/Brajesh_Lal)\
**Post date:** [August 2, 2012, 11:56am UTC](https://discourse.radiance-online.org/t/applying-texture/328/1 "2012-08-02T11:56:10Z")

</div>

Hi

I have downloaded obj model with its  
- Model in obj format  
- Diffuse, normal and spec map in tga formats  
- a .mtl file.

i am able to convert model into rad file using obj2rad command.

example : obj2rad house.obj \> house.rad

A)  
but i suppose the texture is not attached and need to be incorporated in its converted rad file.

is there any way, while conversion from obj to rad, texture description is also incorporated in the rad file?

How can i incorporate texture file. ?

B) the rad file gives the triangle details after conversion. If i want to move entire model at specific position of the scene, is there any group operation possible. ?

Regards Brajesh

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [August 2, 2012, 3:43pm UTC](https://discourse.radiance-online.org/t/applying-texture/328/2 "2012-08-02T15:43:38Z")

</div>

Hi Brajesh,

Look into the obj2mesh program. It does most of what you need. There is an earlier thread (at least one) on how to map UV coordinates. See:

&nbsp;&nbsp;[[Radiance-general] OBJ2MESH - Phong smooth shading and texture mapping](http://www.radiance-online.org/pipermail/radiance-general/2006-February/003400.html)

Cheers,  
-Greg

> **···**
>
> > From: Brajesh Lal \<brajeshlal@yahoo.com\>  
> > Date: August 2, 2012 4:56:10 AM PDT
> > 
> > Hi
> > 
> > I have downloaded obj model with its  
> > - Model in obj format  
> > - Diffuse, normal and spec map in tga formats  
> > - a .mtl file.
> > 
> > i am able to convert model into rad file using obj2rad command.
> > 
> > example : obj2rad house.obj \> house.rad
> > 
> > A)  
> > but i suppose the texture is not attached and need to be incorporated in its converted rad file.
> > 
> > is there any way, while conversion from obj to rad, texture description is also incorporated in the rad file?
> > 
> > How can i incorporate texture file. ?
> > 
> > B) the rad file gives the triangle details after conversion. If i want to move entire model at specific position of the scene, is there any group operation possible. ?
> > 
> > Regards Brajesh
