eulum to ies

Hy everybody !

Does exist a way to convert directly from .eul (eulum) files to .rad files?

In any case, how do you suggest me to obtain that conversion?

Right now I'm using "ies2tab -ei" to convert from eulum to ies and then ies2rad to convert form .ies to .rad but ies2rad is reporting: "warning - no lamp type .. "

Maybe this is normal, but in any case, having just one conversion would be probably better..

Lucio

Ps: Merry Christmas (in late) and happy new year (in advance) to everybody ! :o)

.. Caminante no hay camino, solo se hace camino al andar ..

Lucio

Maybe eulum2ies can help from Bauer's site:

http://www.radiance-online.org/radiance-workshop1/cd/Bauer/index.html

regards &
Happy New Year
Steve

···

----------------------------------------

Date: Sat, 29 Dec 2007 02:05:53 +0100
From: [email protected]
To: [email protected]
Subject: [Radiance-general] eulum to ies

Hy everybody !

Does exist a way to convert directly from .eul (eulum) files to .rad files?

In any case, how do you suggest me to obtain that conversion?

Right now I'm using "ies2tab -ei" to convert from eulum to ies and then ies2rad to convert form .ies to .rad but ies2rad is reporting: "warning - no lamp type .. "

Maybe this is normal, but in any case, having just one conversion would be probably better..

Lucio

Ps: Merry Christmas (in late) and happy new year (in advance) to everybody ! :o)

.. Caminante no hay camino, solo se hace camino al andar ..

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_________________________________________________________________
Introducing the City @ Live! Take a tour!
http://getyourliveid.ca/?icid=LIVEIDENCA006

Thank you Steve, but unfortunately it didn't help :

"Segmentation fault (core dumped)"

probably it is 'couse my system is 64 bit..

Lucio

.
.Lucio
.
.Maybe eulum2ies can help from Bauer's site:
.
.http://www.radiance-online.org/radiance-workshop1/cd/Bauer/index.html
.
.regards &
.Happy New Year
.Steve
.
.----------------------------------------
.> Date: Sat, 29 Dec 2007 02:05:53 +0100
.> From: [email protected]
.> To: [email protected]
.> Subject: [Radiance-general] eulum to ies
.>
.> Hy everybody !
.>
.> Does exist a way to convert directly from .eul (eulum) files to .rad files?
.>
.> In any case, how do you suggest me to obtain that conversion?
.>
.> Right now I'm using "ies2tab -ei" to convert from eulum to ies and then ies2rad to convert form .ies to .rad but ies2rad is reporting: "warning - no lamp type .. "
.>
.> Maybe this is normal, but in any case, having just one conversion would be probably better..
.>
.> Lucio
.>
.> Ps: Merry Christmas (in late) and happy new year (in advance) to everybody ! :o)
.>
.>
.>
.>
.>
.> .. Caminante no hay camino, solo se hace camino al andar ..
.>
.>
.> _______________________________________________
.> Radiance-general mailing list
.> [email protected]
.> http://www.radiance-online.org/mailman/listinfo/radiance-general
.
._________________________________________________________________
.Introducing the City @ Live! Take a tour!
.http://getyourliveid.ca/?icid=LIVEIDENCA006
._______________________________________________
.Radiance-general mailing list
[email protected]
.http://www.radiance-online.org/mailman/listinfo/radiance-general
.

.. Caminante no hay camino, solo se hace camino al andar ..

Hy everybody !

Does exist a way to convert directly from .eul (eulum) files to .rad files?

In any case, how do you suggest me to obtain that conversion?

Steve has already mentioned Carsten Bauer's eulum2ies. I have used
it a few times with good results.

I don't think it matters which converter you use. There is a lot of
information in these files but for ies2rad you only need the the
distribution. The luminaire is considered to be a point source so
even the shape info is not required unless you do glare calculations.

Right now I'm using "ies2tab -ei" to convert from eulum to ies and
then ies2rad to convert form .ies to .rad but ies2rad is reporting:
"warning - no lamp type .. "

ies2rad has a limited knowledge on lamp types. The search patterns are
defined in the "lamp.dat" file in your Radiance installation. Manufacturers
now tend to use a product name in their lamp specification which is
harder to identify.

If ies2rad fails to identify the lamp type it prints this warning
and uses a default lamp type with neutral white colour. This is
fine for most simulations (in particular Lux levels). When you're
interested in the actual rendering of the lamp colour you can use the
-t option of ies2rad to tell it which lamp type to use. Look in the
'lamp.dat' file for the specification.

Please not that you only have to worry about this if you have different
lamp types in your scene. You can also change the colour balance of
an existing image to simulate this effect with pfilt.

Maybe this is normal, but in any case, having just one conversion would
be probably better..

Support for new data file formats would be nice but given the number
of conversion tools out there it's probably not worth the effort.

Happy new year.

Thomas

···

On 29 Dec 2007, at 01:05, [email protected]@libero..it wrote:

Tank you very much Thomas and Carsten but it looks like I still have problems:

It is impossible for me to use eulum2ies . I tries it in ubuntu 7.10 64 bit and it doesn't work [core dumped] (maybe 'cou8se of 64 bit architecture) so I tried it under windows in cygwin.. agai core dumped even if there are some more explanations:

17537 [main] eulum2ies 3792 _cygtls::handle_exceptions: Error while dumping state <probably corrupted stack>
Segmentation fault <core dumped>

So, no way for me to use it.. ah, probably it is important to say that while compiling it it is reporting :

eulum2ies.c:71: warning: built-in function 'pow' declared as non-function

I quite understand nothing from this.. do you?

