Preview error - unknown object type "ashik2"

Hello,

please I need help. Whenever I run objpict or objview or rvu, I get the same warning each and every time:
/rpict/ (or rvu accordingly)/: warning - unknown object type "ashik2" /
This error repeats no matter what I try to preview, a simple chair or a more complex model.
The preview than is/is not produced - I was not able to identify the trigger.

I am new to Radiance (and Linux). I got aware of this problem since I reinstalled Radiance from the NREL Radiance releases (I did this because I realised I was missing some files).

If I do understand it well, ashik2 should be an anisotropic BRDF model, describing the appearance of a material, and it is a calculation model - so "something built in".

Please, how do I fix the problem? Can please someone explain what went wrong?

I also get an X11 error. /
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server //":0.0"

/This was already once discussed on the mailing list, but was not somehow resolved. I have tried to upgrade the graphic card driver, but with no impact. Please, did someone solve this?

Thanks,

Paulína

Hi.

Are you installed libX11-Dev ?

···

--
Name : Koji Takemasa ( Ph.D )
Mail : [email protected]
Web : http://www.lead-labo.jo/
---

2016/04/21 18:07、Paulína Šujanová <[email protected]> のメッセージ:

Hello,

please I need help. Whenever I run objpict or objview or rvu, I get the same warning each and every time:
rpict (or rvu accordingly): warning - unknown object type "ashik2"
This error repeats no matter what I try to preview, a simple chair or a more complex model.
The preview than is/is not produced - I was not able to identify the trigger.

I am new to Radiance (and Linux). I got aware of this problem since I reinstalled Radiance from the NREL Radiance releases (I did this because I realised I was missing some files).

If I do understand it well, ashik2 should be an anisotropic BRDF model, describing the appearance of a material, and it is a calculation model - so "something built in".

Please, how do I fix the problem? Can please someone explain what went wrong?

I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

This was already once discussed on the mailing list, but was not somehow resolved. I have tried to upgrade the graphic card driver, but with no impact. Please, did someone solve this?

Thanks,

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

I’m not sure about the first one, but your problem about X server :0.0 is possibly because the value for your DISPLAY number in your regular terminal doesn’t match your DISPLAY number in X11. I’ll give you some advice based on how it works on a Mac, but your mileage may vary. Open an X11 terminal window (for Mac I do this from the Applications/Utilities folder) and type:

echo $DISPLAY

Check what number is returned. If you’re the second user on the machine to start X11 it’s probably :1.0 so go into your regular terminal window and type

export DISLAY=”:1.0”

To make a more permanent solution you could make such an entry in your .profile or .bash_profile shell login/startup file. You might have to change it each time you restart your machine if your users log in by different order each time you restart (the DISPLAY values are assigned sequentially). You’re probably best off googling this or getting more expert advice specific to your system. But I could try help if you don’t find a clear solution.

-Chris

I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

···

From: Paulína Šujanová [mailto:[email protected]]

____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses

Interesting. Chris Rush gave a number of things to look at regarding the X11 issue; as for the "unknown object type" error, could you post a link to some of these scene files you're trying to look at, so I can try to replicate the problem? Also, what version of the NREL installer did you use?

···

On 4/21/16, 3:07 AM, "Paulína Šujanová" <[email protected]<mailto:[email protected]>> wrote:

Hello,

please I need help. Whenever I run objpict or objview or rvu, I get the same warning each and every time:
rpict (or rvu accordingly): warning - unknown object type "ashik2"
This error repeats no matter what I try to preview, a simple chair or a more complex model.
The preview than is/is not produced - I was not able to identify the trigger.

I am new to Radiance (and Linux). I got aware of this problem since I reinstalled Radiance from the NREL Radiance releases (I did this because I realised I was missing some files).

If I do understand it well, ashik2 should be an anisotropic BRDF model, describing the appearance of a material, and it is a calculation model - so "something built in".

Please, how do I fix the problem? Can please someone explain what went wrong?

I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

This was already once discussed on the mailing list, but was not somehow resolved. I have tried to upgrade the graphic card driver, but with no impact. Please, did someone solve this?

Thanks,

Paulína

The 'unknown object type' error is caused by reading in a frozen octree (generated with "oconv -f") on an older version of Radiance, before this type was added. You need to update your copy of Radiance from https://github.com/NREL/Radiance/releases

Chris has the right advice on X11.

Cheers,
-Greg

