PDA

View Full Version : Shaders Effects


fabioped
01-09-2014, 09:14 AM
New in this version of Vizard is Sharders being imported from 3D Max with OSG Exporter. I'm trying to archive a soup bubble effect.

This is the effect I did using 3D Max 2014:
https://www.dropbox.com/s/q24jx71nk6gzghy/3dmax.png

Then exported using the documented parameters:
https://www.dropbox.com/s/je8ilt2v2umdtjx/3dmax_export.png

This is what vizard shows me:
https://www.dropbox.com/s/8sm3tkv4nu8c2sg/vizard.png

What am I doing wrong?

Riverol
01-15-2014, 04:41 PM
Hello,

When creating Materials for R5, I tend to prefer using the Standard Mode instead of the Slate Mode.

One issue I notice right away is how you applied the Rim lighting. Here are two images on how you apply it.

Here is the Standard Version
https://www.dropbox.com/s/bohgkro8u657mt3/Rim%20Radial.jpg

Here is the Slate Version
https://www.dropbox.com/s/yhswi3gybdc42xn/Rim%20Radial02.jpg

You need to apply a Composite to the Self Illumination slot, name the layer [Rim Radial] and then apply the bitmap. This and the rest of the details are shown in the images.

I'm not sure about how the diffuse and reflection maps are applied. Could I get a hold of the assets and see how everything's applied?

fabioped
01-23-2014, 06:54 AM
Hi!

thanks for your reply. But I still have trouble with it.
I applied just as you said:

Strandard version - https://www.dropbox.com/s/m1l607tcctgpeof/Imagem1.jpg
Slate Version - https://www.dropbox.com/s/qtjbvcvmtrxq2s0/Imagem2.jpg

But the restult in vizard is: https://www.dropbox.com/s/tfwbhztvp6rpsgs/Imagem3.jpg

disbeat
01-29-2014, 08:28 AM
Can anyone comment on this?

We really need to solve this soon...

Thanks! :)

-- Marco Simões

Riverol
01-29-2014, 11:42 AM
I believe that issue is from the Gamma/LUT Correction. Turn that off and see if it fixes it. Here's an image on how to turn it off:

https://www.dropbox.com/s/i2ciy8jf6tlki2w/Gamma_Off.jpg

If that doesn't help, I'd check the image in photoshop and make sure that it's 8 bit and not 16 bit. Sometimes when the image is 16 bit, it scrambles things. Here's an image on how you can check that:

https://www.dropbox.com/s/u673lf8f3ar1snh/8bitchannel.jpg

If you're still having issues with that, can you send me the max file and whatever textures you're using. I'd like to take a look at them.

jandrade
02-04-2014, 02:48 AM
Hi. thanks for your feedback again.

The image is 8 bit and we did what you said but the result is still the same.

We send the max file and the image we are using to test this. It would be nice if you could check it.

Riverol
02-04-2014, 12:14 PM
I just got the file, I opened it and exported it and it with the material, everything is what it should be and it looked like this:

https://www.dropbox.com/s/zs7rniqmsyx7glg/bubble_test01.jpg

Here are the presets I had:

https://www.dropbox.com/s/c2zg83owf75me79/exporter.jpg

You can also load the preset directly into the menu at the bottom:

https://www.dropbox.com/s/y53396tp7rv4d9p/bubble_preset.osgexp

I'm not exactly sure what may be causing the problem. The object isn't looking like the screenshot I have? It's still looking like this?:

https://www.dropbox.com/s/tfwbhztvp6rpsgs/Imagem3.jpg

masaki
02-04-2014, 07:02 PM
Does it look correct in Inspector with Effects enabled? If it does use vizfx.addChild to load the model and then model.enable(viz.LIGHTING).

Riverol
02-07-2014, 12:14 PM
I've taken the bubble and have made modifications. It should now look like this:

https://www.dropbox.com/s/jrm8gqhntta1nyi/bubbles.jpg

Here is where you can find the max file and image files:

https://www.dropbox.com/s/4t1h44mvlufxdez/Bubble.zip

If you look in the material, you can see the adjustments I've done. Here's the an image of how I adjusted the material:

https://www.dropbox.com/s/vou5tz7oaxessuk/bubble_mat.jpg

I hope that helps out and let me know if you have any questions.