I managed to convert from eulum to ies with ies2tab a program for ms-dos written in pascal, but I still have doubts about the correct translation.. it looks like distribution is still ok, but it has some offset. If I rotate the luminaire around z axis, and I check with illuminance curves on an orizzonatal plane, the distribution is not rotating around its most luminouse point (as i guess it was supposed to do.. ) but it has an offset of almost 10 units, then 10 meters..

Do you have any suggestion on how to solve this problem? Is this really a problem or am I missing something? Can you suggest me any other converter at least to check that both them are working the same way ?

Thank you very much in advance..

Lucio

.On 29 Dec 2007, at 01:05, [email protected]@libero..it wrote:
.
.> Hy everybody !
.>
.> Does exist a way to convert directly from .eul (eulum) files
.> to .rad files?
.>
.> In any case, how do you suggest me to obtain that conversion?
.
.Steve has already mentioned Carsten Bauer's eulum2ies. I have used
.it a few times with good results.
.
.I don't think it matters which converter you use. There is a lot of
.information in these files but for ies2rad you only need the the
.distribution. The luminaire is considered to be a point source so
.even the shape info is not required unless you do glare calculations.
.
.> Right now I'm using "ies2tab -ei" to convert from eulum to ies and
.> then ies2rad to convert form .ies to .rad but ies2rad is reporting:
.> "warning - no lamp type .. "
.
.ies2rad has a limited knowledge on lamp types. The search patterns are
.defined in the "lamp.dat" file in your Radiance installation.
.Manufacturers
.now tend to use a product name in their lamp specification which is
.harder to identify.
.
.If ies2rad fails to identify the lamp type it prints this warning
.and uses a default lamp type with neutral white colour. This is
.fine for most simulations (in particular Lux levels). When you're
.interested in the actual rendering of the lamp colour you can use the
.-t option of ies2rad to tell it which lamp type to use. Look in the
.'lamp.dat' file for the specification.
.
.Please not that you only have to worry about this if you have different
.lamp types in your scene. You can also change the colour balance of
.an existing image to simulate this effect with pfilt.
.
.> Maybe this is normal, but in any case, having just one conversion
.> would
.> be probably better..
.
.Support for new data file formats would be nice but given the number
.of conversion tools out there it's probably not worth the effort.
.
.Happy new year.
.
.Thomas
.
._______________________________________________
.Radiance-general mailing list
[email protected]
.http://www.radiance-online.org/mailman/listinfo/radiance-general
.

.. Caminante no hay camino, solo se hace camino al andar ..

Hi Lucio.

Sorry. I can't comment on the compile errors. It's quite a while since I
used and compiled eulum2ies and then I did it on a Mac. Your problems might
be specific to your distribution/version of the libraries.

I managed to convert from eulum to ies with ies2tab a program for ms-dos
written in pascal, but I still have doubts about the correct translation.

I don't know ies2tab. I used and still would use Dialux on Windows if I
had to deal with photometry a lot. You can import LDT, IES and some other
data formats into Dialux and then export the photometry as IES if required.
If you have a converted IES file load it into Dialux and compare it to the
LDT version in the 3D editor. If you get the same distribution shape and
specs it's ok.

The good thing about Dialux is that it's more or less a marketing tool
for the manufacturers and therefore is very well supported by their
technical departments. Most big manufacturers have dedicated databases
with their products for Dialux or a good online import function.

it looks like distribution is still ok, but it has some offset.
If I rotate the luminaire around z axis, and I check with illuminance
curves on an orizzonatal plane, the distribution is not rotating around
its most luminouse point (as i guess it was supposed to do.. ) but it
has an offset of almost 10 units, then 10 meters.

I'm not quite sure what your problem is. Do you have trouble
to verify your converted data file or to place it in a Radiance
scene? If it's the first use a photometric viewer software (as Dialux)
to check it.

Regards,
Thomas

···

On 4 Jan 2008, at 12:39, [email protected]@libero..it wrote:

Thanks very much Thomas for your reply !

About compile errors, I'm quite sure they depend on distribution and/or architecture.. !!

In my last mail I did a mistake.. ies2tab is either for msdos and linux and I actually used linux version (I said I was using dos version).

Then I tried eulumcnv (this one is really for dos) and conversion apparently (but I have to check it better) gave quite same results, just little differences in third decimal point (but I just checked it fastly.

I did try, as you suggested me, to import in diualux and compare, and well, converted lights are really different from their counterpart in dialux's database.

My problem is that my eulumdat file is in .eul format, not in .ldt format. I tried ranaming it and dialux doesn't manage it properly (it gives preview in windows' explorer but it doesn't import it.

And I tried to export lights from dialux's database in .ies format, but I didn't find the command. Where is it? is it just to export luminaries not from databases ? Do I need a plugin?

Thank you in advance

Lucio Boscolo

.. Caminante no hay camino, solo se hace camino al andar ..

Ciao Lucio,

Perhaps sending a link to the Eulumdat file can help us debug your
problems.

You can try downloading this GNU/linux binary of Carsten's programme
to see if it helps:
http://www.bozzograo.net/radiance/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=4

You can also use the eulumcnv.exe binary
http://www.helios32.com/eulumcnv.exe
from Gnu/Linux using wine (wine eulumcnv.exe file.ldt)
To install wine on Ubuntu or any Debian based distro:
sudo apt-get install wine

The extension for the eulumdat file should not have any impact
on the converters, as long as the file follows the Eulumdat standard:
http://www.helios32.com/Eulumdat.htm

For more info on the IES standard:
http://lumen.iee.put.poznan.pl/kw/iesna.txt

You can easily build your own IES file using this information
from a table of candela values, that is already in your eulumdat file.

Buona fortuna,

Francesco