···

From: Paulína Šujanová <[email protected]>
Subject: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 2:07:46 AM PDT

Hello,

please I need help. Whenever I run objpict or objview or rvu, I get the same warning each and every time:
rpict (or rvu accordingly): warning - unknown object type "ashik2"
This error repeats no matter what I try to preview, a simple chair or a more complex model.
The preview than is/is not produced - I was not able to identify the trigger.

I am new to Radiance (and Linux). I got aware of this problem since I reinstalled Radiance from the NREL Radiance releases (I did this because I realised I was missing some files).

If I do understand it well, ashik2 should be an anisotropic BRDF model, describing the appearance of a material, and it is a calculation model - so "something built in".

Please, how do I fix the problem? Can please someone explain what went wrong?

I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

This was already once discussed on the mailing list, but was not somehow resolved. I have tried to upgrade the graphic card driver, but with no impact. Please, did someone solve this?

Thanks,

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

Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?

Cheers
-schorsch

···

Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]

Chris has the right advice on X11.

Cheers,
-Greg

FROM: Paulína Šujanová <[email protected]>

SUBJECT: [Radiance-general] Preview error - unknown object type
"ashik2"

DATE: April 21, 2016 2:07:46 AM PDT

Hello,

please I need help. Whenever I run objpict or objview or rvu, I get
the same warning each and every time:
_rpict_ (or rvu accordingly)_: warning - unknown object type
"ashik2" _
This error repeats no matter what I try to preview, a simple chair
or a more complex model.
The preview than is/is not produced - I was not able to identify the
trigger.

I am new to Radiance (and Linux). I got aware of this problem since
I reinstalled Radiance from the NREL Radiance releases (I did this
because I realised I was missing some files).

If I do understand it well, ashik2 should be an anisotropic BRDF
model, describing the appearance of a material, and it is a
calculation model - so "something built in".

Please, how do I fix the problem? Can please someone explain what
went wrong?

I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X
server ":0.0"

This was already once discussed on the mailing list, but was not
somehow resolved. I have tried to upgrade the graphic card driver,
but with no impact. Please, did someone solve this?

Thanks,

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

Links:
------
[1] https://github.com/NREL/Radiance/releases

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

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

Hi Schorsch,

The Ashikhmin-Shirley reflectance model is a kind of anisotropic Phong model made physically plausible. It's main advantage over the standard anisotropic model in Radiance is that it includes a Fresnel modifier, which I use for perfectly smooth surfaces. Best to read their original paper:

  www.cs.utah.edu/~shirley/papers/jgtbrdf.pdf

I added this model to Radiance a few years back with help from Nicolas Bonneel, as we were trying to run some comparisons. Peter Apian-Bennewitz also had requested it, so it seemed worthwhile to add.

Cheers,
-Greg

···

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 10:34:16 PM PDT

Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?

Cheers
-schorsch

Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]
Chris has the right advice on X11.
Cheers,
-Greg

FROM: Paulína Šujanová <[email protected]>
SUBJECT: [Radiance-general] Preview error - unknown object type
"ashik2"
DATE: April 21, 2016 2:07:46 AM PDT
Hello,
please I need help. Whenever I run objpict or objview or rvu, I get
the same warning each and every time:
_rpict_ (or rvu accordingly)_: warning - unknown object type
"ashik2" _
This error repeats no matter what I try to preview, a simple chair
or a more complex model.
The preview than is/is not produced - I was not able to identify the
trigger.
I am new to Radiance (and Linux). I got aware of this problem since
I reinstalled Radiance from the NREL Radiance releases (I did this
because I realised I was missing some files).
If I do understand it well, ashik2 should be an anisotropic BRDF
model, describing the appearance of a material, and it is a
calculation model - so "something built in".
Please, how do I fix the problem? Can please someone explain what
went wrong?
I also get an X11 error.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X
server ":0.0"
This was already once discussed on the mailing list, but was not
somehow resolved. I have tried to upgrade the graphic card driver,
but with no impact. Please, did someone solve this?
Thanks,
Paulína
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Links:
------
[1] https://github.com/NREL/Radiance/releases
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

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

Very interesting, thanks.

My conclusions go like this:

