Page 1 of 1

Shader view vs rendered image

Posted: Tue Mar 12, 2019 6:58 am
by tayo6
I was trying to make procedural planets with luxcore, issue was, i could see the effect come to live in the shader box, but
New_Capture.PNG
i don't see the effect in both preview port and rendered image.

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 7:43 am
by B.Y.O.B.
Can you upload the scene?

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 9:29 am
by tayo6
B.Y.O.B. wrote: Tue Mar 12, 2019 7:43 am Can you upload the scene?
Sample.blend
(502.98 KiB) Downloaded 179 times

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 9:31 am
by tayo6
When I increased the noise size and distortion in the noise node, the effect became visible, but noise textures were stretched

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 9:49 am
by Dade
tayo6 wrote: Tue Mar 12, 2019 9:31 am When I increased the noise size and distortion in the noise node, the effect became visible, but noise textures were stretched
It sounds like a scale problem, the size of the sphere is 0.1m, what is the scale of the cube ? You can adjust the 3D mapping (first node at left) scale and the preview sphere size (below the sphere input box) to match your cube.

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 11:21 am
by tayo6
Dade wrote: Tue Mar 12, 2019 9:49 am
tayo6 wrote: Tue Mar 12, 2019 9:31 am When I increased the noise size and distortion in the noise node, the effect became visible, but noise textures were stretched
It sounds like a scale problem, the size of the sphere is 0.1m, what is the scale of the cube ? You can adjust the 3D mapping (first node at left) scale and the preview sphere size (below the sphere input box) to match your cube.
S_Capture.PNG
I adjusted the sphere size to the same size as the cube, both were 1.00 . Then I moved to the 3d mapping node, changed the size to both 1.00 and 0.01, yet I did get the desired result. I still didn't get it.

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 12:15 pm
by B.Y.O.B.
The "sphere size" is the diameter of the preview sphere, not the radius.
The default cube is 2m in diameter, not 1m.
So set the sphere size to 2 and it should work.

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 12:34 pm
by tayo6
B.Y.O.B. wrote: Tue Mar 12, 2019 12:15 pm The "sphere size" is the diameter of the preview sphere, not the radius.
The default cube is 2m in diameter, not 1m.
So set the sphere size to 2 and it should work.
Thank you, someone already helped me out. I used sphere 5.00 on the preview, which matched with the size of the rendered image. I learnt something new today. And I have to admit just like u told me last month, luxrender is easy to use

Re: Shader view vs rendered image

Posted: Tue Mar 12, 2019 8:11 pm
by tayo6
Dade wrote: Tue Mar 12, 2019 9:49 am
tayo6 wrote: Tue Mar 12, 2019 9:31 am When I increased the noise size and distortion in the noise node, the effect became visible, but noise textures were stretched
It sounds like a scale problem, the size of the sphere is 0.1m, what is the scale of the cube ? You can adjust the 3D mapping (first node at left) scale and the preview sphere size (below the sphere input box) to match your cube.
Thanks, the issue was the sphere size.