[Radiance-general] obj2rad strange results

Jack de Valpine jedev at visarc.com
Tue May 15 15:00:51 CEST 2007


Hi Gareth,

It sound's like you need to define materials for your geometry. Obj2rad 
will convert the obj format geometry to radiance format geometry. It 
will not convert material definitions. To see what materials need to be 
defined do the following:

    obj2rad -n my_geometry.obj > my_geometry.data

The -n switch will set obj2rad to only output material related names 
that are used by the obj geometry. You should look for the names between 
the following section:

    qualifier Material begin
    ....
    end

You can ignore the other sections. These are the names of the materials 
being used by the geometry. You will need to define them in a radiance 
material file, for example, if you have a material named: glazing, you 
would then need to define a material in radiance with the same name:

    void glass glazing
    0
    0
    3 .7 .7 .7

This file would then be included before the geometry files when 
compiling the scene:

    oconv my_materials.rad my_geometry.rad > my_scene.oct

I hope this helps.

Regards,

-Jack de Valpine


gcb205 at soton.ac.uk wrote:
>
>
> c
>
> Hi,
>
> I am just getting started with Radiance and i am attempting to find a
> workflow which allows the rendering of geometry generated within 3D Studio
> Max in Radiance. With my limited expertise the only way in which i can see
> of doing this is to export to Wavefront object .obj from 3DS and then use
> the obj2rad radiance tool.
>
> The problem with this approach is that the .rad file which is generated by
> obj2rad does not appear the same as those that i have used before. When i
> try to render these .rad files oconv reports that the beginning of each of
> the lines begins with an undefined moodifier.
>
> When i used the resultant octree file in rview it reported a fatal error
>
> "./rview: fatal - (pot.oct): truncated octree"
>
> Any help that you might be able to offer would be very welcome.
>
> Many thanks,
>
> Gareth Beale
>
>
>
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
>   

-- 
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20070515/0efd5022/attachment.htm


More information about the Radiance-general mailing list