* The useful range of the exponents seems to be between 0 (fully
   diffuse and 10000 (mirror-like). Between 5 and 100 looks like the
   most interesting range.

* To create a plastic-like appearance, the specular reflection should
   be desaturated.

* For a metallic appearance, the specular and diffuse reflections
   should have a similar tint.

Remaining questions:

* What happens when specular and diffuse colors are vastly different?
   I'm expecting something rather psychedelic... Do actual materials
   like that exist?

* Do the diffuse and specular color values depend on each other?
   Eg. should their sum be less than 1?

Cheers
-schorsch

···

Am 2016-04-22 17:10, schrieb Greg Ward:

Hi Schorsch,

The Ashikhmin-Shirley reflectance model is a kind of anisotropic Phong
model made physically plausible. It's main advantage over the
standard anisotropic model in Radiance is that it includes a Fresnel
modifier, which I use for perfectly smooth surfaces. Best to read
their original paper:

  www.cs.utah.edu/~shirley/papers/jgtbrdf.pdf

I added this model to Radiance a few years back with help from Nicolas
Bonneel, as we were trying to run some comparisons. Peter
Apian-Bennewitz also had requested it, so it seemed worthwhile to add.

Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 10:34:16 PM PDT

Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?

Cheers
-schorsch

Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]
Chris has the right advice on X11.
Cheers,
-Greg

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

