Speakers & iPod (updated)

Yet Another “Yet Another YAFRay Test Image”

This will be my first reasonable attempt with YAFRay. I modelled this speaker tonight, referenced from a speaker in this room. I’ll use it to try and figure out how this wonderful renderer works. There’s a lot of detail in the modelling, so I’m going to try and find some settings that really bring out the details crisply. I’ve noticed just tonight that YAFRay’s also become a lot faster since when I first tried it (a few versions ago)!

This is currently using a hemilight, point light and a soft light. I have no idea what those do, but I’m just experimenting for now. More updates to come as I fiddle with settings tomorrow and later!


try a different color other then white for the plane… it will bring out the details of the speaker a bit more :slight_smile:

I’ve modelled my iPod to go along with the speaker. When I’m finished all this, I hope to set them up in a nice indoor scene.

For now, I’m playing with yafray, trying to understand the different light types. I’ve got caustics working, though they’re still quite blotchy. Yes, I know the photon light shouldn’t be on that side of the model, I’ve just put it that way so I can see the reflected caustics better while I play with settings :). Here’s a test render of the iPod on it’s own:


I’m using a hemilight+sun and a photon light. Here are the relevant yafray settings, in case anyone can give me some advice on how to sharpen up the caustics…

<light type= "photonlight" name="Lamp" power ="816.578796" photons ="354903" depth ="4" search = "131" angle ="36.000000"
 	mode = "caustic" fixedradius = "0.834332" cluster ="0.005251" >
	<from x="9.014232" y="-8.757750" z="12.705076" />
	<to x="-0.318962" y="-0.603741" z="1.250031" />
	<color r="1.000000" g="1.000000" b="1.000000" />


<shader type = "generic" name = "iPodBase.mat">
		<color r="0.300000" g="0.300000" b="0.300000" />
		<specular r="1.000000" g="1.000000" b="1.000000" />
		<reflected r="0.800000" g="0.800000" b="0.800000" />
		<hard value = "180.000000"/>
		<IOR value = "1.000000"/>
		<min_refle value = "0.134211"/>


<object name = "iPodBase" shader_name = "iPodBase.mat" caus_IOR = "1.500000" recv_rad = "off" emit_rad ="off" 
	shadow = "on">
		<caus_rcolor r = "1.000000" g = "1.000000" b = "1.000000" />
		<include file = "E:\yafray\YFexport\speaker2\Meshes\iPodBase.xml" />

I think I’m starting to figure out yafray now, here’s a nicer render of the iPod:


I might fiddle a bit more trying to get UV textures on the iPod buttons for labels, then I guess I’ll start constructing a scene for them to go in.

huge improvement compared to the first one (im referring to the ipod here). id love to see further progress, keep it coming [!]

recovered from a nasty hard drive crash and figured out UV textures:


amazing improvement in the last iPod pic!

the IPod looks excellent! although I think the buttons should be a bit thicker. If you figured out UV texturing, how about writing a tutorial on texturing for Yable? I can never get it right

Looks really gooood !!!

I also like your taste of music. I think I need to start using YAFRAY.

regards, Shifter.

Great pic!

I don’t use Yafray myself. Tried to download it today, and the site was ofline :x

Just my luck :wink:

You can download it from mirror.yafray.org


Thanks for the comments!

adyus: I don’t know about the buttons - I’ve got my 10Gb iPod here in front of me, and the proportions look pretty correct to me… Now that I think about it though, I might make the button label textures a bit smaller. They’re not quite as big in real life.

About the UV textures, sure I can write up a little guide to how I did it. It’s really not too difficult once you get the hang of it.

I have taken a few looks at yafray and realized that it is far from user friendly. I don’t know wrote the program but as a fellow coder I could never leave anything looking like that unless it was only for my own personal use.

Why no grapical interface?

or does one exist that I dont know about?

one does exist, but it’s just as hard to use. It’s called Yable and you can find a link to it on the Yafray homepage (lower right). Keep in mind that the next Yafray version (with bump mapping!!) will come out and I haven’t heard anything about another Yable update.

Looking forward to that tutorial

Here’s the quick tutorial. Hope it helps!