[Req] Fix and Improve the Indigo Material Preview Scene

Feature requests, bug reports and related discussion
User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

[Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Sat Nov 07, 2009 5:11 am

Some of these requests have been made already (even by me) but I thought it would be a good idea to collect all the requests for the material preview scene in one thread. The current scene is quite good but lacks the polish required for commercial software. Here are my requests. Please add yours.

1) Make the scene usable for displaced materials
2) Make the scene usable for emitting materials
3) Use MLT for the preview scene or automatically switch to MLT if the material contains a medium.
4) Remove or fix the bubbles (only mildly useful for about 5% of all materials, plus, they can ruin a displaced material preview). The SSS bar should fulfill the purpose of the bubbles. It could be that the bubbles are just modelled wrong. IMO, they should be modelled using an 'air' material with precedence of 2. I think they are actually modelled as part of the preview sphere mesh (and material) which is wrong.
5) Fix the preview model scale issues! I finally figured out (I know I'm a bit slow... :wink: ) why the base of the preview model never showed proper bump mapping or displacement. The whole mesh is scaled very low! This results in scaling of all the displacement and bump values. You can see the scaling in the rotation matrix.

Code: Select all

<model>
		<pos>-0.007315 -0.024274 0.152628</pos>
		<scale>1.0</scale>
		<rotation>
			<matrix>
				0.010986 0.000000 0.000000 0.000000 0.010986 0.000000 0.000000 0.000000 0.010986 
			</matrix>		</rotation>
		<mesh_name>preview_base</mesh_name>
	</model>
The scale of the preview sphere mesh is also wrong. The problem is apparent when you choose a displacement value of 5cm (for example). If you compare the actual displacement to the 10cm grid, you can see what I mean.
6 )Improve the preview base mesh if possible or create a entirely new base. The UV mapping is kind of wavy and the mesh seems to be quite messy (does not subdivide well. Render a material with random triangle colors and you'll see what I mean by messy).
7) The whole scene just lacks something. Maybe it's the lighting or the environment. If you look at Maxwell's scene, it just looks better somehow, and I don't think it's due to the rendering engine.

I would do these changes myself but the preview scene is only in Blender and IGS format and I don't know Blender. Ono and Ben are quite busy at the moment. Is there anyone in the community who wants to take on these tasks? :)
Attachments
grating.jpg
No displacement in the base. I hand-edited the scene to improve the displacement
grating.jpg (72.76 KiB) Viewed 6580 times

User avatar
Godzilla
Indigo 100
Posts: 985
Joined: Sat Jun 06, 2009 11:33 am

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Godzilla » Sat Nov 07, 2009 7:31 am

All very good points, +1 to all.

I'll try my hand at improving the scene, (Though I doubt it will do any good :wink:)... where exactly is the download for the .blend? I recall viewing it a few months back but I forget the name of the thread..

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Zom-B » Sat Nov 07, 2009 7:39 am

Another improvement would be the use of Exit Portals around the studio setup. This would enhance the speed a little because of the EnvMap used. But Since it is a preview scene its all about speed, isn't it?!
polygonmanufaktur.de

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Sat Nov 07, 2009 9:09 am

Godzilla wrote:(Though I doubt it will do any good :wink)
Nice try...we all know you got the skillz to do this. :)

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by PureSpider » Sat Nov 07, 2009 9:13 am

This is the scene I'm using for internal material testing, let me know what you think 8)
Attachments
im1225374291.png
UV mapping
im1225374291.png (545.64 KiB) Viewed 6538 times
im1225906802.png
Cola
im1225906802.png (347.34 KiB) Viewed 6537 times
im1225822153.png
My red candy glass material (can be found in the matdb)
im1225822153.png (333.44 KiB) Viewed 6539 times
im1225627931.png
This shot shows total internal reflection
im1225627931.png (387.62 KiB) Viewed 6540 times

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Sat Nov 07, 2009 9:25 am

@purespider:

:shock: How can you keep this beautiful scene from the Indigo community for so long! Simply great! I wonder how it would manage highly displaced materials...

Render times must be pretty long, though...no?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by CTZn » Sat Nov 07, 2009 9:28 am