Yes, unlike the other Radiance materials, you need to consider the sum of specular and diffuse components to determine whether you are within physical limits. The standard "plastic" and "metal" (likewise "plastic2" and metal2") simply make a binary choice between colored and uncolored highlights. The "ashik2" type allows you full control. I don't know what materials this is useful, however.

Cheers,
-Greg

···

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 22, 2016 1:31:40 PM PDT

Very interesting, thanks.

My conclusions go like this:

* The useful range of the exponents seems to be between 0 (fully
diffuse and 10000 (mirror-like). Between 5 and 100 looks like the
most interesting range.

* To create a plastic-like appearance, the specular reflection should
be desaturated.

* For a metallic appearance, the specular and diffuse reflections
should have a similar tint.

Remaining questions:

* What happens when specular and diffuse colors are vastly different?
I'm expecting something rather psychedelic... Do actual materials
like that exist?

* Do the diffuse and specular color values depend on each other?
Eg. should their sum be less than 1?

Cheers
-schorsch

Am 2016-04-22 17:10, schrieb Greg Ward:

Hi Schorsch,
The Ashikhmin-Shirley reflectance model is a kind of anisotropic Phong
model made physically plausible. It's main advantage over the
standard anisotropic model in Radiance is that it includes a Fresnel
modifier, which I use for perfectly smooth surfaces. Best to read
their original paper:
  www.cs.utah.edu/~shirley/papers/jgtbrdf.pdf
I added this model to Radiance a few years back with help from Nicolas
Bonneel, as we were trying to run some comparisons. Peter
Apian-Bennewitz also had requested it, so it seemed worthwhile to add.
Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 10:34:16 PM PDT
Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?
Cheers
-schorsch
Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]
Chris has the right advice on X11.
Cheers,
-Greg

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

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

So does that mean that the right sphere in the slideshow reflects
26% more light on average than the left one?

void plastic2 mat1
4 0 1 0 .
0
6 .3 .7 .5 .26 .1 .02

void ashik2 mat2
4 0 1 0 .
0
8 .3 .7 .5 .26 .26 .26 150 5000

Its hard to tell from the images, but it does appear slightly brighter.

Cheers
-schorsch

···

Am 2016-04-22 23:15, schrieb Greg Ward:

Yes, unlike the other Radiance materials, you need to consider the sum
of specular and diffuse components to determine whether you are within
physical limits. The standard "plastic" and "metal" (likewise
"plastic2" and metal2") simply make a binary choice between colored
and uncolored highlights. The "ashik2" type allows you full control.
I don't know what materials this is useful, however.

Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 22, 2016 1:31:40 PM PDT

Very interesting, thanks.

My conclusions go like this:

* The useful range of the exponents seems to be between 0 (fully
diffuse and 10000 (mirror-like). Between 5 and 100 looks like the
most interesting range.

* To create a plastic-like appearance, the specular reflection should
be desaturated.

* For a metallic appearance, the specular and diffuse reflections
should have a similar tint.

Remaining questions:

* What happens when specular and diffuse colors are vastly different?
I'm expecting something rather psychedelic... Do actual materials
like that exist?

* Do the diffuse and specular color values depend on each other?
Eg. should their sum be less than 1?

Cheers
-schorsch

Am 2016-04-22 17:10, schrieb Greg Ward:

Hi Schorsch,
The Ashikhmin-Shirley reflectance model is a kind of anisotropic Phong
model made physically plausible. It's main advantage over the
standard anisotropic model in Radiance is that it includes a Fresnel
modifier, which I use for perfectly smooth surfaces. Best to read
their original paper:
  www.cs.utah.edu/~shirley/papers/jgtbrdf.pdf
I added this model to Radiance a few years back with help from Nicolas
Bonneel, as we were trying to run some comparisons. Peter
Apian-Bennewitz also had requested it, so it seemed worthwhile to add.
Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 10:34:16 PM PDT
Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?
Cheers
-schorsch
Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]
Chris has the right advice on X11.
Cheers,
-Greg

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

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

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

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

Hmmm... I guess it reflects about 22% more light, because of the way the specular reflectance reduces the effective diffuse reflectance in plastic2. The total reflectance is about (1-.26)*.56+.26 for plastic2, and simply 0.56+0.26 for ashik2.

-Greg

···

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 23, 2016 1:35:01 PM PDT

So does that mean that the right sphere in the slideshow reflects
26% more light on average than the left one?

void plastic2 mat1
4 0 1 0 .
0
6 .3 .7 .5 .26 .1 .02

void ashik2 mat2
4 0 1 0 .
0
8 .3 .7 .5 .26 .26 .26 150 5000

Its hard to tell from the images, but it does appear slightly brighter.

Cheers
-schorsch

Am 2016-04-22 23:15, schrieb Greg Ward:

Yes, unlike the other Radiance materials, you need to consider the sum
of specular and diffuse components to determine whether you are within
physical limits. The standard "plastic" and "metal" (likewise
"plastic2" and metal2") simply make a binary choice between colored
and uncolored highlights. The "ashik2" type allows you full control.
I don't know what materials this is useful, however.
Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 22, 2016 1:31:40 PM PDT
Very interesting, thanks.
My conclusions go like this:
* The useful range of the exponents seems to be between 0 (fully
diffuse and 10000 (mirror-like). Between 5 and 100 looks like the
most interesting range.
* To create a plastic-like appearance, the specular reflection should
be desaturated.
* For a metallic appearance, the specular and diffuse reflections
should have a similar tint.
Remaining questions:
* What happens when specular and diffuse colors are vastly different?
I'm expecting something rather psychedelic... Do actual materials
like that exist?
* Do the diffuse and specular color values depend on each other?
Eg. should their sum be less than 1?
Cheers
-schorsch
Am 2016-04-22 17:10, schrieb Greg Ward:

Hi Schorsch,
The Ashikhmin-Shirley reflectance model is a kind of anisotropic Phong
model made physically plausible. It's main advantage over the
standard anisotropic model in Radiance is that it includes a Fresnel
modifier, which I use for perfectly smooth surfaces. Best to read
their original paper:
  www.cs.utah.edu/~shirley/papers/jgtbrdf.pdf
I added this model to Radiance a few years back with help from Nicolas
Bonneel, as we were trying to run some comparisons. Peter
Apian-Bennewitz also had requested it, so it seemed worthwhile to add.
Cheers,
-Greg

From: Georg Mischler <[email protected]>
Subject: Re: [Radiance-general] Preview error - unknown object type "ashik2"
Date: April 21, 2016 10:34:16 PM PDT
Is there any documentation on how to actually use this material?
So far it is only mentioned in a release note and on some presentation
slides, but not explained at all.
What are eg. useful input values for "specular power"?
Cheers
-schorsch
Am 2016-04-21 18:39, schrieb Greg Ward:

The '_unknown object type_' error is caused by reading in a frozen
octree (generated with "oconv -f") on an older version of Radiance,
before this type was added. You need to update your copy of Radiance
from https://github.com/NREL/Radiance/releases [1]
Chris has the right advice on X11.
Cheers,
-Greg

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

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

Hi,

Thank you all for help.
I have once again reinstalled radiance (5.0.a.8) - it seems to work now - no more ashik2.
Regarding the display/ x11 issue - still working on it - but thanks for the hint.

Kind regards,

Paul�na

···

On 24.04.2016 21:00, [email protected] wrote:

Re: Preview error - unknown object type "ashik2"

--
Paul�na �ujanov�

Department of Building Structures
Faculty of Civil Engineering
Slovak University of Technology in Bratislava
[email protected]