I adviced him to make the top arch of a square section but he refused :roll: ;)
obsolete asset

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by PureSpider » Sat Nov 07, 2009 9:38 am

Whaat wrote:Render times must be pretty long, though...no?
At the moment the scene is not optimized at all, I never was in the mood to do it :lol:

I can share the pigs so you can try it out for yourself... if you want me to?

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by neo0. » Sun Nov 08, 2009 8:45 am

ZomB wrote:Another improvement would be the use of Exit Portals around the studio setup. This would enhance the speed a little because of the EnvMap used. But Since it is a preview scene its all about speed, isn't it?!
Definitely agree.

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Wed Nov 25, 2009 8:09 am

Well, I guess no one has the time to fix this scene so I'll take a crack at it. It gives me a chance to improve my Blender skills at least. 8)

These are two renders of the exact same material. Here's what I've changed so far:

- removed bubbles
- reset the transformations of the meshes so the displacement and bump is the correct scale
- lowered the 'b' value of the ground texture so it's not so white and washed out
- changed the subdivisions settings so it is actually useful for displaced materials

I really want to change the base of the preview scene. The mesh is really bad for displacement and the UV mapping is bad (mainly due to the bad mesh)

I thought it would be cool to use the Indigo logo shape and revolve it around the up axis of the scene (kind of like the 'L' shape in the Maxwell preview. I'll post it later if I can pull it off.
Attachments
after.jpg
using modified preview scene.
after.jpg (76.12 KiB) Viewed 6380 times
before.jpg
using Indigo Material Editor preview scene
before.jpg (26.76 KiB) Viewed 6377 times

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by OnoSendai » Wed Nov 25, 2009 9:52 am

Thanks Whaat,
I'll be following your progress, let me know when it's done and we can think about re-rendering all the materials.

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Thu Nov 26, 2009 6:43 am

Some tests with the new base. I beat my head against the wall trying to UV map the base in Blender. But in the end, it came out ok. Comments?
Attachments
red plastic.jpg
red plastic.jpg (109.71 KiB) Viewed 6271 times
bark.jpg
bark.jpg (148.97 KiB) Viewed 6267 times
alum.jpg
alum.jpg (138.08 KiB) Viewed 6269 times

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Thu Nov 26, 2009 6:46 am

One thing that always bothered me about the Indigo preview scene was that the preview object seemed a bit too 'distant'. In the Maxwell scene, I always felt like I could reach out and touch the material.

When I examined the Indigo scene, I noted that the focal length of the lens was set to 50mm so I made it a wider angle and moved the camera closer.

Comments?
Attachments
bark_new_cam.jpg
bark_new_cam.jpg (147.44 KiB) Viewed 6262 times
red_plastic_new_cam.jpg
red_plastic_new_cam.jpg (97.03 KiB) Viewed 6263 times

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by Whaat » Thu Nov 26, 2009 8:28 am

More tests: :)
Attachments
coke_new_cam.jpg
coke_new_cam.jpg (94.89 KiB) Viewed 6234 times
asphalt_new_cam.jpg
asphalt_new_cam.jpg (147.19 KiB) Viewed 6232 times
rubber_new_cam.jpg
rubber_new_cam.jpg (102.09 KiB) Viewed 6232 times
stone_new_cam.jpg
stone_new_cam.jpg (154.63 KiB) Viewed 6233 times
wax_new_cam.jpg
wax_new_cam.jpg (151 KiB) Viewed 6232 times
stone_ground_new_cam.jpg
stone_ground_new_cam.jpg (147.5 KiB) Viewed 6232 times
stacked_stone_new_cam.jpg
stacked_stone_new_cam.jpg (157.35 KiB) Viewed 6231 times

User avatar
pixie
Indigo 100
Posts: 2346
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: [Req] Fix and Improve the Indigo Material Preview Scene

Post by pixie » Thu Nov 26, 2009 8:37 am

Whaat wrote:One thing that always bothered me about the Indigo preview scene was that the preview object seemed a bit too 'distant'. In the Maxwell scene, I always felt like I could reach out and touch the material.

When I examined the Indigo scene, I noted that the focal length of the lens was set to 50mm so I made it a wider angle and moved the camera closer.

Comments?
You've bump onto something here, they become much more vivid! Me like those much more!

Post Reply
46 posts